2024-03-14 09:27:41 +00:00
|
|
|
|
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7A0230CA9552683E5026B4739B10858D9AD83EA4"
|
2023-10-24 02:41:55 +00:00
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
|
// 此代码由工具生成。
|
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
|
|
|
|
|
//
|
|
|
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
2024-01-17 01:24:32 +00:00
|
|
|
|
using MaterialDesignThemes.Wpf;
|
|
|
|
|
|
using MaterialDesignThemes.Wpf.Converters;
|
|
|
|
|
|
using MaterialDesignThemes.Wpf.Transitions;
|
2023-10-24 02:41:55 +00:00
|
|
|
|
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.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 _20230724_MBJC_upperpc;
|
2023-12-16 03:58:14 +00:00
|
|
|
|
using _20230724_MBJC_upperpc.Common;
|
2023-12-23 03:35:57 +00:00
|
|
|
|
using _20230724_MBJC_upperpc.Views;
|
2023-10-24 02:41:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace _20230724_MBJC_upperpc {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// MainWindow
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
2023-11-13 07:46:12 +00:00
|
|
|
|
|
2024-01-17 01:24:32 +00:00
|
|
|
|
#line 11 "..\..\..\MainWindow.xaml"
|
2023-11-13 07:46:12 +00:00
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
2023-12-16 03:58:14 +00:00
|
|
|
|
internal _20230724_MBJC_upperpc.MainWindow Window;
|
2023-11-13 07:46:12 +00:00
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 241 "..\..\..\MainWindow.xaml"
|
2023-11-13 07:46:12 +00:00
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
2023-12-16 03:58:14 +00:00
|
|
|
|
internal System.Windows.Controls.ToolTip BeidouCommunication;
|
2023-11-13 07:46:12 +00:00
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 277 "..\..\..\MainWindow.xaml"
|
2023-11-13 07:46:12 +00:00
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
2023-12-16 03:58:14 +00:00
|
|
|
|
internal System.Windows.Controls.TextBlock Datatime;
|
2023-11-13 07:46:12 +00:00
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 286 "..\..\..\MainWindow.xaml"
|
2023-11-13 07:46:12 +00:00
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
2023-12-16 03:58:14 +00:00
|
|
|
|
internal System.Windows.Controls.TextBlock Date;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 287 "..\..\..\MainWindow.xaml"
|
2023-12-16 03:58:14 +00:00
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.TextBlock week;
|
2023-11-13 07:46:12 +00:00
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
2023-10-24 02:41:55 +00:00
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
2024-03-13 09:53:50 +00:00
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.5.0")]
|
2023-10-24 02:41:55 +00:00
|
|
|
|
public void InitializeComponent() {
|
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
_contentLoaded = true;
|
2024-02-26 15:49:04 +00:00
|
|
|
|
System.Uri resourceLocater = new System.Uri("/20230724_MBJC_upperpc;component/mainwindow.xaml", System.UriKind.Relative);
|
2023-10-24 02:41:55 +00:00
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\..\MainWindow.xaml"
|
|
|
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
2024-03-13 09:53:50 +00:00
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.5.0")]
|
2023-10-24 02:41:55 +00: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) {
|
2023-11-13 07:46:12 +00:00
|
|
|
|
switch (connectionId)
|
|
|
|
|
|
{
|
|
|
|
|
|
case 1:
|
2023-12-16 03:58:14 +00:00
|
|
|
|
this.Window = ((_20230724_MBJC_upperpc.MainWindow)(target));
|
2023-11-13 07:46:12 +00:00
|
|
|
|
return;
|
|
|
|
|
|
case 2:
|
2023-12-16 03:58:14 +00:00
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 155 "..\..\..\MainWindow.xaml"
|
2023-12-16 03:58:14 +00:00
|
|
|
|
((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
2023-11-13 07:46:12 +00:00
|
|
|
|
return;
|
|
|
|
|
|
case 3:
|
2023-12-16 03:58:14 +00:00
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 164 "..\..\..\MainWindow.xaml"
|
2023-12-16 03:58:14 +00:00
|
|
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MinButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
2023-11-13 07:46:12 +00:00
|
|
|
|
return;
|
|
|
|
|
|
case 4:
|
2023-12-16 03:58:14 +00:00
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 168 "..\..\..\MainWindow.xaml"
|
2023-12-16 03:58:14 +00:00
|
|
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MaxButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
2023-11-13 07:46:12 +00:00
|
|
|
|
return;
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
|
2024-02-21 02:24:56 +00:00
|
|
|
|
#line 173 "..\..\..\MainWindow.xaml"
|
2023-11-13 07:46:12 +00:00
|
|
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
2023-12-16 03:58:14 +00:00
|
|
|
|
case 6:
|
|
|
|
|
|
this.BeidouCommunication = ((System.Windows.Controls.ToolTip)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 7:
|
|
|
|
|
|
this.Datatime = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 8:
|
|
|
|
|
|
this.Date = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 9:
|
|
|
|
|
|
this.week = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
2023-11-13 07:46:12 +00:00
|
|
|
|
}
|
2023-10-24 02:41:55 +00:00
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|