MainWindow.g.i.cs
10.2 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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9EB4595C59F6371CD9C47327E41686C4"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using RoboforkApp;
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 RoboforkApp {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 58 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetupRestriction;
#line default
#line hidden
#line 61 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetupRoute;
#line default
#line hidden
#line 64 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnMakeRoot;
#line default
#line hidden
#line 73 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnDeleteRoute;
#line default
#line hidden
#line 121 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetStart;
#line default
#line hidden
#line 122 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetGoal;
#line default
#line hidden
#line 123 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetAutoNodes;
#line default
#line hidden
#line 124 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSetFreeNodes;
#line default
#line hidden
#line 125 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnEditNode;
#line default
#line hidden
#line 143 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal RoboforkApp.DesignerCanvas MyDesignerCanvas;
#line default
#line hidden
#line 159 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid MCGrid;
#line default
#line hidden
#line 264 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid grdRouteInfo;
#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("/RboforkApp;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[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.btnSetupRestriction = ((System.Windows.Controls.Button)(target));
#line 58 "..\..\MainWindow.xaml"
this.btnSetupRestriction.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 2:
this.btnSetupRoute = ((System.Windows.Controls.Button)(target));
#line 61 "..\..\MainWindow.xaml"
this.btnSetupRoute.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 3:
this.btnMakeRoot = ((System.Windows.Controls.Button)(target));
#line 64 "..\..\MainWindow.xaml"
this.btnMakeRoot.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 4:
this.btnDeleteRoute = ((System.Windows.Controls.Button)(target));
#line 73 "..\..\MainWindow.xaml"
this.btnDeleteRoute.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 5:
this.btnSetStart = ((System.Windows.Controls.Button)(target));
#line 121 "..\..\MainWindow.xaml"
this.btnSetStart.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 6:
this.btnSetGoal = ((System.Windows.Controls.Button)(target));
#line 122 "..\..\MainWindow.xaml"
this.btnSetGoal.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 7:
this.btnSetAutoNodes = ((System.Windows.Controls.Button)(target));
#line 123 "..\..\MainWindow.xaml"
this.btnSetAutoNodes.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 8:
this.btnSetFreeNodes = ((System.Windows.Controls.Button)(target));
#line 124 "..\..\MainWindow.xaml"
this.btnSetFreeNodes.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 9:
this.btnEditNode = ((System.Windows.Controls.Button)(target));
#line 125 "..\..\MainWindow.xaml"
this.btnEditNode.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
#line default
#line hidden
return;
case 10:
this.MyDesignerCanvas = ((RoboforkApp.DesignerCanvas)(target));
return;
case 11:
this.MCGrid = ((System.Windows.Controls.Grid)(target));
return;
case 12:
this.grdRouteInfo = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}