UserControlFather.g.i.cs
8.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
#pragma checksum "..\..\..\MainWindowControls\UserControlFather.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "50620FF0239F4FDDC4E0F905F19BF75EE01DC85F"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 OS.Spin.View.MainWindowControls {
/// <summary>
/// UserControlFather
/// </summary>
public partial class UserControlFather : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 18 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock CValue;
#line default
#line hidden
#line 26 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnKind;
#line default
#line hidden
#line 27 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button AutoName;
#line default
#line hidden
#line 28 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnZero;
#line default
#line hidden
#line 29 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSave;
#line default
#line hidden
#line 30 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnMin;
#line default
#line hidden
#line 31 "..\..\..\MainWindowControls\UserControlFather.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnExit;
#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("/OS.Spin.View;component/mainwindowcontrols/usercontrolfather.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindowControls\UserControlFather.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 6 "..\..\..\MainWindowControls\UserControlFather.xaml"
((OS.Spin.View.MainWindowControls.UserControlFather)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
#line default
#line hidden
return;
case 2:
#line 15 "..\..\..\MainWindowControls\UserControlFather.xaml"
((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);
#line default
#line hidden
return;
case 3:
this.CValue = ((System.Windows.Controls.TextBlock)(target));
return;
case 4:
#line 22 "..\..\..\MainWindowControls\UserControlFather.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
return;
case 5:
this.btnKind = ((System.Windows.Controls.Button)(target));
#line 26 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.btnKind.Click += new System.Windows.RoutedEventHandler(this.btnKind_Click);
#line default
#line hidden
return;
case 6:
this.AutoName = ((System.Windows.Controls.Button)(target));
#line 27 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.AutoName.Click += new System.Windows.RoutedEventHandler(this.AutoName_Click);
#line default
#line hidden
return;
case 7:
this.btnZero = ((System.Windows.Controls.Button)(target));
#line 28 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.btnZero.Click += new System.Windows.RoutedEventHandler(this.Zero_Click);
#line default
#line hidden
return;
case 8:
this.btnSave = ((System.Windows.Controls.Button)(target));
#line 29 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
#line default
#line hidden
return;
case 9:
this.btnMin = ((System.Windows.Controls.Button)(target));
#line 30 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click);
#line default
#line hidden
return;
case 10:
this.btnExit = ((System.Windows.Controls.Button)(target));
#line 31 "..\..\..\MainWindowControls\UserControlFather.xaml"
this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}