Parent Directory
|
Revision Log
revert atsDataSet.Designer.cs to version in r154
1 | //------------------------------------------------------------------------------ |
2 | // <auto-generated> |
3 | // This code was generated by a tool. |
4 | // Runtime Version:4.0.30319.269 |
5 | // |
6 | // Changes to this file may cause incorrect behavior and will be lost if |
7 | // the code is regenerated. |
8 | // </auto-generated> |
9 | //------------------------------------------------------------------------------ |
10 | |
11 | #pragma warning disable 1591 |
12 | |
13 | namespace AnywhereTS |
14 | { |
15 | |
16 | |
17 | /// <summary> |
18 | ///Represents a strongly typed in-memory cache of data. |
19 | ///</summary> |
20 | [global::System.Serializable()] |
21 | [global::System.ComponentModel.DesignerCategoryAttribute("code")] |
22 | [global::System.ComponentModel.ToolboxItem(true)] |
23 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] |
24 | [global::System.Xml.Serialization.XmlRootAttribute("atsDataSet")] |
25 | [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] |
26 | public partial class atsDataSet : global::System.Data.DataSet |
27 | { |
28 | |
29 | private ClientDataTable tableClient; |
30 | |
31 | private GroupDataTable tableGroup; |
32 | |
33 | private ImageDataTable tableImage; |
34 | |
35 | private TerminalServerDataTable tableTerminalServer; |
36 | |
37 | private TftpServerDataTable tableTftpServer; |
38 | |
39 | private AppInfoDataTable tableAppInfo; |
40 | |
41 | private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; |
42 | |
43 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
44 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
45 | public atsDataSet() |
46 | { |
47 | this.BeginInit(); |
48 | this.InitClass(); |
49 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); |
50 | base.Tables.CollectionChanged += schemaChangedHandler; |
51 | base.Relations.CollectionChanged += schemaChangedHandler; |
52 | this.EndInit(); |
53 | } |
54 | |
55 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
56 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
57 | protected atsDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
58 | base(info, context, false) |
59 | { |
60 | if ((this.IsBinarySerialized(info, context) == true)) |
61 | { |
62 | this.InitVars(false); |
63 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); |
64 | this.Tables.CollectionChanged += schemaChangedHandler1; |
65 | this.Relations.CollectionChanged += schemaChangedHandler1; |
66 | return; |
67 | } |
68 | string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); |
69 | if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) |
70 | { |
71 | global::System.Data.DataSet ds = new global::System.Data.DataSet(); |
72 | ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); |
73 | if ((ds.Tables["Client"] != null)) |
74 | { |
75 | base.Tables.Add(new ClientDataTable(ds.Tables["Client"])); |
76 | } |
77 | if ((ds.Tables["Group"] != null)) |
78 | { |
79 | base.Tables.Add(new GroupDataTable(ds.Tables["Group"])); |
80 | } |
81 | if ((ds.Tables["Image"] != null)) |
82 | { |
83 | base.Tables.Add(new ImageDataTable(ds.Tables["Image"])); |
84 | } |
85 | if ((ds.Tables["TerminalServer"] != null)) |
86 | { |
87 | base.Tables.Add(new TerminalServerDataTable(ds.Tables["TerminalServer"])); |
88 | } |
89 | if ((ds.Tables["TftpServer"] != null)) |
90 | { |
91 | base.Tables.Add(new TftpServerDataTable(ds.Tables["TftpServer"])); |
92 | } |
93 | if ((ds.Tables["AppInfo"] != null)) |
94 | { |
95 | base.Tables.Add(new AppInfoDataTable(ds.Tables["AppInfo"])); |
96 | } |
97 | this.DataSetName = ds.DataSetName; |
98 | this.Prefix = ds.Prefix; |
99 | this.Namespace = ds.Namespace; |
100 | this.Locale = ds.Locale; |
101 | this.CaseSensitive = ds.CaseSensitive; |
102 | this.EnforceConstraints = ds.EnforceConstraints; |
103 | this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); |
104 | this.InitVars(); |
105 | } |
106 | else |
107 | { |
108 | this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); |
109 | } |
110 | this.GetSerializationData(info, context); |
111 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); |
112 | base.Tables.CollectionChanged += schemaChangedHandler; |
113 | this.Relations.CollectionChanged += schemaChangedHandler; |
114 | } |
115 | |
116 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
117 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
118 | [global::System.ComponentModel.Browsable(false)] |
119 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
120 | public ClientDataTable Client |
121 | { |
122 | get |
123 | { |
124 | return this.tableClient; |
125 | } |
126 | } |
127 | |
128 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
129 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
130 | [global::System.ComponentModel.Browsable(false)] |
131 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
132 | public GroupDataTable Group |
133 | { |
134 | get |
135 | { |
136 | return this.tableGroup; |
137 | } |
138 | } |
139 | |
140 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
141 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
142 | [global::System.ComponentModel.Browsable(false)] |
143 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
144 | public ImageDataTable Image |
145 | { |
146 | get |
147 | { |
148 | return this.tableImage; |
149 | } |
150 | } |
151 | |
152 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
153 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
154 | [global::System.ComponentModel.Browsable(false)] |
155 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
156 | public TerminalServerDataTable TerminalServer |
157 | { |
158 | get |
159 | { |
160 | return this.tableTerminalServer; |
161 | } |
162 | } |
163 | |
164 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
165 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
166 | [global::System.ComponentModel.Browsable(false)] |
167 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
168 | public TftpServerDataTable TftpServer |
169 | { |
170 | get |
171 | { |
172 | return this.tableTftpServer; |
173 | } |
174 | } |
175 | |
176 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
177 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
178 | [global::System.ComponentModel.Browsable(false)] |
179 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] |
180 | public AppInfoDataTable AppInfo |
181 | { |
182 | get |
183 | { |
184 | return this.tableAppInfo; |
185 | } |
186 | } |
187 | |
188 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
189 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
190 | [global::System.ComponentModel.BrowsableAttribute(true)] |
191 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] |
192 | public override global::System.Data.SchemaSerializationMode SchemaSerializationMode |
193 | { |
194 | get |
195 | { |
196 | return this._schemaSerializationMode; |
197 | } |
198 | set |
199 | { |
200 | this._schemaSerializationMode = value; |
201 | } |
202 | } |
203 | |
204 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
205 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
206 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] |
207 | public new global::System.Data.DataTableCollection Tables |
208 | { |
209 | get |
210 | { |
211 | return base.Tables; |
212 | } |
213 | } |
214 | |
215 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
216 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
217 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] |
218 | public new global::System.Data.DataRelationCollection Relations |
219 | { |
220 | get |
221 | { |
222 | return base.Relations; |
223 | } |
224 | } |
225 | |
226 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
227 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
228 | protected override void InitializeDerivedDataSet() |
229 | { |
230 | this.BeginInit(); |
231 | this.InitClass(); |
232 | this.EndInit(); |
233 | } |
234 | |
235 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
236 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
237 | public override global::System.Data.DataSet Clone() |
238 | { |
239 | atsDataSet cln = ((atsDataSet)(base.Clone())); |
240 | cln.InitVars(); |
241 | cln.SchemaSerializationMode = this.SchemaSerializationMode; |
242 | return cln; |
243 | } |
244 | |
245 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
246 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
247 | protected override bool ShouldSerializeTables() |
248 | { |
249 | return false; |
250 | } |
251 | |
252 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
253 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
254 | protected override bool ShouldSerializeRelations() |
255 | { |
256 | return false; |
257 | } |
258 | |
259 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
260 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
261 | protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) |
262 | { |
263 | if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) |
264 | { |
265 | this.Reset(); |
266 | global::System.Data.DataSet ds = new global::System.Data.DataSet(); |
267 | ds.ReadXml(reader); |
268 | if ((ds.Tables["Client"] != null)) |
269 | { |
270 | base.Tables.Add(new ClientDataTable(ds.Tables["Client"])); |
271 | } |
272 | if ((ds.Tables["Group"] != null)) |
273 | { |
274 | base.Tables.Add(new GroupDataTable(ds.Tables["Group"])); |
275 | } |
276 | if ((ds.Tables["Image"] != null)) |
277 | { |
278 | base.Tables.Add(new ImageDataTable(ds.Tables["Image"])); |
279 | } |
280 | if ((ds.Tables["TerminalServer"] != null)) |
281 | { |
282 | base.Tables.Add(new TerminalServerDataTable(ds.Tables["TerminalServer"])); |
283 | } |
284 | if ((ds.Tables["TftpServer"] != null)) |
285 | { |
286 | base.Tables.Add(new TftpServerDataTable(ds.Tables["TftpServer"])); |
287 | } |
288 | if ((ds.Tables["AppInfo"] != null)) |
289 | { |
290 | base.Tables.Add(new AppInfoDataTable(ds.Tables["AppInfo"])); |
291 | } |
292 | this.DataSetName = ds.DataSetName; |
293 | this.Prefix = ds.Prefix; |
294 | this.Namespace = ds.Namespace; |
295 | this.Locale = ds.Locale; |
296 | this.CaseSensitive = ds.CaseSensitive; |
297 | this.EnforceConstraints = ds.EnforceConstraints; |
298 | this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); |
299 | this.InitVars(); |
300 | } |
301 | else |
302 | { |
303 | this.ReadXml(reader); |
304 | this.InitVars(); |
305 | } |
306 | } |
307 | |
308 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
309 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
310 | protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() |
311 | { |
312 | global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); |
313 | this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); |
314 | stream.Position = 0; |
315 | return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); |
316 | } |
317 | |
318 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
319 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
320 | internal void InitVars() |
321 | { |
322 | this.InitVars(true); |
323 | } |
324 | |
325 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
326 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
327 | internal void InitVars(bool initTable) |
328 | { |
329 | this.tableClient = ((ClientDataTable)(base.Tables["Client"])); |
330 | if ((initTable == true)) |
331 | { |
332 | if ((this.tableClient != null)) |
333 | { |
334 | this.tableClient.InitVars(); |
335 | } |
336 | } |
337 | this.tableGroup = ((GroupDataTable)(base.Tables["Group"])); |
338 | if ((initTable == true)) |
339 | { |
340 | if ((this.tableGroup != null)) |
341 | { |
342 | this.tableGroup.InitVars(); |
343 | } |
344 | } |
345 | this.tableImage = ((ImageDataTable)(base.Tables["Image"])); |
346 | if ((initTable == true)) |
347 | { |
348 | if ((this.tableImage != null)) |
349 | { |
350 | this.tableImage.InitVars(); |
351 | } |
352 | } |
353 | this.tableTerminalServer = ((TerminalServerDataTable)(base.Tables["TerminalServer"])); |
354 | if ((initTable == true)) |
355 | { |
356 | if ((this.tableTerminalServer != null)) |
357 | { |
358 | this.tableTerminalServer.InitVars(); |
359 | } |
360 | } |
361 | this.tableTftpServer = ((TftpServerDataTable)(base.Tables["TftpServer"])); |
362 | if ((initTable == true)) |
363 | { |
364 | if ((this.tableTftpServer != null)) |
365 | { |
366 | this.tableTftpServer.InitVars(); |
367 | } |
368 | } |
369 | this.tableAppInfo = ((AppInfoDataTable)(base.Tables["AppInfo"])); |
370 | if ((initTable == true)) |
371 | { |
372 | if ((this.tableAppInfo != null)) |
373 | { |
374 | this.tableAppInfo.InitVars(); |
375 | } |
376 | } |
377 | } |
378 | |
379 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
380 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
381 | private void InitClass() |
382 | { |
383 | this.DataSetName = "atsDataSet"; |
384 | this.Prefix = ""; |
385 | this.Namespace = "http://tempuri.org/atsDataSet.xsd"; |
386 | this.EnforceConstraints = true; |
387 | this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; |
388 | this.tableClient = new ClientDataTable(); |
389 | base.Tables.Add(this.tableClient); |
390 | this.tableGroup = new GroupDataTable(); |
391 | base.Tables.Add(this.tableGroup); |
392 | this.tableImage = new ImageDataTable(); |
393 | base.Tables.Add(this.tableImage); |
394 | this.tableTerminalServer = new TerminalServerDataTable(); |
395 | base.Tables.Add(this.tableTerminalServer); |
396 | this.tableTftpServer = new TftpServerDataTable(); |
397 | base.Tables.Add(this.tableTftpServer); |
398 | this.tableAppInfo = new AppInfoDataTable(); |
399 | base.Tables.Add(this.tableAppInfo); |
400 | } |
401 | |
402 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
403 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
404 | private bool ShouldSerializeClient() |
405 | { |
406 | return false; |
407 | } |
408 | |
409 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
410 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
411 | private bool ShouldSerializeGroup() |
412 | { |
413 | return false; |
414 | } |
415 | |
416 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
417 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
418 | private bool ShouldSerializeImage() |
419 | { |
420 | return false; |
421 | } |
422 | |
423 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
424 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
425 | private bool ShouldSerializeTerminalServer() |
426 | { |
427 | return false; |
428 | } |
429 | |
430 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
431 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
432 | private bool ShouldSerializeTftpServer() |
433 | { |
434 | return false; |
435 | } |
436 | |
437 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
438 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
439 | private bool ShouldSerializeAppInfo() |
440 | { |
441 | return false; |
442 | } |
443 | |
444 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
445 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
446 | private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) |
447 | { |
448 | if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) |
449 | { |
450 | this.InitVars(); |
451 | } |
452 | } |
453 | |
454 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
455 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
456 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) |
457 | { |
458 | atsDataSet ds = new atsDataSet(); |
459 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); |
460 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); |
461 | global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); |
462 | any.Namespace = ds.Namespace; |
463 | sequence.Items.Add(any); |
464 | type.Particle = sequence; |
465 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); |
466 | if (xs.Contains(dsSchema.TargetNamespace)) |
467 | { |
468 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); |
469 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); |
470 | try |
471 | { |
472 | global::System.Xml.Schema.XmlSchema schema = null; |
473 | dsSchema.Write(s1); |
474 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) |
475 | { |
476 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); |
477 | s2.SetLength(0); |
478 | schema.Write(s2); |
479 | if ((s1.Length == s2.Length)) |
480 | { |
481 | s1.Position = 0; |
482 | s2.Position = 0; |
483 | for (; ((s1.Position != s1.Length) |
484 | && (s1.ReadByte() == s2.ReadByte())); ) |
485 | { |
486 | ; |
487 | } |
488 | if ((s1.Position == s1.Length)) |
489 | { |
490 | return type; |
491 | } |
492 | } |
493 | } |
494 | } |
495 | finally |
496 | { |
497 | if ((s1 != null)) |
498 | { |
499 | s1.Close(); |
500 | } |
501 | if ((s2 != null)) |
502 | { |
503 | s2.Close(); |
504 | } |
505 | } |
506 | } |
507 | xs.Add(dsSchema); |
508 | return type; |
509 | } |
510 | |
511 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
512 | public delegate void ClientRowChangeEventHandler(object sender, ClientRowChangeEvent e); |
513 | |
514 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
515 | public delegate void GroupRowChangeEventHandler(object sender, GroupRowChangeEvent e); |
516 | |
517 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
518 | public delegate void ImageRowChangeEventHandler(object sender, ImageRowChangeEvent e); |
519 | |
520 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
521 | public delegate void TerminalServerRowChangeEventHandler(object sender, TerminalServerRowChangeEvent e); |
522 | |
523 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
524 | public delegate void TftpServerRowChangeEventHandler(object sender, TftpServerRowChangeEvent e); |
525 | |
526 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
527 | public delegate void AppInfoRowChangeEventHandler(object sender, AppInfoRowChangeEvent e); |
528 | |
529 | /// <summary> |
530 | ///Represents the strongly named DataTable class. |
531 | ///</summary> |
532 | [global::System.Serializable()] |
533 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] |
534 | public partial class ClientDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable |
535 | { |
536 | |
537 | private global::System.Data.DataColumn columnClientName; |
538 | |
539 | private global::System.Data.DataColumn columnMacAddress; |
540 | |
541 | private global::System.Data.DataColumn columnGroup; |
542 | |
543 | private global::System.Data.DataColumn columnScreenResolution; |
544 | |
545 | private global::System.Data.DataColumn columnScreenColorDepth; |
546 | |
547 | private global::System.Data.DataColumn columnAutoPlayCD; |
548 | |
549 | private global::System.Data.DataColumn columnServerName; |
550 | |
551 | private global::System.Data.DataColumn columnSessionType; |
552 | |
553 | private global::System.Data.DataColumn columnReconnectPrompt; |
554 | |
555 | private global::System.Data.DataColumn columnAudioLevel; |
556 | |
557 | private global::System.Data.DataColumn columnMouseResolution; |
558 | |
559 | private global::System.Data.DataColumn columnComment; |
560 | |
561 | private global::System.Data.DataColumn columnUsername; |
562 | |
563 | private global::System.Data.DataColumn columnPassword; |
564 | |
565 | private global::System.Data.DataColumn columnServerDomain; |
566 | |
567 | private global::System.Data.DataColumn columnServerVersion; |
568 | |
569 | private global::System.Data.DataColumn columnRedirectFloppy; |
570 | |
571 | private global::System.Data.DataColumn columnRedirectCD; |
572 | |
573 | private global::System.Data.DataColumn columnRedirectSound; |
574 | |
575 | private global::System.Data.DataColumn columnDigitalMonitor; |
576 | |
577 | private global::System.Data.DataColumn columnIcaProtocol; |
578 | |
579 | private global::System.Data.DataColumn columnIcaEncryption; |
580 | |
581 | private global::System.Data.DataColumn columnIcaCompression; |
582 | |
583 | private global::System.Data.DataColumn columnIcaAudioQuality; |
584 | |
585 | private global::System.Data.DataColumn columnMiscFlippedFix; |
586 | |
587 | private global::System.Data.DataColumn columnMiscMousefix; |
588 | |
589 | private global::System.Data.DataColumn columnMiscNoAcceleration; |
590 | |
591 | private global::System.Data.DataColumn columnDailyReboot; |
592 | |
593 | private global::System.Data.DataColumn columnKeyboardMap; |
594 | |
595 | private global::System.Data.DataColumn columnTimeZone; |
596 | |
597 | private global::System.Data.DataColumn columnRedirectCom1; |
598 | |
599 | private global::System.Data.DataColumn columnRedirectCom2; |
600 | |
601 | private global::System.Data.DataColumn columnUsbDrive; |
602 | |
603 | private global::System.Data.DataColumn columnUsbDriveName; |
604 | |
605 | private global::System.Data.DataColumn columnNumLock; |
606 | |
607 | private global::System.Data.DataColumn columnServerPort; |
608 | |
609 | private global::System.Data.DataColumn columnCreated; |
610 | |
611 | private global::System.Data.DataColumn columnModified; |
612 | |
613 | private global::System.Data.DataColumn columnIcaApplicationSet; |
614 | |
615 | private global::System.Data.DataColumn columnIcaServer; |
616 | |
617 | private global::System.Data.DataColumn columnTempString; |
618 | |
619 | private global::System.Data.DataColumn columnTempBit; |
620 | |
621 | private global::System.Data.DataColumn columnTempInt; |
622 | |
623 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
624 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
625 | public ClientDataTable() |
626 | { |
627 | this.TableName = "Client"; |
628 | this.BeginInit(); |
629 | this.InitClass(); |
630 | this.EndInit(); |
631 | } |
632 | |
633 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
634 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
635 | internal ClientDataTable(global::System.Data.DataTable table) |
636 | { |
637 | this.TableName = table.TableName; |
638 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) |
639 | { |
640 | this.CaseSensitive = table.CaseSensitive; |
641 | } |
642 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) |
643 | { |
644 | this.Locale = table.Locale; |
645 | } |
646 | if ((table.Namespace != table.DataSet.Namespace)) |
647 | { |
648 | this.Namespace = table.Namespace; |
649 | } |
650 | this.Prefix = table.Prefix; |
651 | this.MinimumCapacity = table.MinimumCapacity; |
652 | } |
653 | |
654 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
655 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
656 | protected ClientDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
657 | base(info, context) |
658 | { |
659 | this.InitVars(); |
660 | } |
661 | |
662 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
663 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
664 | public global::System.Data.DataColumn ClientNameColumn |
665 | { |
666 | get |
667 | { |
668 | return this.columnClientName; |
669 | } |
670 | } |
671 | |
672 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
673 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
674 | public global::System.Data.DataColumn MacAddressColumn |
675 | { |
676 | get |
677 | { |
678 | return this.columnMacAddress; |
679 | } |
680 | } |
681 | |
682 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
683 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
684 | public global::System.Data.DataColumn GroupColumn |
685 | { |
686 | get |
687 | { |
688 | return this.columnGroup; |
689 | } |
690 | } |
691 | |
692 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
693 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
694 | public global::System.Data.DataColumn ScreenResolutionColumn |
695 | { |
696 | get |
697 | { |
698 | return this.columnScreenResolution; |
699 | } |
700 | } |
701 | |
702 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
703 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
704 | public global::System.Data.DataColumn ScreenColorDepthColumn |
705 | { |
706 | get |
707 | { |
708 | return this.columnScreenColorDepth; |
709 | } |
710 | } |
711 | |
712 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
713 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
714 | public global::System.Data.DataColumn AutoPlayCDColumn |
715 | { |
716 | get |
717 | { |
718 | return this.columnAutoPlayCD; |
719 | } |
720 | } |
721 | |
722 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
723 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
724 | public global::System.Data.DataColumn ServerNameColumn |
725 | { |
726 | get |
727 | { |
728 | return this.columnServerName; |
729 | } |
730 | } |
731 | |
732 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
733 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
734 | public global::System.Data.DataColumn SessionTypeColumn |
735 | { |
736 | get |
737 | { |
738 | return this.columnSessionType; |
739 | } |
740 | } |
741 | |
742 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
743 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
744 | public global::System.Data.DataColumn ReconnectPromptColumn |
745 | { |
746 | get |
747 | { |
748 | return this.columnReconnectPrompt; |
749 | } |
750 | } |
751 | |
752 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
753 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
754 | public global::System.Data.DataColumn AudioLevelColumn |
755 | { |
756 | get |
757 | { |
758 | return this.columnAudioLevel; |
759 | } |
760 | } |
761 | |
762 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
763 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
764 | public global::System.Data.DataColumn MouseResolutionColumn |
765 | { |
766 | get |
767 | { |
768 | return this.columnMouseResolution; |
769 | } |
770 | } |
771 | |
772 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
773 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
774 | public global::System.Data.DataColumn CommentColumn |
775 | { |
776 | get |
777 | { |
778 | return this.columnComment; |
779 | } |
780 | } |
781 | |
782 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
783 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
784 | public global::System.Data.DataColumn UsernameColumn |
785 | { |
786 | get |
787 | { |
788 | return this.columnUsername; |
789 | } |
790 | } |
791 | |
792 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
793 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
794 | public global::System.Data.DataColumn PasswordColumn |
795 | { |
796 | get |
797 | { |
798 | return this.columnPassword; |
799 | } |
800 | } |
801 | |
802 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
803 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
804 | public global::System.Data.DataColumn ServerDomainColumn |
805 | { |
806 | get |
807 | { |
808 | return this.columnServerDomain; |
809 | } |
810 | } |
811 | |
812 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
813 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
814 | public global::System.Data.DataColumn ServerVersionColumn |
815 | { |
816 | get |
817 | { |
818 | return this.columnServerVersion; |
819 | } |
820 | } |
821 | |
822 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
823 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
824 | public global::System.Data.DataColumn RedirectFloppyColumn |
825 | { |
826 | get |
827 | { |
828 | return this.columnRedirectFloppy; |
829 | } |
830 | } |
831 | |
832 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
833 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
834 | public global::System.Data.DataColumn RedirectCDColumn |
835 | { |
836 | get |
837 | { |
838 | return this.columnRedirectCD; |
839 | } |
840 | } |
841 | |
842 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
843 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
844 | public global::System.Data.DataColumn RedirectSoundColumn |
845 | { |
846 | get |
847 | { |
848 | return this.columnRedirectSound; |
849 | } |
850 | } |
851 | |
852 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
853 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
854 | public global::System.Data.DataColumn DigitalMonitorColumn |
855 | { |
856 | get |
857 | { |
858 | return this.columnDigitalMonitor; |
859 | } |
860 | } |
861 | |
862 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
863 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
864 | public global::System.Data.DataColumn IcaProtocolColumn |
865 | { |
866 | get |
867 | { |
868 | return this.columnIcaProtocol; |
869 | } |
870 | } |
871 | |
872 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
873 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
874 | public global::System.Data.DataColumn IcaEncryptionColumn |
875 | { |
876 | get |
877 | { |
878 | return this.columnIcaEncryption; |
879 | } |
880 | } |
881 | |
882 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
883 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
884 | public global::System.Data.DataColumn IcaCompressionColumn |
885 | { |
886 | get |
887 | { |
888 | return this.columnIcaCompression; |
889 | } |
890 | } |
891 | |
892 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
893 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
894 | public global::System.Data.DataColumn IcaAudioQualityColumn |
895 | { |
896 | get |
897 | { |
898 | return this.columnIcaAudioQuality; |
899 | } |
900 | } |
901 | |
902 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
903 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
904 | public global::System.Data.DataColumn MiscFlippedFixColumn |
905 | { |
906 | get |
907 | { |
908 | return this.columnMiscFlippedFix; |
909 | } |
910 | } |
911 | |
912 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
913 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
914 | public global::System.Data.DataColumn MiscMousefixColumn |
915 | { |
916 | get |
917 | { |
918 | return this.columnMiscMousefix; |
919 | } |
920 | } |
921 | |
922 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
923 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
924 | public global::System.Data.DataColumn MiscNoAccelerationColumn |
925 | { |
926 | get |
927 | { |
928 | return this.columnMiscNoAcceleration; |
929 | } |
930 | } |
931 | |
932 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
933 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
934 | public global::System.Data.DataColumn DailyRebootColumn |
935 | { |
936 | get |
937 | { |
938 | return this.columnDailyReboot; |
939 | } |
940 | } |
941 | |
942 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
943 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
944 | public global::System.Data.DataColumn KeyboardMapColumn |
945 | { |
946 | get |
947 | { |
948 | return this.columnKeyboardMap; |
949 | } |
950 | } |
951 | |
952 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
953 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
954 | public global::System.Data.DataColumn TimeZoneColumn |
955 | { |
956 | get |
957 | { |
958 | return this.columnTimeZone; |
959 | } |
960 | } |
961 | |
962 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
963 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
964 | public global::System.Data.DataColumn RedirectCom1Column |
965 | { |
966 | get |
967 | { |
968 | return this.columnRedirectCom1; |
969 | } |
970 | } |
971 | |
972 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
973 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
974 | public global::System.Data.DataColumn RedirectCom2Column |
975 | { |
976 | get |
977 | { |
978 | return this.columnRedirectCom2; |
979 | } |
980 | } |
981 | |
982 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
983 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
984 | public global::System.Data.DataColumn UsbDriveColumn |
985 | { |
986 | get |
987 | { |
988 | return this.columnUsbDrive; |
989 | } |
990 | } |
991 | |
992 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
993 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
994 | public global::System.Data.DataColumn UsbDriveNameColumn |
995 | { |
996 | get |
997 | { |
998 | return this.columnUsbDriveName; |
999 | } |
1000 | } |
1001 | |
1002 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1003 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1004 | public global::System.Data.DataColumn NumLockColumn |
1005 | { |
1006 | get |
1007 | { |
1008 | return this.columnNumLock; |
1009 | } |
1010 | } |
1011 | |
1012 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1013 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1014 | public global::System.Data.DataColumn ServerPortColumn |
1015 | { |
1016 | get |
1017 | { |
1018 | return this.columnServerPort; |
1019 | } |
1020 | } |
1021 | |
1022 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1023 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1024 | public global::System.Data.DataColumn CreatedColumn |
1025 | { |
1026 | get |
1027 | { |
1028 | return this.columnCreated; |
1029 | } |
1030 | } |
1031 | |
1032 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1033 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1034 | public global::System.Data.DataColumn ModifiedColumn |
1035 | { |
1036 | get |
1037 | { |
1038 | return this.columnModified; |
1039 | } |
1040 | } |
1041 | |
1042 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1043 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1044 | public global::System.Data.DataColumn IcaApplicationSetColumn |
1045 | { |
1046 | get |
1047 | { |
1048 | return this.columnIcaApplicationSet; |
1049 | } |
1050 | } |
1051 | |
1052 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1053 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1054 | public global::System.Data.DataColumn IcaServerColumn |
1055 | { |
1056 | get |
1057 | { |
1058 | return this.columnIcaServer; |
1059 | } |
1060 | } |
1061 | |
1062 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1063 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1064 | public global::System.Data.DataColumn TempStringColumn |
1065 | { |
1066 | get |
1067 | { |
1068 | return this.columnTempString; |
1069 | } |
1070 | } |
1071 | |
1072 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1073 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1074 | public global::System.Data.DataColumn TempBitColumn |
1075 | { |
1076 | get |
1077 | { |
1078 | return this.columnTempBit; |
1079 | } |
1080 | } |
1081 | |
1082 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1083 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1084 | public global::System.Data.DataColumn TempIntColumn |
1085 | { |
1086 | get |
1087 | { |
1088 | return this.columnTempInt; |
1089 | } |
1090 | } |
1091 | |
1092 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1093 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1094 | [global::System.ComponentModel.Browsable(false)] |
1095 | public int Count |
1096 | { |
1097 | get |
1098 | { |
1099 | return this.Rows.Count; |
1100 | } |
1101 | } |
1102 | |
1103 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1104 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1105 | public ClientRow this[int index] |
1106 | { |
1107 | get |
1108 | { |
1109 | return ((ClientRow)(this.Rows[index])); |
1110 | } |
1111 | } |
1112 | |
1113 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1114 | public event ClientRowChangeEventHandler ClientRowChanging; |
1115 | |
1116 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1117 | public event ClientRowChangeEventHandler ClientRowChanged; |
1118 | |
1119 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1120 | public event ClientRowChangeEventHandler ClientRowDeleting; |
1121 | |
1122 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1123 | public event ClientRowChangeEventHandler ClientRowDeleted; |
1124 | |
1125 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1126 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1127 | public void AddClientRow(ClientRow row) |
1128 | { |
1129 | this.Rows.Add(row); |
1130 | } |
1131 | |
1132 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1133 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1134 | public ClientRow AddClientRow( |
1135 | string ClientName, |
1136 | string MacAddress, |
1137 | int Group, |
1138 | string ScreenResolution, |
1139 | string ScreenColorDepth, |
1140 | bool AutoPlayCD, |
1141 | string ServerName, |
1142 | string SessionType, |
1143 | bool ReconnectPrompt, |
1144 | int AudioLevel, |
1145 | int MouseResolution, |
1146 | string Comment, |
1147 | string Username, |
1148 | string Password, |
1149 | string ServerDomain, |
1150 | string ServerVersion, |
1151 | bool RedirectFloppy, |
1152 | bool RedirectCD, |
1153 | bool RedirectSound, |
1154 | bool DigitalMonitor, |
1155 | string IcaProtocol, |
1156 | string IcaEncryption, |
1157 | bool IcaCompression, |
1158 | string IcaAudioQuality, |
1159 | bool MiscFlippedFix, |
1160 | bool MiscMousefix, |
1161 | bool MiscNoAcceleration, |
1162 | bool DailyReboot, |
1163 | string KeyboardMap, |
1164 | string TimeZone, |
1165 | bool RedirectCom1, |
1166 | bool RedirectCom2, |
1167 | int UsbDrive, |
1168 | string UsbDriveName, |
1169 | bool NumLock, |
1170 | int ServerPort, |
1171 | System.DateTime Created, |
1172 | System.DateTime Modified, |
1173 | string IcaApplicationSet, |
1174 | string IcaServer, |
1175 | string TempString, |
1176 | bool TempBit, |
1177 | int TempInt) |
1178 | { |
1179 | ClientRow rowClientRow = ((ClientRow)(this.NewRow())); |
1180 | object[] columnValuesArray = new object[] { |
1181 | ClientName, |
1182 | MacAddress, |
1183 | Group, |
1184 | ScreenResolution, |
1185 | ScreenColorDepth, |
1186 | AutoPlayCD, |
1187 | ServerName, |
1188 | SessionType, |
1189 | ReconnectPrompt, |
1190 | AudioLevel, |
1191 | MouseResolution, |
1192 | Comment, |
1193 | Username, |
1194 | Password, |
1195 | ServerDomain, |
1196 | ServerVersion, |
1197 | RedirectFloppy, |
1198 | RedirectCD, |
1199 | RedirectSound, |
1200 | DigitalMonitor, |
1201 | IcaProtocol, |
1202 | IcaEncryption, |
1203 | IcaCompression, |
1204 | IcaAudioQuality, |
1205 | MiscFlippedFix, |
1206 | MiscMousefix, |
1207 | MiscNoAcceleration, |
1208 | DailyReboot, |
1209 | KeyboardMap, |
1210 | TimeZone, |
1211 | RedirectCom1, |
1212 | RedirectCom2, |
1213 | UsbDrive, |
1214 | UsbDriveName, |
1215 | NumLock, |
1216 | ServerPort, |
1217 | Created, |
1218 | Modified, |
1219 | IcaApplicationSet, |
1220 | IcaServer, |
1221 | TempString, |
1222 | TempBit, |
1223 | TempInt}; |
1224 | rowClientRow.ItemArray = columnValuesArray; |
1225 | this.Rows.Add(rowClientRow); |
1226 | return rowClientRow; |
1227 | } |
1228 | |
1229 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1230 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1231 | public ClientRow FindByMacAddress(string MacAddress) |
1232 | { |
1233 | return ((ClientRow)(this.Rows.Find(new object[] { |
1234 | MacAddress}))); |
1235 | } |
1236 | |
1237 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1238 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1239 | public virtual global::System.Collections.IEnumerator GetEnumerator() |
1240 | { |
1241 | return this.Rows.GetEnumerator(); |
1242 | } |
1243 | |
1244 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1245 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1246 | public override global::System.Data.DataTable Clone() |
1247 | { |
1248 | ClientDataTable cln = ((ClientDataTable)(base.Clone())); |
1249 | cln.InitVars(); |
1250 | return cln; |
1251 | } |
1252 | |
1253 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1254 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1255 | protected override global::System.Data.DataTable CreateInstance() |
1256 | { |
1257 | return new ClientDataTable(); |
1258 | } |
1259 | |
1260 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1261 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1262 | internal void InitVars() |
1263 | { |
1264 | this.columnClientName = base.Columns["ClientName"]; |
1265 | this.columnMacAddress = base.Columns["MacAddress"]; |
1266 | this.columnGroup = base.Columns["Group"]; |
1267 | this.columnScreenResolution = base.Columns["ScreenResolution"]; |
1268 | this.columnScreenColorDepth = base.Columns["ScreenColorDepth"]; |
1269 | this.columnAutoPlayCD = base.Columns["AutoPlayCD"]; |
1270 | this.columnServerName = base.Columns["ServerName"]; |
1271 | this.columnSessionType = base.Columns["SessionType"]; |
1272 | this.columnReconnectPrompt = base.Columns["ReconnectPrompt"]; |
1273 | this.columnAudioLevel = base.Columns["AudioLevel"]; |
1274 | this.columnMouseResolution = base.Columns["MouseResolution"]; |
1275 | this.columnComment = base.Columns["Comment"]; |
1276 | this.columnUsername = base.Columns["Username"]; |
1277 | this.columnPassword = base.Columns["Password"]; |
1278 | this.columnServerDomain = base.Columns["ServerDomain"]; |
1279 | this.columnServerVersion = base.Columns["ServerVersion"]; |
1280 | this.columnRedirectFloppy = base.Columns["RedirectFloppy"]; |
1281 | this.columnRedirectCD = base.Columns["RedirectCD"]; |
1282 | this.columnRedirectSound = base.Columns["RedirectSound"]; |
1283 | this.columnDigitalMonitor = base.Columns["DigitalMonitor"]; |
1284 | this.columnIcaProtocol = base.Columns["IcaProtocol"]; |
1285 | this.columnIcaEncryption = base.Columns["IcaEncryption"]; |
1286 | this.columnIcaCompression = base.Columns["IcaCompression"]; |
1287 | this.columnIcaAudioQuality = base.Columns["IcaAudioQuality"]; |
1288 | this.columnMiscFlippedFix = base.Columns["MiscFlippedFix"]; |
1289 | this.columnMiscMousefix = base.Columns["MiscMousefix"]; |
1290 | this.columnMiscNoAcceleration = base.Columns["MiscNoAcceleration"]; |
1291 | this.columnDailyReboot = base.Columns["DailyReboot"]; |
1292 | this.columnKeyboardMap = base.Columns["KeyboardMap"]; |
1293 | this.columnTimeZone = base.Columns["TimeZone"]; |
1294 | this.columnRedirectCom1 = base.Columns["RedirectCom1"]; |
1295 | this.columnRedirectCom2 = base.Columns["RedirectCom2"]; |
1296 | this.columnUsbDrive = base.Columns["UsbDrive"]; |
1297 | this.columnUsbDriveName = base.Columns["UsbDriveName"]; |
1298 | this.columnNumLock = base.Columns["NumLock"]; |
1299 | this.columnServerPort = base.Columns["ServerPort"]; |
1300 | this.columnCreated = base.Columns["Created"]; |
1301 | this.columnModified = base.Columns["Modified"]; |
1302 | this.columnIcaApplicationSet = base.Columns["IcaApplicationSet"]; |
1303 | this.columnIcaServer = base.Columns["IcaServer"]; |
1304 | this.columnTempString = base.Columns["TempString"]; |
1305 | this.columnTempBit = base.Columns["TempBit"]; |
1306 | this.columnTempInt = base.Columns["TempInt"]; |
1307 | } |
1308 | |
1309 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1310 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1311 | private void InitClass() |
1312 | { |
1313 | this.columnClientName = new global::System.Data.DataColumn("ClientName", typeof(string), null, global::System.Data.MappingType.Element); |
1314 | base.Columns.Add(this.columnClientName); |
1315 | this.columnMacAddress = new global::System.Data.DataColumn("MacAddress", typeof(string), null, global::System.Data.MappingType.Element); |
1316 | base.Columns.Add(this.columnMacAddress); |
1317 | this.columnGroup = new global::System.Data.DataColumn("Group", typeof(int), null, global::System.Data.MappingType.Element); |
1318 | base.Columns.Add(this.columnGroup); |
1319 | this.columnScreenResolution = new global::System.Data.DataColumn("ScreenResolution", typeof(string), null, global::System.Data.MappingType.Element); |
1320 | base.Columns.Add(this.columnScreenResolution); |
1321 | this.columnScreenColorDepth = new global::System.Data.DataColumn("ScreenColorDepth", typeof(string), null, global::System.Data.MappingType.Element); |
1322 | base.Columns.Add(this.columnScreenColorDepth); |
1323 | this.columnAutoPlayCD = new global::System.Data.DataColumn("AutoPlayCD", typeof(bool), null, global::System.Data.MappingType.Element); |
1324 | base.Columns.Add(this.columnAutoPlayCD); |
1325 | this.columnServerName = new global::System.Data.DataColumn("ServerName", typeof(string), null, global::System.Data.MappingType.Element); |
1326 | base.Columns.Add(this.columnServerName); |
1327 | this.columnSessionType = new global::System.Data.DataColumn("SessionType", typeof(string), null, global::System.Data.MappingType.Element); |
1328 | base.Columns.Add(this.columnSessionType); |
1329 | this.columnReconnectPrompt = new global::System.Data.DataColumn("ReconnectPrompt", typeof(bool), null, global::System.Data.MappingType.Element); |
1330 | base.Columns.Add(this.columnReconnectPrompt); |
1331 | this.columnAudioLevel = new global::System.Data.DataColumn("AudioLevel", typeof(int), null, global::System.Data.MappingType.Element); |
1332 | base.Columns.Add(this.columnAudioLevel); |
1333 | this.columnMouseResolution = new global::System.Data.DataColumn("MouseResolution", typeof(int), null, global::System.Data.MappingType.Element); |
1334 | base.Columns.Add(this.columnMouseResolution); |
1335 | this.columnComment = new global::System.Data.DataColumn("Comment", typeof(string), null, global::System.Data.MappingType.Element); |
1336 | base.Columns.Add(this.columnComment); |
1337 | this.columnUsername = new global::System.Data.DataColumn("Username", typeof(string), null, global::System.Data.MappingType.Element); |
1338 | base.Columns.Add(this.columnUsername); |
1339 | this.columnPassword = new global::System.Data.DataColumn("Password", typeof(string), null, global::System.Data.MappingType.Element); |
1340 | base.Columns.Add(this.columnPassword); |
1341 | this.columnServerDomain = new global::System.Data.DataColumn("ServerDomain", typeof(string), null, global::System.Data.MappingType.Element); |
1342 | base.Columns.Add(this.columnServerDomain); |
1343 | this.columnServerVersion = new global::System.Data.DataColumn("ServerVersion", typeof(string), null, global::System.Data.MappingType.Element); |
1344 | base.Columns.Add(this.columnServerVersion); |
1345 | this.columnRedirectFloppy = new global::System.Data.DataColumn("RedirectFloppy", typeof(bool), null, global::System.Data.MappingType.Element); |
1346 | base.Columns.Add(this.columnRedirectFloppy); |
1347 | this.columnRedirectCD = new global::System.Data.DataColumn("RedirectCD", typeof(bool), null, global::System.Data.MappingType.Element); |
1348 | base.Columns.Add(this.columnRedirectCD); |
1349 | this.columnRedirectSound = new global::System.Data.DataColumn("RedirectSound", typeof(bool), null, global::System.Data.MappingType.Element); |
1350 | base.Columns.Add(this.columnRedirectSound); |
1351 | this.columnDigitalMonitor = new global::System.Data.DataColumn("DigitalMonitor", typeof(bool), null, global::System.Data.MappingType.Element); |
1352 | base.Columns.Add(this.columnDigitalMonitor); |
1353 | this.columnIcaProtocol = new global::System.Data.DataColumn("IcaProtocol", typeof(string), null, global::System.Data.MappingType.Element); |
1354 | base.Columns.Add(this.columnIcaProtocol); |
1355 | this.columnIcaEncryption = new global::System.Data.DataColumn("IcaEncryption", typeof(string), null, global::System.Data.MappingType.Element); |
1356 | base.Columns.Add(this.columnIcaEncryption); |
1357 | this.columnIcaCompression = new global::System.Data.DataColumn("IcaCompression", typeof(bool), null, global::System.Data.MappingType.Element); |
1358 | base.Columns.Add(this.columnIcaCompression); |
1359 | this.columnIcaAudioQuality = new global::System.Data.DataColumn("IcaAudioQuality", typeof(string), null, global::System.Data.MappingType.Element); |
1360 | base.Columns.Add(this.columnIcaAudioQuality); |
1361 | this.columnMiscFlippedFix = new global::System.Data.DataColumn("MiscFlippedFix", typeof(bool), null, global::System.Data.MappingType.Element); |
1362 | base.Columns.Add(this.columnMiscFlippedFix); |
1363 | this.columnMiscMousefix = new global::System.Data.DataColumn("MiscMousefix", typeof(bool), null, global::System.Data.MappingType.Element); |
1364 | base.Columns.Add(this.columnMiscMousefix); |
1365 | this.columnMiscNoAcceleration = new global::System.Data.DataColumn("MiscNoAcceleration", typeof(bool), null, global::System.Data.MappingType.Element); |
1366 | base.Columns.Add(this.columnMiscNoAcceleration); |
1367 | this.columnDailyReboot = new global::System.Data.DataColumn("DailyReboot", typeof(bool), null, global::System.Data.MappingType.Element); |
1368 | base.Columns.Add(this.columnDailyReboot); |
1369 | this.columnKeyboardMap = new global::System.Data.DataColumn("KeyboardMap", typeof(string), null, global::System.Data.MappingType.Element); |
1370 | base.Columns.Add(this.columnKeyboardMap); |
1371 | this.columnTimeZone = new global::System.Data.DataColumn("TimeZone", typeof(string), null, global::System.Data.MappingType.Element); |
1372 | base.Columns.Add(this.columnTimeZone); |
1373 | this.columnRedirectCom1 = new global::System.Data.DataColumn("RedirectCom1", typeof(bool), null, global::System.Data.MappingType.Element); |
1374 | base.Columns.Add(this.columnRedirectCom1); |
1375 | this.columnRedirectCom2 = new global::System.Data.DataColumn("RedirectCom2", typeof(bool), null, global::System.Data.MappingType.Element); |
1376 | base.Columns.Add(this.columnRedirectCom2); |
1377 | this.columnUsbDrive = new global::System.Data.DataColumn("UsbDrive", typeof(int), null, global::System.Data.MappingType.Element); |
1378 | base.Columns.Add(this.columnUsbDrive); |
1379 | this.columnUsbDriveName = new global::System.Data.DataColumn("UsbDriveName", typeof(string), null, global::System.Data.MappingType.Element); |
1380 | base.Columns.Add(this.columnUsbDriveName); |
1381 | this.columnNumLock = new global::System.Data.DataColumn("NumLock", typeof(bool), null, global::System.Data.MappingType.Element); |
1382 | base.Columns.Add(this.columnNumLock); |
1383 | this.columnServerPort = new global::System.Data.DataColumn("ServerPort", typeof(int), null, global::System.Data.MappingType.Element); |
1384 | base.Columns.Add(this.columnServerPort); |
1385 | this.columnCreated = new global::System.Data.DataColumn("Created", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); |
1386 | base.Columns.Add(this.columnCreated); |
1387 | this.columnModified = new global::System.Data.DataColumn("Modified", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); |
1388 | base.Columns.Add(this.columnModified); |
1389 | this.columnIcaApplicationSet = new global::System.Data.DataColumn("IcaApplicationSet", typeof(string), null, global::System.Data.MappingType.Element); |
1390 | base.Columns.Add(this.columnIcaApplicationSet); |
1391 | this.columnIcaServer = new global::System.Data.DataColumn("IcaServer", typeof(string), null, global::System.Data.MappingType.Element); |
1392 | base.Columns.Add(this.columnIcaServer); |
1393 | this.columnTempString = new global::System.Data.DataColumn("TempString", typeof(string), null, global::System.Data.MappingType.Element); |
1394 | base.Columns.Add(this.columnTempString); |
1395 | this.columnTempBit = new global::System.Data.DataColumn("TempBit", typeof(bool), null, global::System.Data.MappingType.Element); |
1396 | base.Columns.Add(this.columnTempBit); |
1397 | this.columnTempInt = new global::System.Data.DataColumn("TempInt", typeof(int), null, global::System.Data.MappingType.Element); |
1398 | base.Columns.Add(this.columnTempInt); |
1399 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |
1400 | this.columnMacAddress}, true)); |
1401 | this.columnClientName.MaxLength = 100; |
1402 | this.columnMacAddress.AllowDBNull = false; |
1403 | this.columnMacAddress.Unique = true; |
1404 | this.columnMacAddress.MaxLength = 12; |
1405 | this.columnScreenResolution.MaxLength = 11; |
1406 | this.columnScreenColorDepth.MaxLength = 50; |
1407 | this.columnServerName.MaxLength = 200; |
1408 | this.columnSessionType.MaxLength = 50; |
1409 | this.columnComment.MaxLength = 1024; |
1410 | this.columnUsername.MaxLength = 32; |
1411 | this.columnPassword.MaxLength = 32; |
1412 | this.columnServerDomain.MaxLength = 32; |
1413 | this.columnServerVersion.MaxLength = 50; |
1414 | this.columnIcaProtocol.MaxLength = 30; |
1415 | this.columnIcaEncryption.MaxLength = 30; |
1416 | this.columnIcaAudioQuality.MaxLength = 10; |
1417 | this.columnKeyboardMap.MaxLength = 12; |
1418 | this.columnTimeZone.MaxLength = 60; |
1419 | this.columnUsbDriveName.MaxLength = 20; |
1420 | this.columnServerPort.AllowDBNull = false; |
1421 | this.columnIcaApplicationSet.MaxLength = 200; |
1422 | this.columnIcaServer.MaxLength = 200; |
1423 | this.columnTempString.MaxLength = 200; |
1424 | } |
1425 | |
1426 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1427 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1428 | public ClientRow NewClientRow() |
1429 | { |
1430 | return ((ClientRow)(this.NewRow())); |
1431 | } |
1432 | |
1433 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1434 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1435 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) |
1436 | { |
1437 | return new ClientRow(builder); |
1438 | } |
1439 | |
1440 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1441 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1442 | protected override global::System.Type GetRowType() |
1443 | { |
1444 | return typeof(ClientRow); |
1445 | } |
1446 | |
1447 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1448 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1449 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) |
1450 | { |
1451 | base.OnRowChanged(e); |
1452 | if ((this.ClientRowChanged != null)) |
1453 | { |
1454 | this.ClientRowChanged(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); |
1455 | } |
1456 | } |
1457 | |
1458 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1459 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1460 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) |
1461 | { |
1462 | base.OnRowChanging(e); |
1463 | if ((this.ClientRowChanging != null)) |
1464 | { |
1465 | this.ClientRowChanging(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); |
1466 | } |
1467 | } |
1468 | |
1469 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1470 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1471 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) |
1472 | { |
1473 | base.OnRowDeleted(e); |
1474 | if ((this.ClientRowDeleted != null)) |
1475 | { |
1476 | this.ClientRowDeleted(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); |
1477 | } |
1478 | } |
1479 | |
1480 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1481 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1482 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) |
1483 | { |
1484 | base.OnRowDeleting(e); |
1485 | if ((this.ClientRowDeleting != null)) |
1486 | { |
1487 | this.ClientRowDeleting(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); |
1488 | } |
1489 | } |
1490 | |
1491 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1492 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1493 | public void RemoveClientRow(ClientRow row) |
1494 | { |
1495 | this.Rows.Remove(row); |
1496 | } |
1497 | |
1498 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1499 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1500 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) |
1501 | { |
1502 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); |
1503 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); |
1504 | atsDataSet ds = new atsDataSet(); |
1505 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); |
1506 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; |
1507 | any1.MinOccurs = new decimal(0); |
1508 | any1.MaxOccurs = decimal.MaxValue; |
1509 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
1510 | sequence.Items.Add(any1); |
1511 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); |
1512 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; |
1513 | any2.MinOccurs = new decimal(1); |
1514 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
1515 | sequence.Items.Add(any2); |
1516 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
1517 | attribute1.Name = "namespace"; |
1518 | attribute1.FixedValue = ds.Namespace; |
1519 | type.Attributes.Add(attribute1); |
1520 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
1521 | attribute2.Name = "tableTypeName"; |
1522 | attribute2.FixedValue = "ClientDataTable"; |
1523 | type.Attributes.Add(attribute2); |
1524 | type.Particle = sequence; |
1525 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); |
1526 | if (xs.Contains(dsSchema.TargetNamespace)) |
1527 | { |
1528 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); |
1529 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); |
1530 | try |
1531 | { |
1532 | global::System.Xml.Schema.XmlSchema schema = null; |
1533 | dsSchema.Write(s1); |
1534 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) |
1535 | { |
1536 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); |
1537 | s2.SetLength(0); |
1538 | schema.Write(s2); |
1539 | if ((s1.Length == s2.Length)) |
1540 | { |
1541 | s1.Position = 0; |
1542 | s2.Position = 0; |
1543 | for (; ((s1.Position != s1.Length) |
1544 | && (s1.ReadByte() == s2.ReadByte())); ) |
1545 | { |
1546 | ; |
1547 | } |
1548 | if ((s1.Position == s1.Length)) |
1549 | { |
1550 | return type; |
1551 | } |
1552 | } |
1553 | } |
1554 | } |
1555 | finally |
1556 | { |
1557 | if ((s1 != null)) |
1558 | { |
1559 | s1.Close(); |
1560 | } |
1561 | if ((s2 != null)) |
1562 | { |
1563 | s2.Close(); |
1564 | } |
1565 | } |
1566 | } |
1567 | xs.Add(dsSchema); |
1568 | return type; |
1569 | } |
1570 | } |
1571 | |
1572 | /// <summary> |
1573 | ///Represents the strongly named DataTable class. |
1574 | ///</summary> |
1575 | [global::System.Serializable()] |
1576 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] |
1577 | public partial class GroupDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable |
1578 | { |
1579 | |
1580 | private global::System.Data.DataColumn columnID; |
1581 | |
1582 | private global::System.Data.DataColumn columnParent; |
1583 | |
1584 | private global::System.Data.DataColumn columnName; |
1585 | |
1586 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1587 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1588 | public GroupDataTable() |
1589 | { |
1590 | this.TableName = "Group"; |
1591 | this.BeginInit(); |
1592 | this.InitClass(); |
1593 | this.EndInit(); |
1594 | } |
1595 | |
1596 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1597 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1598 | internal GroupDataTable(global::System.Data.DataTable table) |
1599 | { |
1600 | this.TableName = table.TableName; |
1601 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) |
1602 | { |
1603 | this.CaseSensitive = table.CaseSensitive; |
1604 | } |
1605 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) |
1606 | { |
1607 | this.Locale = table.Locale; |
1608 | } |
1609 | if ((table.Namespace != table.DataSet.Namespace)) |
1610 | { |
1611 | this.Namespace = table.Namespace; |
1612 | } |
1613 | this.Prefix = table.Prefix; |
1614 | this.MinimumCapacity = table.MinimumCapacity; |
1615 | } |
1616 | |
1617 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1618 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1619 | protected GroupDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
1620 | base(info, context) |
1621 | { |
1622 | this.InitVars(); |
1623 | } |
1624 | |
1625 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1626 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1627 | public global::System.Data.DataColumn IDColumn |
1628 | { |
1629 | get |
1630 | { |
1631 | return this.columnID; |
1632 | } |
1633 | } |
1634 | |
1635 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1636 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1637 | public global::System.Data.DataColumn ParentColumn |
1638 | { |
1639 | get |
1640 | { |
1641 | return this.columnParent; |
1642 | } |
1643 | } |
1644 | |
1645 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1646 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1647 | public global::System.Data.DataColumn NameColumn |
1648 | { |
1649 | get |
1650 | { |
1651 | return this.columnName; |
1652 | } |
1653 | } |
1654 | |
1655 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1656 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1657 | [global::System.ComponentModel.Browsable(false)] |
1658 | public int Count |
1659 | { |
1660 | get |
1661 | { |
1662 | return this.Rows.Count; |
1663 | } |
1664 | } |
1665 | |
1666 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1667 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1668 | public GroupRow this[int index] |
1669 | { |
1670 | get |
1671 | { |
1672 | return ((GroupRow)(this.Rows[index])); |
1673 | } |
1674 | } |
1675 | |
1676 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1677 | public event GroupRowChangeEventHandler GroupRowChanging; |
1678 | |
1679 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1680 | public event GroupRowChangeEventHandler GroupRowChanged; |
1681 | |
1682 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1683 | public event GroupRowChangeEventHandler GroupRowDeleting; |
1684 | |
1685 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1686 | public event GroupRowChangeEventHandler GroupRowDeleted; |
1687 | |
1688 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1689 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1690 | public void AddGroupRow(GroupRow row) |
1691 | { |
1692 | this.Rows.Add(row); |
1693 | } |
1694 | |
1695 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1696 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1697 | public GroupRow AddGroupRow(int Parent, string Name) |
1698 | { |
1699 | GroupRow rowGroupRow = ((GroupRow)(this.NewRow())); |
1700 | object[] columnValuesArray = new object[] { |
1701 | null, |
1702 | Parent, |
1703 | Name}; |
1704 | rowGroupRow.ItemArray = columnValuesArray; |
1705 | this.Rows.Add(rowGroupRow); |
1706 | return rowGroupRow; |
1707 | } |
1708 | |
1709 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1710 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1711 | public GroupRow FindByID(int ID) |
1712 | { |
1713 | return ((GroupRow)(this.Rows.Find(new object[] { |
1714 | ID}))); |
1715 | } |
1716 | |
1717 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1718 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1719 | public virtual global::System.Collections.IEnumerator GetEnumerator() |
1720 | { |
1721 | return this.Rows.GetEnumerator(); |
1722 | } |
1723 | |
1724 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1725 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1726 | public override global::System.Data.DataTable Clone() |
1727 | { |
1728 | GroupDataTable cln = ((GroupDataTable)(base.Clone())); |
1729 | cln.InitVars(); |
1730 | return cln; |
1731 | } |
1732 | |
1733 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1734 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1735 | protected override global::System.Data.DataTable CreateInstance() |
1736 | { |
1737 | return new GroupDataTable(); |
1738 | } |
1739 | |
1740 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1741 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1742 | internal void InitVars() |
1743 | { |
1744 | this.columnID = base.Columns["ID"]; |
1745 | this.columnParent = base.Columns["Parent"]; |
1746 | this.columnName = base.Columns["Name"]; |
1747 | } |
1748 | |
1749 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1750 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1751 | private void InitClass() |
1752 | { |
1753 | this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element); |
1754 | base.Columns.Add(this.columnID); |
1755 | this.columnParent = new global::System.Data.DataColumn("Parent", typeof(int), null, global::System.Data.MappingType.Element); |
1756 | base.Columns.Add(this.columnParent); |
1757 | this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element); |
1758 | base.Columns.Add(this.columnName); |
1759 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |
1760 | this.columnID}, true)); |
1761 | this.columnID.AutoIncrement = true; |
1762 | this.columnID.AllowDBNull = false; |
1763 | this.columnID.ReadOnly = true; |
1764 | this.columnID.Unique = true; |
1765 | this.columnName.MaxLength = 50; |
1766 | } |
1767 | |
1768 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1769 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1770 | public GroupRow NewGroupRow() |
1771 | { |
1772 | return ((GroupRow)(this.NewRow())); |
1773 | } |
1774 | |
1775 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1776 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1777 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) |
1778 | { |
1779 | return new GroupRow(builder); |
1780 | } |
1781 | |
1782 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1783 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1784 | protected override global::System.Type GetRowType() |
1785 | { |
1786 | return typeof(GroupRow); |
1787 | } |
1788 | |
1789 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1790 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1791 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) |
1792 | { |
1793 | base.OnRowChanged(e); |
1794 | if ((this.GroupRowChanged != null)) |
1795 | { |
1796 | this.GroupRowChanged(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); |
1797 | } |
1798 | } |
1799 | |
1800 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1801 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1802 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) |
1803 | { |
1804 | base.OnRowChanging(e); |
1805 | if ((this.GroupRowChanging != null)) |
1806 | { |
1807 | this.GroupRowChanging(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); |
1808 | } |
1809 | } |
1810 | |
1811 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1812 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1813 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) |
1814 | { |
1815 | base.OnRowDeleted(e); |
1816 | if ((this.GroupRowDeleted != null)) |
1817 | { |
1818 | this.GroupRowDeleted(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); |
1819 | } |
1820 | } |
1821 | |
1822 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1823 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1824 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) |
1825 | { |
1826 | base.OnRowDeleting(e); |
1827 | if ((this.GroupRowDeleting != null)) |
1828 | { |
1829 | this.GroupRowDeleting(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); |
1830 | } |
1831 | } |
1832 | |
1833 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1834 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1835 | public void RemoveGroupRow(GroupRow row) |
1836 | { |
1837 | this.Rows.Remove(row); |
1838 | } |
1839 | |
1840 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1841 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1842 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) |
1843 | { |
1844 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); |
1845 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); |
1846 | atsDataSet ds = new atsDataSet(); |
1847 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); |
1848 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; |
1849 | any1.MinOccurs = new decimal(0); |
1850 | any1.MaxOccurs = decimal.MaxValue; |
1851 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
1852 | sequence.Items.Add(any1); |
1853 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); |
1854 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; |
1855 | any2.MinOccurs = new decimal(1); |
1856 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
1857 | sequence.Items.Add(any2); |
1858 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
1859 | attribute1.Name = "namespace"; |
1860 | attribute1.FixedValue = ds.Namespace; |
1861 | type.Attributes.Add(attribute1); |
1862 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
1863 | attribute2.Name = "tableTypeName"; |
1864 | attribute2.FixedValue = "GroupDataTable"; |
1865 | type.Attributes.Add(attribute2); |
1866 | type.Particle = sequence; |
1867 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); |
1868 | if (xs.Contains(dsSchema.TargetNamespace)) |
1869 | { |
1870 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); |
1871 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); |
1872 | try |
1873 | { |
1874 | global::System.Xml.Schema.XmlSchema schema = null; |
1875 | dsSchema.Write(s1); |
1876 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) |
1877 | { |
1878 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); |
1879 | s2.SetLength(0); |
1880 | schema.Write(s2); |
1881 | if ((s1.Length == s2.Length)) |
1882 | { |
1883 | s1.Position = 0; |
1884 | s2.Position = 0; |
1885 | for (; ((s1.Position != s1.Length) |
1886 | && (s1.ReadByte() == s2.ReadByte())); ) |
1887 | { |
1888 | ; |
1889 | } |
1890 | if ((s1.Position == s1.Length)) |
1891 | { |
1892 | return type; |
1893 | } |
1894 | } |
1895 | } |
1896 | } |
1897 | finally |
1898 | { |
1899 | if ((s1 != null)) |
1900 | { |
1901 | s1.Close(); |
1902 | } |
1903 | if ((s2 != null)) |
1904 | { |
1905 | s2.Close(); |
1906 | } |
1907 | } |
1908 | } |
1909 | xs.Add(dsSchema); |
1910 | return type; |
1911 | } |
1912 | } |
1913 | |
1914 | /// <summary> |
1915 | ///Represents the strongly named DataTable class. |
1916 | ///</summary> |
1917 | [global::System.Serializable()] |
1918 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] |
1919 | public partial class ImageDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable |
1920 | { |
1921 | |
1922 | private global::System.Data.DataColumn columnUseDHCP; |
1923 | |
1924 | private global::System.Data.DataColumn columnClientIPAddress; |
1925 | |
1926 | private global::System.Data.DataColumn columnClientIPNetmask; |
1927 | |
1928 | private global::System.Data.DataColumn columnClientIPGateway; |
1929 | |
1930 | private global::System.Data.DataColumn columnClientIPDNS1; |
1931 | |
1932 | private global::System.Data.DataColumn columnClientIPDNS2; |
1933 | |
1934 | private global::System.Data.DataColumn columnClientIPDNSSuffix; |
1935 | |
1936 | private global::System.Data.DataColumn columnClientBootServer; |
1937 | |
1938 | private global::System.Data.DataColumn columnOnlyUseRDP; |
1939 | |
1940 | private global::System.Data.DataColumn columnBootPicture; |
1941 | |
1942 | private global::System.Data.DataColumn columnNetworkDriver; |
1943 | |
1944 | private global::System.Data.DataColumn columnSoundType; |
1945 | |
1946 | private global::System.Data.DataColumn columnSoundDriver; |
1947 | |
1948 | private global::System.Data.DataColumn columnName; |
1949 | |
1950 | private global::System.Data.DataColumn columnGraphicsDriver; |
1951 | |
1952 | private global::System.Data.DataColumn columnConfigFile; |
1953 | |
1954 | private global::System.Data.DataColumn columnDebug; |
1955 | |
1956 | private global::System.Data.DataColumn columnBootPictureWidth; |
1957 | |
1958 | private global::System.Data.DataColumn columnBootPictureHeight; |
1959 | |
1960 | private global::System.Data.DataColumn columnBootPictureProgressBar; |
1961 | |
1962 | private global::System.Data.DataColumn columnBootPicturePng; |
1963 | |
1964 | private global::System.Data.DataColumn columnBootPackage; |
1965 | |
1966 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1967 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1968 | public ImageDataTable() |
1969 | { |
1970 | this.TableName = "Image"; |
1971 | this.BeginInit(); |
1972 | this.InitClass(); |
1973 | this.EndInit(); |
1974 | } |
1975 | |
1976 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1977 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1978 | internal ImageDataTable(global::System.Data.DataTable table) |
1979 | { |
1980 | this.TableName = table.TableName; |
1981 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) |
1982 | { |
1983 | this.CaseSensitive = table.CaseSensitive; |
1984 | } |
1985 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) |
1986 | { |
1987 | this.Locale = table.Locale; |
1988 | } |
1989 | if ((table.Namespace != table.DataSet.Namespace)) |
1990 | { |
1991 | this.Namespace = table.Namespace; |
1992 | } |
1993 | this.Prefix = table.Prefix; |
1994 | this.MinimumCapacity = table.MinimumCapacity; |
1995 | } |
1996 | |
1997 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1998 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
1999 | protected ImageDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
2000 | base(info, context) |
2001 | { |
2002 | this.InitVars(); |
2003 | } |
2004 | |
2005 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2006 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2007 | public global::System.Data.DataColumn UseDHCPColumn |
2008 | { |
2009 | get |
2010 | { |
2011 | return this.columnUseDHCP; |
2012 | } |
2013 | } |
2014 | |
2015 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2016 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2017 | public global::System.Data.DataColumn ClientIPAddressColumn |
2018 | { |
2019 | get |
2020 | { |
2021 | return this.columnClientIPAddress; |
2022 | } |
2023 | } |
2024 | |
2025 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2026 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2027 | public global::System.Data.DataColumn ClientIPNetmaskColumn |
2028 | { |
2029 | get |
2030 | { |
2031 | return this.columnClientIPNetmask; |
2032 | } |
2033 | } |
2034 | |
2035 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2036 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2037 | public global::System.Data.DataColumn ClientIPGatewayColumn |
2038 | { |
2039 | get |
2040 | { |
2041 | return this.columnClientIPGateway; |
2042 | } |
2043 | } |
2044 | |
2045 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2046 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2047 | public global::System.Data.DataColumn ClientIPDNS1Column |
2048 | { |
2049 | get |
2050 | { |
2051 | return this.columnClientIPDNS1; |
2052 | } |
2053 | } |
2054 | |
2055 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2056 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2057 | public global::System.Data.DataColumn ClientIPDNS2Column |
2058 | { |
2059 | get |
2060 | { |
2061 | return this.columnClientIPDNS2; |
2062 | } |
2063 | } |
2064 | |
2065 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2066 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2067 | public global::System.Data.DataColumn ClientIPDNSSuffixColumn |
2068 | { |
2069 | get |
2070 | { |
2071 | return this.columnClientIPDNSSuffix; |
2072 | } |
2073 | } |
2074 | |
2075 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2076 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2077 | public global::System.Data.DataColumn ClientBootServerColumn |
2078 | { |
2079 | get |
2080 | { |
2081 | return this.columnClientBootServer; |
2082 | } |
2083 | } |
2084 | |
2085 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2086 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2087 | public global::System.Data.DataColumn OnlyUseRDPColumn |
2088 | { |
2089 | get |
2090 | { |
2091 | return this.columnOnlyUseRDP; |
2092 | } |
2093 | } |
2094 | |
2095 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2096 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2097 | public global::System.Data.DataColumn BootPictureColumn |
2098 | { |
2099 | get |
2100 | { |
2101 | return this.columnBootPicture; |
2102 | } |
2103 | } |
2104 | |
2105 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2106 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2107 | public global::System.Data.DataColumn NetworkDriverColumn |
2108 | { |
2109 | get |
2110 | { |
2111 | return this.columnNetworkDriver; |
2112 | } |
2113 | } |
2114 | |
2115 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2116 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2117 | public global::System.Data.DataColumn SoundTypeColumn |
2118 | { |
2119 | get |
2120 | { |
2121 | return this.columnSoundType; |
2122 | } |
2123 | } |
2124 | |
2125 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2126 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2127 | public global::System.Data.DataColumn SoundDriverColumn |
2128 | { |
2129 | get |
2130 | { |
2131 | return this.columnSoundDriver; |
2132 | } |
2133 | } |
2134 | |
2135 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2136 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2137 | public global::System.Data.DataColumn NameColumn |
2138 | { |
2139 | get |
2140 | { |
2141 | return this.columnName; |
2142 | } |
2143 | } |
2144 | |
2145 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2146 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2147 | public global::System.Data.DataColumn GraphicsDriverColumn |
2148 | { |
2149 | get |
2150 | { |
2151 | return this.columnGraphicsDriver; |
2152 | } |
2153 | } |
2154 | |
2155 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2156 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2157 | public global::System.Data.DataColumn ConfigFileColumn |
2158 | { |
2159 | get |
2160 | { |
2161 | return this.columnConfigFile; |
2162 | } |
2163 | } |
2164 | |
2165 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2166 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2167 | public global::System.Data.DataColumn DebugColumn |
2168 | { |
2169 | get |
2170 | { |
2171 | return this.columnDebug; |
2172 | } |
2173 | } |
2174 | |
2175 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2176 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2177 | public global::System.Data.DataColumn BootPictureWidthColumn |
2178 | { |
2179 | get |
2180 | { |
2181 | return this.columnBootPictureWidth; |
2182 | } |
2183 | } |
2184 | |
2185 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2186 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2187 | public global::System.Data.DataColumn BootPictureHeightColumn |
2188 | { |
2189 | get |
2190 | { |
2191 | return this.columnBootPictureHeight; |
2192 | } |
2193 | } |
2194 | |
2195 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2196 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2197 | public global::System.Data.DataColumn BootPictureProgressBarColumn |
2198 | { |
2199 | get |
2200 | { |
2201 | return this.columnBootPictureProgressBar; |
2202 | } |
2203 | } |
2204 | |
2205 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2206 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2207 | public global::System.Data.DataColumn BootPicturePngColumn |
2208 | { |
2209 | get |
2210 | { |
2211 | return this.columnBootPicturePng; |
2212 | } |
2213 | } |
2214 | |
2215 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2216 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2217 | public global::System.Data.DataColumn BootPackageColumn |
2218 | { |
2219 | get |
2220 | { |
2221 | return this.columnBootPackage; |
2222 | } |
2223 | } |
2224 | |
2225 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2226 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2227 | [global::System.ComponentModel.Browsable(false)] |
2228 | public int Count |
2229 | { |
2230 | get |
2231 | { |
2232 | return this.Rows.Count; |
2233 | } |
2234 | } |
2235 | |
2236 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2237 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2238 | public ImageRow this[int index] |
2239 | { |
2240 | get |
2241 | { |
2242 | return ((ImageRow)(this.Rows[index])); |
2243 | } |
2244 | } |
2245 | |
2246 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2247 | public event ImageRowChangeEventHandler ImageRowChanging; |
2248 | |
2249 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2250 | public event ImageRowChangeEventHandler ImageRowChanged; |
2251 | |
2252 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2253 | public event ImageRowChangeEventHandler ImageRowDeleting; |
2254 | |
2255 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2256 | public event ImageRowChangeEventHandler ImageRowDeleted; |
2257 | |
2258 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2259 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2260 | public void AddImageRow(ImageRow row) |
2261 | { |
2262 | this.Rows.Add(row); |
2263 | } |
2264 | |
2265 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2266 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2267 | public ImageRow AddImageRow( |
2268 | bool UseDHCP, |
2269 | string ClientIPAddress, |
2270 | string ClientIPNetmask, |
2271 | string ClientIPGateway, |
2272 | string ClientIPDNS1, |
2273 | string ClientIPDNS2, |
2274 | string ClientIPDNSSuffix, |
2275 | string ClientBootServer, |
2276 | bool OnlyUseRDP, |
2277 | int BootPicture, |
2278 | string NetworkDriver, |
2279 | int SoundType, |
2280 | string SoundDriver, |
2281 | string Name, |
2282 | string GraphicsDriver, |
2283 | bool ConfigFile, |
2284 | int Debug, |
2285 | int BootPictureWidth, |
2286 | int BootPictureHeight, |
2287 | int BootPictureProgressBar, |
2288 | byte[] BootPicturePng, |
2289 | int BootPackage) |
2290 | { |
2291 | ImageRow rowImageRow = ((ImageRow)(this.NewRow())); |
2292 | object[] columnValuesArray = new object[] { |
2293 | UseDHCP, |
2294 | ClientIPAddress, |
2295 | ClientIPNetmask, |
2296 | ClientIPGateway, |
2297 | ClientIPDNS1, |
2298 | ClientIPDNS2, |
2299 | ClientIPDNSSuffix, |
2300 | ClientBootServer, |
2301 | OnlyUseRDP, |
2302 | BootPicture, |
2303 | NetworkDriver, |
2304 | SoundType, |
2305 | SoundDriver, |
2306 | Name, |
2307 | GraphicsDriver, |
2308 | ConfigFile, |
2309 | Debug, |
2310 | BootPictureWidth, |
2311 | BootPictureHeight, |
2312 | BootPictureProgressBar, |
2313 | BootPicturePng, |
2314 | BootPackage}; |
2315 | rowImageRow.ItemArray = columnValuesArray; |
2316 | this.Rows.Add(rowImageRow); |
2317 | return rowImageRow; |
2318 | } |
2319 | |
2320 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2321 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2322 | public ImageRow FindByName(string Name) |
2323 | { |
2324 | return ((ImageRow)(this.Rows.Find(new object[] { |
2325 | Name}))); |
2326 | } |
2327 | |
2328 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2329 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2330 | public virtual global::System.Collections.IEnumerator GetEnumerator() |
2331 | { |
2332 | return this.Rows.GetEnumerator(); |
2333 | } |
2334 | |
2335 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2336 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2337 | public override global::System.Data.DataTable Clone() |
2338 | { |
2339 | ImageDataTable cln = ((ImageDataTable)(base.Clone())); |
2340 | cln.InitVars(); |
2341 | return cln; |
2342 | } |
2343 | |
2344 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2345 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2346 | protected override global::System.Data.DataTable CreateInstance() |
2347 | { |
2348 | return new ImageDataTable(); |
2349 | } |
2350 | |
2351 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2352 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2353 | internal void InitVars() |
2354 | { |
2355 | this.columnUseDHCP = base.Columns["UseDHCP"]; |
2356 | this.columnClientIPAddress = base.Columns["ClientIPAddress"]; |
2357 | this.columnClientIPNetmask = base.Columns["ClientIPNetmask"]; |
2358 | this.columnClientIPGateway = base.Columns["ClientIPGateway"]; |
2359 | this.columnClientIPDNS1 = base.Columns["ClientIPDNS1"]; |
2360 | this.columnClientIPDNS2 = base.Columns["ClientIPDNS2"]; |
2361 | this.columnClientIPDNSSuffix = base.Columns["ClientIPDNSSuffix"]; |
2362 | this.columnClientBootServer = base.Columns["ClientBootServer"]; |
2363 | this.columnOnlyUseRDP = base.Columns["OnlyUseRDP"]; |
2364 | this.columnBootPicture = base.Columns["BootPicture"]; |
2365 | this.columnNetworkDriver = base.Columns["NetworkDriver"]; |
2366 | this.columnSoundType = base.Columns["SoundType"]; |
2367 | this.columnSoundDriver = base.Columns["SoundDriver"]; |
2368 | this.columnName = base.Columns["Name"]; |
2369 | this.columnGraphicsDriver = base.Columns["GraphicsDriver"]; |
2370 | this.columnConfigFile = base.Columns["ConfigFile"]; |
2371 | this.columnDebug = base.Columns["Debug"]; |
2372 | this.columnBootPictureWidth = base.Columns["BootPictureWidth"]; |
2373 | this.columnBootPictureHeight = base.Columns["BootPictureHeight"]; |
2374 | this.columnBootPictureProgressBar = base.Columns["BootPictureProgressBar"]; |
2375 | this.columnBootPicturePng = base.Columns["BootPicturePng"]; |
2376 | this.columnBootPackage = base.Columns["BootPackage"]; |
2377 | } |
2378 | |
2379 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2380 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2381 | private void InitClass() |
2382 | { |
2383 | this.columnUseDHCP = new global::System.Data.DataColumn("UseDHCP", typeof(bool), null, global::System.Data.MappingType.Element); |
2384 | base.Columns.Add(this.columnUseDHCP); |
2385 | this.columnClientIPAddress = new global::System.Data.DataColumn("ClientIPAddress", typeof(string), null, global::System.Data.MappingType.Element); |
2386 | base.Columns.Add(this.columnClientIPAddress); |
2387 | this.columnClientIPNetmask = new global::System.Data.DataColumn("ClientIPNetmask", typeof(string), null, global::System.Data.MappingType.Element); |
2388 | base.Columns.Add(this.columnClientIPNetmask); |
2389 | this.columnClientIPGateway = new global::System.Data.DataColumn("ClientIPGateway", typeof(string), null, global::System.Data.MappingType.Element); |
2390 | base.Columns.Add(this.columnClientIPGateway); |
2391 | this.columnClientIPDNS1 = new global::System.Data.DataColumn("ClientIPDNS1", typeof(string), null, global::System.Data.MappingType.Element); |
2392 | base.Columns.Add(this.columnClientIPDNS1); |
2393 | this.columnClientIPDNS2 = new global::System.Data.DataColumn("ClientIPDNS2", typeof(string), null, global::System.Data.MappingType.Element); |
2394 | base.Columns.Add(this.columnClientIPDNS2); |
2395 | this.columnClientIPDNSSuffix = new global::System.Data.DataColumn("ClientIPDNSSuffix", typeof(string), null, global::System.Data.MappingType.Element); |
2396 | base.Columns.Add(this.columnClientIPDNSSuffix); |
2397 | this.columnClientBootServer = new global::System.Data.DataColumn("ClientBootServer", typeof(string), null, global::System.Data.MappingType.Element); |
2398 | base.Columns.Add(this.columnClientBootServer); |
2399 | this.columnOnlyUseRDP = new global::System.Data.DataColumn("OnlyUseRDP", typeof(bool), null, global::System.Data.MappingType.Element); |
2400 | base.Columns.Add(this.columnOnlyUseRDP); |
2401 | this.columnBootPicture = new global::System.Data.DataColumn("BootPicture", typeof(int), null, global::System.Data.MappingType.Element); |
2402 | base.Columns.Add(this.columnBootPicture); |
2403 | this.columnNetworkDriver = new global::System.Data.DataColumn("NetworkDriver", typeof(string), null, global::System.Data.MappingType.Element); |
2404 | base.Columns.Add(this.columnNetworkDriver); |
2405 | this.columnSoundType = new global::System.Data.DataColumn("SoundType", typeof(int), null, global::System.Data.MappingType.Element); |
2406 | base.Columns.Add(this.columnSoundType); |
2407 | this.columnSoundDriver = new global::System.Data.DataColumn("SoundDriver", typeof(string), null, global::System.Data.MappingType.Element); |
2408 | base.Columns.Add(this.columnSoundDriver); |
2409 | this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element); |
2410 | base.Columns.Add(this.columnName); |
2411 | this.columnGraphicsDriver = new global::System.Data.DataColumn("GraphicsDriver", typeof(string), null, global::System.Data.MappingType.Element); |
2412 | base.Columns.Add(this.columnGraphicsDriver); |
2413 | this.columnConfigFile = new global::System.Data.DataColumn("ConfigFile", typeof(bool), null, global::System.Data.MappingType.Element); |
2414 | base.Columns.Add(this.columnConfigFile); |
2415 | this.columnDebug = new global::System.Data.DataColumn("Debug", typeof(int), null, global::System.Data.MappingType.Element); |
2416 | base.Columns.Add(this.columnDebug); |
2417 | this.columnBootPictureWidth = new global::System.Data.DataColumn("BootPictureWidth", typeof(int), null, global::System.Data.MappingType.Element); |
2418 | base.Columns.Add(this.columnBootPictureWidth); |
2419 | this.columnBootPictureHeight = new global::System.Data.DataColumn("BootPictureHeight", typeof(int), null, global::System.Data.MappingType.Element); |
2420 | base.Columns.Add(this.columnBootPictureHeight); |
2421 | this.columnBootPictureProgressBar = new global::System.Data.DataColumn("BootPictureProgressBar", typeof(int), null, global::System.Data.MappingType.Element); |
2422 | base.Columns.Add(this.columnBootPictureProgressBar); |
2423 | this.columnBootPicturePng = new global::System.Data.DataColumn("BootPicturePng", typeof(byte[]), null, global::System.Data.MappingType.Element); |
2424 | base.Columns.Add(this.columnBootPicturePng); |
2425 | this.columnBootPackage = new global::System.Data.DataColumn("BootPackage", typeof(int), null, global::System.Data.MappingType.Element); |
2426 | base.Columns.Add(this.columnBootPackage); |
2427 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |
2428 | this.columnName}, true)); |
2429 | this.columnClientIPAddress.MaxLength = 39; |
2430 | this.columnClientIPNetmask.MaxLength = 39; |
2431 | this.columnClientIPGateway.MaxLength = 39; |
2432 | this.columnClientIPDNS1.MaxLength = 39; |
2433 | this.columnClientIPDNS2.MaxLength = 39; |
2434 | this.columnClientIPDNSSuffix.MaxLength = 200; |
2435 | this.columnClientBootServer.MaxLength = 200; |
2436 | this.columnNetworkDriver.MaxLength = 100; |
2437 | this.columnSoundDriver.MaxLength = 100; |
2438 | this.columnName.AllowDBNull = false; |
2439 | this.columnName.Unique = true; |
2440 | this.columnName.MaxLength = 50; |
2441 | this.columnGraphicsDriver.MaxLength = 100; |
2442 | } |
2443 | |
2444 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2445 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2446 | public ImageRow NewImageRow() |
2447 | { |
2448 | return ((ImageRow)(this.NewRow())); |
2449 | } |
2450 | |
2451 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2452 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2453 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) |
2454 | { |
2455 | return new ImageRow(builder); |
2456 | } |
2457 | |
2458 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2459 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2460 | protected override global::System.Type GetRowType() |
2461 | { |
2462 | return typeof(ImageRow); |
2463 | } |
2464 | |
2465 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2466 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2467 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) |
2468 | { |
2469 | base.OnRowChanged(e); |
2470 | if ((this.ImageRowChanged != null)) |
2471 | { |
2472 | this.ImageRowChanged(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); |
2473 | } |
2474 | } |
2475 | |
2476 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2477 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2478 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) |
2479 | { |
2480 | base.OnRowChanging(e); |
2481 | if ((this.ImageRowChanging != null)) |
2482 | { |
2483 | this.ImageRowChanging(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); |
2484 | } |
2485 | } |
2486 | |
2487 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2488 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2489 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) |
2490 | { |
2491 | base.OnRowDeleted(e); |
2492 | if ((this.ImageRowDeleted != null)) |
2493 | { |
2494 | this.ImageRowDeleted(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); |
2495 | } |
2496 | } |
2497 | |
2498 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2499 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2500 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) |
2501 | { |
2502 | base.OnRowDeleting(e); |
2503 | if ((this.ImageRowDeleting != null)) |
2504 | { |
2505 | this.ImageRowDeleting(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); |
2506 | } |
2507 | } |
2508 | |
2509 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2510 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2511 | public void RemoveImageRow(ImageRow row) |
2512 | { |
2513 | this.Rows.Remove(row); |
2514 | } |
2515 | |
2516 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2517 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2518 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) |
2519 | { |
2520 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); |
2521 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); |
2522 | atsDataSet ds = new atsDataSet(); |
2523 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); |
2524 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; |
2525 | any1.MinOccurs = new decimal(0); |
2526 | any1.MaxOccurs = decimal.MaxValue; |
2527 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
2528 | sequence.Items.Add(any1); |
2529 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); |
2530 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; |
2531 | any2.MinOccurs = new decimal(1); |
2532 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
2533 | sequence.Items.Add(any2); |
2534 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
2535 | attribute1.Name = "namespace"; |
2536 | attribute1.FixedValue = ds.Namespace; |
2537 | type.Attributes.Add(attribute1); |
2538 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
2539 | attribute2.Name = "tableTypeName"; |
2540 | attribute2.FixedValue = "ImageDataTable"; |
2541 | type.Attributes.Add(attribute2); |
2542 | type.Particle = sequence; |
2543 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); |
2544 | if (xs.Contains(dsSchema.TargetNamespace)) |
2545 | { |
2546 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); |
2547 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); |
2548 | try |
2549 | { |
2550 | global::System.Xml.Schema.XmlSchema schema = null; |
2551 | dsSchema.Write(s1); |
2552 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) |
2553 | { |
2554 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); |
2555 | s2.SetLength(0); |
2556 | schema.Write(s2); |
2557 | if ((s1.Length == s2.Length)) |
2558 | { |
2559 | s1.Position = 0; |
2560 | s2.Position = 0; |
2561 | for (; ((s1.Position != s1.Length) |
2562 | && (s1.ReadByte() == s2.ReadByte())); ) |
2563 | { |
2564 | ; |
2565 | } |
2566 | if ((s1.Position == s1.Length)) |
2567 | { |
2568 | return type; |
2569 | } |
2570 | } |
2571 | } |
2572 | } |
2573 | finally |
2574 | { |
2575 | if ((s1 != null)) |
2576 | { |
2577 | s1.Close(); |
2578 | } |
2579 | if ((s2 != null)) |
2580 | { |
2581 | s2.Close(); |
2582 | } |
2583 | } |
2584 | } |
2585 | xs.Add(dsSchema); |
2586 | return type; |
2587 | } |
2588 | } |
2589 | |
2590 | /// <summary> |
2591 | ///Represents the strongly named DataTable class. |
2592 | ///</summary> |
2593 | [global::System.Serializable()] |
2594 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] |
2595 | public partial class TerminalServerDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable |
2596 | { |
2597 | |
2598 | private global::System.Data.DataColumn columnPath; |
2599 | |
2600 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2601 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2602 | public TerminalServerDataTable() |
2603 | { |
2604 | this.TableName = "TerminalServer"; |
2605 | this.BeginInit(); |
2606 | this.InitClass(); |
2607 | this.EndInit(); |
2608 | } |
2609 | |
2610 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2611 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2612 | internal TerminalServerDataTable(global::System.Data.DataTable table) |
2613 | { |
2614 | this.TableName = table.TableName; |
2615 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) |
2616 | { |
2617 | this.CaseSensitive = table.CaseSensitive; |
2618 | } |
2619 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) |
2620 | { |
2621 | this.Locale = table.Locale; |
2622 | } |
2623 | if ((table.Namespace != table.DataSet.Namespace)) |
2624 | { |
2625 | this.Namespace = table.Namespace; |
2626 | } |
2627 | this.Prefix = table.Prefix; |
2628 | this.MinimumCapacity = table.MinimumCapacity; |
2629 | } |
2630 | |
2631 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2632 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2633 | protected TerminalServerDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
2634 | base(info, context) |
2635 | { |
2636 | this.InitVars(); |
2637 | } |
2638 | |
2639 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2640 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2641 | public global::System.Data.DataColumn PathColumn |
2642 | { |
2643 | get |
2644 | { |
2645 | return this.columnPath; |
2646 | } |
2647 | } |
2648 | |
2649 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2650 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2651 | [global::System.ComponentModel.Browsable(false)] |
2652 | public int Count |
2653 | { |
2654 | get |
2655 | { |
2656 | return this.Rows.Count; |
2657 | } |
2658 | } |
2659 | |
2660 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2661 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2662 | public TerminalServerRow this[int index] |
2663 | { |
2664 | get |
2665 | { |
2666 | return ((TerminalServerRow)(this.Rows[index])); |
2667 | } |
2668 | } |
2669 | |
2670 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2671 | public event TerminalServerRowChangeEventHandler TerminalServerRowChanging; |
2672 | |
2673 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2674 | public event TerminalServerRowChangeEventHandler TerminalServerRowChanged; |
2675 | |
2676 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2677 | public event TerminalServerRowChangeEventHandler TerminalServerRowDeleting; |
2678 | |
2679 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2680 | public event TerminalServerRowChangeEventHandler TerminalServerRowDeleted; |
2681 | |
2682 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2683 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2684 | public void AddTerminalServerRow(TerminalServerRow row) |
2685 | { |
2686 | this.Rows.Add(row); |
2687 | } |
2688 | |
2689 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2690 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2691 | public TerminalServerRow AddTerminalServerRow(string Path) |
2692 | { |
2693 | TerminalServerRow rowTerminalServerRow = ((TerminalServerRow)(this.NewRow())); |
2694 | object[] columnValuesArray = new object[] { |
2695 | Path}; |
2696 | rowTerminalServerRow.ItemArray = columnValuesArray; |
2697 | this.Rows.Add(rowTerminalServerRow); |
2698 | return rowTerminalServerRow; |
2699 | } |
2700 | |
2701 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2702 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2703 | public TerminalServerRow FindByPath(string Path) |
2704 | { |
2705 | return ((TerminalServerRow)(this.Rows.Find(new object[] { |
2706 | Path}))); |
2707 | } |
2708 | |
2709 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2710 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2711 | public virtual global::System.Collections.IEnumerator GetEnumerator() |
2712 | { |
2713 | return this.Rows.GetEnumerator(); |
2714 | } |
2715 | |
2716 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2717 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2718 | public override global::System.Data.DataTable Clone() |
2719 | { |
2720 | TerminalServerDataTable cln = ((TerminalServerDataTable)(base.Clone())); |
2721 | cln.InitVars(); |
2722 | return cln; |
2723 | } |
2724 | |
2725 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2726 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2727 | protected override global::System.Data.DataTable CreateInstance() |
2728 | { |
2729 | return new TerminalServerDataTable(); |
2730 | } |
2731 | |
2732 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2733 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2734 | internal void InitVars() |
2735 | { |
2736 | this.columnPath = base.Columns["Path"]; |
2737 | } |
2738 | |
2739 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2740 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2741 | private void InitClass() |
2742 | { |
2743 | this.columnPath = new global::System.Data.DataColumn("Path", typeof(string), null, global::System.Data.MappingType.Element); |
2744 | base.Columns.Add(this.columnPath); |
2745 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |
2746 | this.columnPath}, true)); |
2747 | this.columnPath.AllowDBNull = false; |
2748 | this.columnPath.Unique = true; |
2749 | this.columnPath.MaxLength = 255; |
2750 | } |
2751 | |
2752 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2753 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2754 | public TerminalServerRow NewTerminalServerRow() |
2755 | { |
2756 | return ((TerminalServerRow)(this.NewRow())); |
2757 | } |
2758 | |
2759 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2760 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2761 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) |
2762 | { |
2763 | return new TerminalServerRow(builder); |
2764 | } |
2765 | |
2766 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2767 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2768 | protected override global::System.Type GetRowType() |
2769 | { |
2770 | return typeof(TerminalServerRow); |
2771 | } |
2772 | |
2773 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2774 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2775 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) |
2776 | { |
2777 | base.OnRowChanged(e); |
2778 | if ((this.TerminalServerRowChanged != null)) |
2779 | { |
2780 | this.TerminalServerRowChanged(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); |
2781 | } |
2782 | } |
2783 | |
2784 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2785 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2786 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) |
2787 | { |
2788 | base.OnRowChanging(e); |
2789 | if ((this.TerminalServerRowChanging != null)) |
2790 | { |
2791 | this.TerminalServerRowChanging(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); |
2792 | } |
2793 | } |
2794 | |
2795 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2796 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2797 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) |
2798 | { |
2799 | base.OnRowDeleted(e); |
2800 | if ((this.TerminalServerRowDeleted != null)) |
2801 | { |
2802 | this.TerminalServerRowDeleted(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); |
2803 | } |
2804 | } |
2805 | |
2806 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2807 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2808 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) |
2809 | { |
2810 | base.OnRowDeleting(e); |
2811 | if ((this.TerminalServerRowDeleting != null)) |
2812 | { |
2813 | this.TerminalServerRowDeleting(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); |
2814 | } |
2815 | } |
2816 | |
2817 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2818 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2819 | public void RemoveTerminalServerRow(TerminalServerRow row) |
2820 | { |
2821 | this.Rows.Remove(row); |
2822 | } |
2823 | |
2824 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2825 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2826 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) |
2827 | { |
2828 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); |
2829 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); |
2830 | atsDataSet ds = new atsDataSet(); |
2831 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); |
2832 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; |
2833 | any1.MinOccurs = new decimal(0); |
2834 | any1.MaxOccurs = decimal.MaxValue; |
2835 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
2836 | sequence.Items.Add(any1); |
2837 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); |
2838 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; |
2839 | any2.MinOccurs = new decimal(1); |
2840 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; |
2841 | sequence.Items.Add(any2); |
2842 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
2843 | attribute1.Name = "namespace"; |
2844 | attribute1.FixedValue = ds.Namespace; |
2845 | type.Attributes.Add(attribute1); |
2846 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); |
2847 | attribute2.Name = "tableTypeName"; |
2848 | attribute2.FixedValue = "TerminalServerDataTable"; |
2849 | type.Attributes.Add(attribute2); |
2850 | type.Particle = sequence; |
2851 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); |
2852 | if (xs.Contains(dsSchema.TargetNamespace)) |
2853 | { |
2854 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); |
2855 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); |
2856 | try |
2857 | { |
2858 | global::System.Xml.Schema.XmlSchema schema = null; |
2859 | dsSchema.Write(s1); |
2860 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) |
2861 | { |
2862 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); |
2863 | s2.SetLength(0); |
2864 | schema.Write(s2); |
2865 | if ((s1.Length == s2.Length)) |
2866 | { |
2867 | s1.Position = 0; |
2868 | s2.Position = 0; |
2869 | for (; ((s1.Position != s1.Length) |
2870 | && (s1.ReadByte() == s2.ReadByte())); ) |
2871 | { |
2872 | ; |
2873 | } |
2874 | if ((s1.Position == s1.Length)) |
2875 | { |
2876 | return type; |
2877 | } |
2878 | } |
2879 | } |
2880 | } |
2881 | finally |
2882 | { |
2883 | if ((s1 != null)) |
2884 | { |
2885 | s1.Close(); |
2886 | } |
2887 | if ((s2 != null)) |
2888 | { |
2889 | s2.Close(); |
2890 | } |
2891 | } |
2892 | } |
2893 | xs.Add(dsSchema); |
2894 | return type; |
2895 | } |
2896 | } |
2897 | |
2898 | /// <summary> |
2899 | ///Represents the strongly named DataTable class. |
2900 | ///</summary> |
2901 | [global::System.Serializable()] |
2902 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] |
2903 | public partial class TftpServerDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable |
2904 | { |
2905 | |
2906 | private global::System.Data.DataColumn columnPath; |
2907 | |
2908 | private global::System.Data.DataColumn columnLocalPath; |
2909 | |
2910 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2911 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2912 | public TftpServerDataTable() |
2913 | { |
2914 | this.TableName = "TftpServer"; |
2915 | this.BeginInit(); |
2916 | this.InitClass(); |
2917 | this.EndInit(); |
2918 | } |
2919 | |
2920 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2921 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2922 | internal TftpServerDataTable(global::System.Data.DataTable table) |
2923 | { |
2924 | this.TableName = table.TableName; |
2925 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) |
2926 | { |
2927 | this.CaseSensitive = table.CaseSensitive; |
2928 | } |
2929 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) |
2930 | { |
2931 | this.Locale = table.Locale; |
2932 | } |
2933 | if ((table.Namespace != table.DataSet.Namespace)) |
2934 | { |
2935 | this.Namespace = table.Namespace; |
2936 | } |
2937 | this.Prefix = table.Prefix; |
2938 | this.MinimumCapacity = table.MinimumCapacity; |
2939 | } |
2940 | |
2941 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2942 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2943 | protected TftpServerDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : |
2944 | base(info, context) |
2945 | { |
2946 | this.InitVars(); |
2947 | } |
2948 | |
2949 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2950 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2951 | public global::System.Data.DataColumn PathColumn |
2952 | { |
2953 | get |
2954 | { |
2955 | return this.columnPath; |
2956 | } |
2957 | } |
2958 | |
2959 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2960 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2961 | public global::System.Data.DataColumn LocalPathColumn |
2962 | { |
2963 | get |
2964 | { |
2965 | return this.columnLocalPath; |
2966 | } |
2967 | } |
2968 | |
2969 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2970 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2971 | [global::System.ComponentModel.Browsable(false)] |
2972 | public int Count |
2973 | { |
2974 | get |
2975 | { |
2976 | return this.Rows.Count; |
2977 | } |
2978 | } |
2979 | |
2980 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2981 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2982 | public TftpServerRow this[int index] |
2983 | { |
2984 | get |
2985 | { |
2986 | return ((TftpServerRow)(this.Rows[index])); |
2987 | } |
2988 | } |
2989 | |
2990 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2991 | public event TftpServerRowChangeEventHandler TftpServerRowChanging; |
2992 | |
2993 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2994 | public event TftpServerRowChangeEventHandler TftpServerRowChanged; |
2995 | |
2996 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
2997 | public event TftpServerRowChangeEventHandler TftpServerRowDeleting; |
2998 | |
2999 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
3000 | public event TftpServerRowChangeEventHandler TftpServerRowDeleted; |
3001 | |
3002 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
3003 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
3004 | public void AddTftpServerRow(TftpServerRow row) |
3005 | { |
3006 | this.Rows.Add(row); |
3007 | } |
3008 | |
3009 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
3010 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
3011 | public TftpServerRow AddTftpServerRow(string Path, string LocalPath) |
3012 | { |
3013 | TftpServerRow rowTftpServerRow = ((TftpServerRow)(this.NewRow())); |
3014 | object[] columnValuesArray = new object[] { |
3015 | Path, |
3016 | LocalPath}; |
3017 | rowTftpServerRow.ItemArray = columnValuesArray; |
3018 | this.Rows.Add(rowTftpServerRow); |
3019 | return rowTftpServerRow; |
3020 | } |
3021 | |
3022 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
3023 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |
3024 | public TftpServerRow FindByPath(string Path) |
3025 | { |
3026 | return ((TftpServerRow |