2025-06-18 18:16:48 +08:00
|
|
|
#pragma checksum "..\..\..\..\Windows\HasNewUpdateWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "53772E3067D35407A4B75166FFCE460ECF45D1E7"
|
2025-05-25 09:29:48 +08:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <auto-generated>
|
2025-06-08 23:13:30 +08:00
|
|
|
// 此代码由工具生成。
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
2025-05-25 09:29:48 +08:00
|
|
|
//
|
2025-06-08 23:13:30 +08:00
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
2025-05-25 09:29:48 +08:00
|
|
|
// </auto-generated>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
using Ink_Canvas;
|
|
|
|
|
using MdXaml;
|
|
|
|
|
using NHotkey.Wpf;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Automation;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
|
|
using System.Windows.Controls.Ribbon;
|
|
|
|
|
using System.Windows.Data;
|
|
|
|
|
using System.Windows.Documents;
|
|
|
|
|
using System.Windows.Forms.Integration;
|
|
|
|
|
using System.Windows.Ink;
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
using System.Windows.Markup;
|
|
|
|
|
using System.Windows.Media;
|
|
|
|
|
using System.Windows.Media.Animation;
|
|
|
|
|
using System.Windows.Media.Effects;
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
using System.Windows.Media.Media3D;
|
|
|
|
|
using System.Windows.Media.TextFormatting;
|
|
|
|
|
using System.Windows.Navigation;
|
|
|
|
|
using System.Windows.Shapes;
|
|
|
|
|
using System.Windows.Shell;
|
|
|
|
|
using iNKORE.UI.WPF.Modern;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Common;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Common.Converters;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Controls;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Controls.Helpers;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Controls.Primitives;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Helpers;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Helpers.Styles;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Input;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Markup;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Media;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Media.Animation;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Native;
|
|
|
|
|
using iNKORE.UI.WPF.Modern.Themes.DesignTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ink_Canvas {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// HasNewUpdateWindow
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class HasNewUpdateWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
2025-06-18 18:16:48 +08:00
|
|
|
|
|
|
|
|
#line 30 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal MdXaml.MarkdownScrollViewer markdownContent;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 49 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock updateVersionInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 50 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock updateDateInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 61 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal iNKORE.UI.WPF.Modern.Controls.ToggleSwitch EnableAutoUpdateToggle;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 65 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal iNKORE.UI.WPF.Modern.Controls.ToggleSwitch EnableSilentUpdateToggle;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 80 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button UpdateNowButton;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 91 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button UpdateLaterButton;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 97 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button SkipVersionButton;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
2025-06-12 18:55:50 +08:00
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.6.0")]
|
2025-05-25 09:29:48 +08:00
|
|
|
public void InitializeComponent() {
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_contentLoaded = true;
|
|
|
|
|
System.Uri resourceLocater = new System.Uri("/InkCanvasForClass;component/windows/hasnewupdatewindow.xaml", System.UriKind.Relative);
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
2025-06-12 18:55:50 +08:00
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.6.0")]
|
2025-05-25 09:29:48 +08:00
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
|
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
2025-06-18 18:16:48 +08:00
|
|
|
switch (connectionId)
|
|
|
|
|
{
|
|
|
|
|
case 1:
|
|
|
|
|
this.markdownContent = ((MdXaml.MarkdownScrollViewer)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 2:
|
|
|
|
|
this.updateVersionInfo = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 3:
|
|
|
|
|
this.updateDateInfo = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 4:
|
|
|
|
|
this.EnableAutoUpdateToggle = ((iNKORE.UI.WPF.Modern.Controls.ToggleSwitch)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 5:
|
|
|
|
|
this.EnableSilentUpdateToggle = ((iNKORE.UI.WPF.Modern.Controls.ToggleSwitch)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 6:
|
|
|
|
|
this.UpdateNowButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
#line 82 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
this.UpdateNowButton.Click += new System.Windows.RoutedEventHandler(this.UpdateNowButton_Click);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
return;
|
|
|
|
|
case 7:
|
|
|
|
|
this.UpdateLaterButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
#line 93 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
this.UpdateLaterButton.Click += new System.Windows.RoutedEventHandler(this.UpdateLaterButton_Click);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
return;
|
|
|
|
|
case 8:
|
|
|
|
|
this.SkipVersionButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
#line 98 "..\..\..\..\Windows\HasNewUpdateWindow.xaml"
|
|
|
|
|
this.SkipVersionButton.Click += new System.Windows.RoutedEventHandler(this.SkipVersionButton_Click);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-05-25 09:29:48 +08:00
|
|
|
this._contentLoaded = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|