|
|
|
|
|
#pragma checksum "..\..\..\HMessageBox.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "249D6DC52E87AB6F146D09ECCBBF38A48881D5C3B90A64E0B49F7B7181113186"
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
|
// 此代码由工具生成。
|
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
|
|
|
|
|
//
|
|
|
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
using CommonFunc;
|
|
|
|
|
|
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 CommonFunc {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// HMessageBox
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class HMessageBox : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 16 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Image MsgImg;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 34 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.TextBlock TxtMsg;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 41 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Button OkButton;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 43 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Button YesButton;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 45 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Button NoButton;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 47 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Button CancelButton;
|
|
|
|
|
|
|
|
|
|
|
|
#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("/CommonFunc;component/hmessagebox.xaml", System.UriKind.Relative);
|
|
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\..\HMessageBox.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:
|
|
|
|
|
|
|
|
|
|
|
|
#line 8 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
((CommonFunc.HMessageBox)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
#line 8 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
((CommonFunc.HMessageBox)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
this.MsgImg = ((System.Windows.Controls.Image)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
this.TxtMsg = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 4:
|
|
|
|
|
|
this.OkButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
|
|
#line 41 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
this.OkButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
this.YesButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
|
|
#line 43 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 6:
|
|
|
|
|
|
this.NoButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
|
|
#line 45 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 7:
|
|
|
|
|
|
this.CancelButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
|
|
#line 47 "..\..\..\HMessageBox.xaml"
|
|
|
|
|
|
this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|