|
|
|
|
#pragma checksum "..\..\LoginPageView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A3A3480F734E3C0A5F6B455EA655D3A94F4F8C43A44BF4E476CFB07E5FCE2546"
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
// 此代码由工具生成。
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
|
|
|
|
//
|
|
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
using Aucma.Scada.UI;
|
|
|
|
|
using MaterialDesignThemes.Wpf;
|
|
|
|
|
using MaterialDesignThemes.Wpf.Converters;
|
|
|
|
|
using MaterialDesignThemes.Wpf.Transitions;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Automation;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.UI {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// LoginPageView
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class LoginPageView : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 10 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal Aucma.Scada.UI.LoginPageView MainWindow;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 31 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Border DialogHost;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 34 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.ComboBox selectTeamComboBox;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 45 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBox txtUserName;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 53 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.PasswordBox txtPassword;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 57 "..\..\LoginPageView.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button loginBtn;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
|
|
public void InitializeComponent() {
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_contentLoaded = true;
|
|
|
|
|
System.Uri resourceLocater = new System.Uri("/Aucma.Scada.UI;component/loginpageview.xaml", System.UriKind.Relative);
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\LoginPageView.xaml"
|
|
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
|
|
[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) {
|
|
|
|
|
switch (connectionId)
|
|
|
|
|
{
|
|
|
|
|
case 1:
|
|
|
|
|
this.MainWindow = ((Aucma.Scada.UI.LoginPageView)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 2:
|
|
|
|
|
this.DialogHost = ((System.Windows.Controls.Border)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 3:
|
|
|
|
|
this.selectTeamComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 4:
|
|
|
|
|
this.txtUserName = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 5:
|
|
|
|
|
this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 6:
|
|
|
|
|
this.loginBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
#line 61 "..\..\LoginPageView.xaml"
|
|
|
|
|
this.loginBtn.Click += new System.Windows.RoutedEventHandler(this.loginBtn_Click);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|