Parent Directory
|
Revision Log
+ turnoff DEBUG constant and change debug info from: pdb-only to full
1 | william | 4 | //------------------------------------------------------------------------------ |
2 | // <auto-generated> | ||
3 | // This code was generated by a tool. | ||
4 | william | 11 | // Runtime Version:2.0.50727.5456 |
5 | william | 4 | // |
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 | /// <summary> | ||
17 | ///Represents a strongly typed in-memory cache of data. | ||
18 | ///</summary> | ||
19 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] | ||
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 | private ClientDataTable tableClient; | ||
29 | |||
30 | private GroupDataTable tableGroup; | ||
31 | |||
32 | private ImageDataTable tableImage; | ||
33 | |||
34 | private TerminalServerDataTable tableTerminalServer; | ||
35 | |||
36 | private TftpServerDataTable tableTftpServer; | ||
37 | |||
38 | private AppInfoDataTable tableAppInfo; | ||
39 | |||
40 | private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; | ||
41 | |||
42 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
43 | public atsDataSet() { | ||
44 | this.BeginInit(); | ||
45 | this.InitClass(); | ||
46 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); | ||
47 | base.Tables.CollectionChanged += schemaChangedHandler; | ||
48 | base.Relations.CollectionChanged += schemaChangedHandler; | ||
49 | this.EndInit(); | ||
50 | } | ||
51 | |||
52 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
53 | protected atsDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : | ||
54 | base(info, context, false) { | ||
55 | if ((this.IsBinarySerialized(info, context) == true)) { | ||
56 | this.InitVars(false); | ||
57 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); | ||
58 | this.Tables.CollectionChanged += schemaChangedHandler1; | ||
59 | this.Relations.CollectionChanged += schemaChangedHandler1; | ||
60 | return; | ||
61 | } | ||
62 | string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); | ||
63 | if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { | ||
64 | global::System.Data.DataSet ds = new global::System.Data.DataSet(); | ||
65 | ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); | ||
66 | if ((ds.Tables["Client"] != null)) { | ||
67 | base.Tables.Add(new ClientDataTable(ds.Tables["Client"])); | ||
68 | } | ||
69 | if ((ds.Tables["Group"] != null)) { | ||
70 | base.Tables.Add(new GroupDataTable(ds.Tables["Group"])); | ||
71 | } | ||
72 | if ((ds.Tables["Image"] != null)) { | ||
73 | base.Tables.Add(new ImageDataTable(ds.Tables["Image"])); | ||
74 | } | ||
75 | if ((ds.Tables["TerminalServer"] != null)) { | ||
76 | base.Tables.Add(new TerminalServerDataTable(ds.Tables["TerminalServer"])); | ||
77 | } | ||
78 | if ((ds.Tables["TftpServer"] != null)) { | ||
79 | base.Tables.Add(new TftpServerDataTable(ds.Tables["TftpServer"])); | ||
80 | } | ||
81 | if ((ds.Tables["AppInfo"] != null)) { | ||
82 | base.Tables.Add(new AppInfoDataTable(ds.Tables["AppInfo"])); | ||
83 | } | ||
84 | this.DataSetName = ds.DataSetName; | ||
85 | this.Prefix = ds.Prefix; | ||
86 | this.Namespace = ds.Namespace; | ||
87 | this.Locale = ds.Locale; | ||
88 | this.CaseSensitive = ds.CaseSensitive; | ||
89 | this.EnforceConstraints = ds.EnforceConstraints; | ||
90 | this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); | ||
91 | this.InitVars(); | ||
92 | } | ||
93 | else { | ||
94 | this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); | ||
95 | } | ||
96 | this.GetSerializationData(info, context); | ||
97 | global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); | ||
98 | base.Tables.CollectionChanged += schemaChangedHandler; | ||
99 | this.Relations.CollectionChanged += schemaChangedHandler; | ||
100 | } | ||
101 | |||
102 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
103 | [global::System.ComponentModel.Browsable(false)] | ||
104 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
105 | public ClientDataTable Client { | ||
106 | get { | ||
107 | return this.tableClient; | ||
108 | } | ||
109 | } | ||
110 | |||
111 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
112 | [global::System.ComponentModel.Browsable(false)] | ||
113 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
114 | public GroupDataTable Group { | ||
115 | get { | ||
116 | return this.tableGroup; | ||
117 | } | ||
118 | } | ||
119 | |||
120 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
121 | [global::System.ComponentModel.Browsable(false)] | ||
122 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
123 | public ImageDataTable Image { | ||
124 | get { | ||
125 | return this.tableImage; | ||
126 | } | ||
127 | } | ||
128 | |||
129 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
130 | [global::System.ComponentModel.Browsable(false)] | ||
131 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
132 | public TerminalServerDataTable TerminalServer { | ||
133 | get { | ||
134 | return this.tableTerminalServer; | ||
135 | } | ||
136 | } | ||
137 | |||
138 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
139 | [global::System.ComponentModel.Browsable(false)] | ||
140 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
141 | public TftpServerDataTable TftpServer { | ||
142 | get { | ||
143 | return this.tableTftpServer; | ||
144 | } | ||
145 | } | ||
146 | |||
147 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
148 | [global::System.ComponentModel.Browsable(false)] | ||
149 | [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||
150 | public AppInfoDataTable AppInfo { | ||
151 | get { | ||
152 | return this.tableAppInfo; | ||
153 | } | ||
154 | } | ||
155 | |||
156 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
157 | [global::System.ComponentModel.BrowsableAttribute(true)] | ||
158 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] | ||
159 | public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { | ||
160 | get { | ||
161 | return this._schemaSerializationMode; | ||
162 | } | ||
163 | set { | ||
164 | this._schemaSerializationMode = value; | ||
165 | } | ||
166 | } | ||
167 | |||
168 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
169 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] | ||
170 | public new global::System.Data.DataTableCollection Tables { | ||
171 | get { | ||
172 | return base.Tables; | ||
173 | } | ||
174 | } | ||
175 | |||
176 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
177 | [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] | ||
178 | public new global::System.Data.DataRelationCollection Relations { | ||
179 | get { | ||
180 | return base.Relations; | ||
181 | } | ||
182 | } | ||
183 | |||
184 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
185 | protected override void InitializeDerivedDataSet() { | ||
186 | this.BeginInit(); | ||
187 | this.InitClass(); | ||
188 | this.EndInit(); | ||
189 | } | ||
190 | |||
191 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
192 | public override global::System.Data.DataSet Clone() { | ||
193 | atsDataSet cln = ((atsDataSet)(base.Clone())); | ||
194 | cln.InitVars(); | ||
195 | cln.SchemaSerializationMode = this.SchemaSerializationMode; | ||
196 | return cln; | ||
197 | } | ||
198 | |||
199 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
200 | protected override bool ShouldSerializeTables() { | ||
201 | return false; | ||
202 | } | ||
203 | |||
204 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
205 | protected override bool ShouldSerializeRelations() { | ||
206 | return false; | ||
207 | } | ||
208 | |||
209 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
210 | protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { | ||
211 | if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { | ||
212 | this.Reset(); | ||
213 | global::System.Data.DataSet ds = new global::System.Data.DataSet(); | ||
214 | ds.ReadXml(reader); | ||
215 | if ((ds.Tables["Client"] != null)) { | ||
216 | base.Tables.Add(new ClientDataTable(ds.Tables["Client"])); | ||
217 | } | ||
218 | if ((ds.Tables["Group"] != null)) { | ||
219 | base.Tables.Add(new GroupDataTable(ds.Tables["Group"])); | ||
220 | } | ||
221 | if ((ds.Tables["Image"] != null)) { | ||
222 | base.Tables.Add(new ImageDataTable(ds.Tables["Image"])); | ||
223 | } | ||
224 | if ((ds.Tables["TerminalServer"] != null)) { | ||
225 | base.Tables.Add(new TerminalServerDataTable(ds.Tables["TerminalServer"])); | ||
226 | } | ||
227 | if ((ds.Tables["TftpServer"] != null)) { | ||
228 | base.Tables.Add(new TftpServerDataTable(ds.Tables["TftpServer"])); | ||
229 | } | ||
230 | if ((ds.Tables["AppInfo"] != null)) { | ||
231 | base.Tables.Add(new AppInfoDataTable(ds.Tables["AppInfo"])); | ||
232 | } | ||
233 | this.DataSetName = ds.DataSetName; | ||
234 | this.Prefix = ds.Prefix; | ||
235 | this.Namespace = ds.Namespace; | ||
236 | this.Locale = ds.Locale; | ||
237 | this.CaseSensitive = ds.CaseSensitive; | ||
238 | this.EnforceConstraints = ds.EnforceConstraints; | ||
239 | this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); | ||
240 | this.InitVars(); | ||
241 | } | ||
242 | else { | ||
243 | this.ReadXml(reader); | ||
244 | this.InitVars(); | ||
245 | } | ||
246 | } | ||
247 | |||
248 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
249 | protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { | ||
250 | global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); | ||
251 | this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); | ||
252 | stream.Position = 0; | ||
253 | return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); | ||
254 | } | ||
255 | |||
256 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
257 | internal void InitVars() { | ||
258 | this.InitVars(true); | ||
259 | } | ||
260 | |||
261 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
262 | internal void InitVars(bool initTable) { | ||
263 | this.tableClient = ((ClientDataTable)(base.Tables["Client"])); | ||
264 | if ((initTable == true)) { | ||
265 | if ((this.tableClient != null)) { | ||
266 | this.tableClient.InitVars(); | ||
267 | } | ||
268 | } | ||
269 | this.tableGroup = ((GroupDataTable)(base.Tables["Group"])); | ||
270 | if ((initTable == true)) { | ||
271 | if ((this.tableGroup != null)) { | ||
272 | this.tableGroup.InitVars(); | ||
273 | } | ||
274 | } | ||
275 | this.tableImage = ((ImageDataTable)(base.Tables["Image"])); | ||
276 | if ((initTable == true)) { | ||
277 | if ((this.tableImage != null)) { | ||
278 | this.tableImage.InitVars(); | ||
279 | } | ||
280 | } | ||
281 | this.tableTerminalServer = ((TerminalServerDataTable)(base.Tables["TerminalServer"])); | ||
282 | if ((initTable == true)) { | ||
283 | if ((this.tableTerminalServer != null)) { | ||
284 | this.tableTerminalServer.InitVars(); | ||
285 | } | ||
286 | } | ||
287 | this.tableTftpServer = ((TftpServerDataTable)(base.Tables["TftpServer"])); | ||
288 | if ((initTable == true)) { | ||
289 | if ((this.tableTftpServer != null)) { | ||
290 | this.tableTftpServer.InitVars(); | ||
291 | } | ||
292 | } | ||
293 | this.tableAppInfo = ((AppInfoDataTable)(base.Tables["AppInfo"])); | ||
294 | if ((initTable == true)) { | ||
295 | if ((this.tableAppInfo != null)) { | ||
296 | this.tableAppInfo.InitVars(); | ||
297 | } | ||
298 | } | ||
299 | } | ||
300 | |||
301 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
302 | private void InitClass() { | ||
303 | this.DataSetName = "atsDataSet"; | ||
304 | this.Prefix = ""; | ||
305 | this.Namespace = "http://tempuri.org/atsDataSet.xsd"; | ||
306 | this.EnforceConstraints = true; | ||
307 | this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; | ||
308 | this.tableClient = new ClientDataTable(); | ||
309 | base.Tables.Add(this.tableClient); | ||
310 | this.tableGroup = new GroupDataTable(); | ||
311 | base.Tables.Add(this.tableGroup); | ||
312 | this.tableImage = new ImageDataTable(); | ||
313 | base.Tables.Add(this.tableImage); | ||
314 | this.tableTerminalServer = new TerminalServerDataTable(); | ||
315 | base.Tables.Add(this.tableTerminalServer); | ||
316 | this.tableTftpServer = new TftpServerDataTable(); | ||
317 | base.Tables.Add(this.tableTftpServer); | ||
318 | this.tableAppInfo = new AppInfoDataTable(); | ||
319 | base.Tables.Add(this.tableAppInfo); | ||
320 | } | ||
321 | |||
322 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
323 | private bool ShouldSerializeClient() { | ||
324 | return false; | ||
325 | } | ||
326 | |||
327 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
328 | private bool ShouldSerializeGroup() { | ||
329 | return false; | ||
330 | } | ||
331 | |||
332 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
333 | private bool ShouldSerializeImage() { | ||
334 | return false; | ||
335 | } | ||
336 | |||
337 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
338 | private bool ShouldSerializeTerminalServer() { | ||
339 | return false; | ||
340 | } | ||
341 | |||
342 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
343 | private bool ShouldSerializeTftpServer() { | ||
344 | return false; | ||
345 | } | ||
346 | |||
347 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
348 | private bool ShouldSerializeAppInfo() { | ||
349 | return false; | ||
350 | } | ||
351 | |||
352 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
353 | private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { | ||
354 | if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { | ||
355 | this.InitVars(); | ||
356 | } | ||
357 | } | ||
358 | |||
359 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
360 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { | ||
361 | atsDataSet ds = new atsDataSet(); | ||
362 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); | ||
363 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); | ||
364 | global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); | ||
365 | any.Namespace = ds.Namespace; | ||
366 | sequence.Items.Add(any); | ||
367 | type.Particle = sequence; | ||
368 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); | ||
369 | if (xs.Contains(dsSchema.TargetNamespace)) { | ||
370 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); | ||
371 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); | ||
372 | try { | ||
373 | global::System.Xml.Schema.XmlSchema schema = null; | ||
374 | dsSchema.Write(s1); | ||
375 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { | ||
376 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); | ||
377 | s2.SetLength(0); | ||
378 | schema.Write(s2); | ||
379 | if ((s1.Length == s2.Length)) { | ||
380 | s1.Position = 0; | ||
381 | s2.Position = 0; | ||
382 | for (; ((s1.Position != s1.Length) | ||
383 | && (s1.ReadByte() == s2.ReadByte())); ) { | ||
384 | ; | ||
385 | } | ||
386 | if ((s1.Position == s1.Length)) { | ||
387 | return type; | ||
388 | } | ||
389 | } | ||
390 | } | ||
391 | } | ||
392 | finally { | ||
393 | if ((s1 != null)) { | ||
394 | s1.Close(); | ||
395 | } | ||
396 | if ((s2 != null)) { | ||
397 | s2.Close(); | ||
398 | } | ||
399 | } | ||
400 | } | ||
401 | xs.Add(dsSchema); | ||
402 | return type; | ||
403 | } | ||
404 | |||
405 | public delegate void ClientRowChangeEventHandler(object sender, ClientRowChangeEvent e); | ||
406 | |||
407 | public delegate void GroupRowChangeEventHandler(object sender, GroupRowChangeEvent e); | ||
408 | |||
409 | public delegate void ImageRowChangeEventHandler(object sender, ImageRowChangeEvent e); | ||
410 | |||
411 | public delegate void TerminalServerRowChangeEventHandler(object sender, TerminalServerRowChangeEvent e); | ||
412 | |||
413 | public delegate void TftpServerRowChangeEventHandler(object sender, TftpServerRowChangeEvent e); | ||
414 | |||
415 | public delegate void AppInfoRowChangeEventHandler(object sender, AppInfoRowChangeEvent e); | ||
416 | |||
417 | /// <summary> | ||
418 | ///Represents the strongly named DataTable class. | ||
419 | ///</summary> | ||
420 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] | ||
421 | [global::System.Serializable()] | ||
422 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] | ||
423 | public partial class ClientDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { | ||
424 | |||
425 | private global::System.Data.DataColumn columnClientName; | ||
426 | |||
427 | private global::System.Data.DataColumn columnMacAddress; | ||
428 | |||
429 | private global::System.Data.DataColumn columnGroup; | ||
430 | |||
431 | private global::System.Data.DataColumn columnScreenResolution; | ||
432 | |||
433 | private global::System.Data.DataColumn columnScreenColorDepth; | ||
434 | |||
435 | private global::System.Data.DataColumn columnAutoPlayCD; | ||
436 | |||
437 | private global::System.Data.DataColumn columnServerName; | ||
438 | |||
439 | private global::System.Data.DataColumn columnSessionType; | ||
440 | |||
441 | private global::System.Data.DataColumn columnReconnectPrompt; | ||
442 | |||
443 | private global::System.Data.DataColumn columnAudioLevel; | ||
444 | |||
445 | private global::System.Data.DataColumn columnMouseResolution; | ||
446 | |||
447 | private global::System.Data.DataColumn columnComment; | ||
448 | |||
449 | private global::System.Data.DataColumn columnUsername; | ||
450 | |||
451 | private global::System.Data.DataColumn columnPassword; | ||
452 | |||
453 | private global::System.Data.DataColumn columnServerDomain; | ||
454 | |||
455 | private global::System.Data.DataColumn columnServerVersion; | ||
456 | |||
457 | private global::System.Data.DataColumn columnRedirectFloppy; | ||
458 | |||
459 | private global::System.Data.DataColumn columnRedirectCD; | ||
460 | |||
461 | private global::System.Data.DataColumn columnRedirectSound; | ||
462 | |||
463 | private global::System.Data.DataColumn columnDigitalMonitor; | ||
464 | |||
465 | private global::System.Data.DataColumn columnIcaProtocol; | ||
466 | |||
467 | private global::System.Data.DataColumn columnIcaEncryption; | ||
468 | |||
469 | private global::System.Data.DataColumn columnIcaCompression; | ||
470 | |||
471 | private global::System.Data.DataColumn columnIcaAudioQuality; | ||
472 | |||
473 | private global::System.Data.DataColumn columnMiscFlippedFix; | ||
474 | |||
475 | private global::System.Data.DataColumn columnMiscMousefix; | ||
476 | |||
477 | private global::System.Data.DataColumn columnMiscNoAcceleration; | ||
478 | |||
479 | private global::System.Data.DataColumn columnDailyReboot; | ||
480 | |||
481 | private global::System.Data.DataColumn columnKeyboardMap; | ||
482 | |||
483 | private global::System.Data.DataColumn columnTimeZone; | ||
484 | |||
485 | private global::System.Data.DataColumn columnRedirectCom1; | ||
486 | |||
487 | private global::System.Data.DataColumn columnRedirectCom2; | ||
488 | |||
489 | private global::System.Data.DataColumn columnUsbDrive; | ||
490 | |||
491 | private global::System.Data.DataColumn columnUsbDriveName; | ||
492 | |||
493 | private global::System.Data.DataColumn columnNumLock; | ||
494 | |||
495 | private global::System.Data.DataColumn columnServerPort; | ||
496 | |||
497 | private global::System.Data.DataColumn columnCreated; | ||
498 | |||
499 | private global::System.Data.DataColumn columnModified; | ||
500 | |||
501 | private global::System.Data.DataColumn columnIcaApplicationSet; | ||
502 | |||
503 | private global::System.Data.DataColumn columnIcaServer; | ||
504 | |||
505 | private global::System.Data.DataColumn columnTempString; | ||
506 | |||
507 | private global::System.Data.DataColumn columnTempBit; | ||
508 | |||
509 | private global::System.Data.DataColumn columnTempInt; | ||
510 | |||
511 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
512 | public ClientDataTable() { | ||
513 | this.TableName = "Client"; | ||
514 | this.BeginInit(); | ||
515 | this.InitClass(); | ||
516 | this.EndInit(); | ||
517 | } | ||
518 | |||
519 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
520 | internal ClientDataTable(global::System.Data.DataTable table) { | ||
521 | this.TableName = table.TableName; | ||
522 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { | ||
523 | this.CaseSensitive = table.CaseSensitive; | ||
524 | } | ||
525 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { | ||
526 | this.Locale = table.Locale; | ||
527 | } | ||
528 | if ((table.Namespace != table.DataSet.Namespace)) { | ||
529 | this.Namespace = table.Namespace; | ||
530 | } | ||
531 | this.Prefix = table.Prefix; | ||
532 | this.MinimumCapacity = table.MinimumCapacity; | ||
533 | } | ||
534 | |||
535 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
536 | protected ClientDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : | ||
537 | base(info, context) { | ||
538 | this.InitVars(); | ||
539 | } | ||
540 | |||
541 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
542 | public global::System.Data.DataColumn ClientNameColumn { | ||
543 | get { | ||
544 | return this.columnClientName; | ||
545 | } | ||
546 | } | ||
547 | |||
548 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
549 | public global::System.Data.DataColumn MacAddressColumn { | ||
550 | get { | ||
551 | return this.columnMacAddress; | ||
552 | } | ||
553 | } | ||
554 | |||
555 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
556 | public global::System.Data.DataColumn GroupColumn { | ||
557 | get { | ||
558 | return this.columnGroup; | ||
559 | } | ||
560 | } | ||
561 | |||
562 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
563 | public global::System.Data.DataColumn ScreenResolutionColumn { | ||
564 | get { | ||
565 | return this.columnScreenResolution; | ||
566 | } | ||
567 | } | ||
568 | |||
569 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
570 | public global::System.Data.DataColumn ScreenColorDepthColumn { | ||
571 | get { | ||
572 | return this.columnScreenColorDepth; | ||
573 | } | ||
574 | } | ||
575 | |||
576 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
577 | public global::System.Data.DataColumn AutoPlayCDColumn { | ||
578 | get { | ||
579 | return this.columnAutoPlayCD; | ||
580 | } | ||
581 | } | ||
582 | |||
583 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
584 | public global::System.Data.DataColumn ServerNameColumn { | ||
585 | get { | ||
586 | return this.columnServerName; | ||
587 | } | ||
588 | } | ||
589 | |||
590 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
591 | public global::System.Data.DataColumn SessionTypeColumn { | ||
592 | get { | ||
593 | return this.columnSessionType; | ||
594 | } | ||
595 | } | ||
596 | |||
597 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
598 | public global::System.Data.DataColumn ReconnectPromptColumn { | ||
599 | get { | ||
600 | return this.columnReconnectPrompt; | ||
601 | } | ||
602 | } | ||
603 | |||
604 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
605 | public global::System.Data.DataColumn AudioLevelColumn { | ||
606 | get { | ||
607 | return this.columnAudioLevel; | ||
608 | } | ||
609 | } | ||
610 | |||
611 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
612 | public global::System.Data.DataColumn MouseResolutionColumn { | ||
613 | get { | ||
614 | return this.columnMouseResolution; | ||
615 | } | ||
616 | } | ||
617 | |||
618 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
619 | public global::System.Data.DataColumn CommentColumn { | ||
620 | get { | ||
621 | return this.columnComment; | ||
622 | } | ||
623 | } | ||
624 | |||
625 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
626 | public global::System.Data.DataColumn UsernameColumn { | ||
627 | get { | ||
628 | return this.columnUsername; | ||
629 | } | ||
630 | } | ||
631 | |||
632 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
633 | public global::System.Data.DataColumn PasswordColumn { | ||
634 | get { | ||
635 | return this.columnPassword; | ||
636 | } | ||
637 | } | ||
638 | |||
639 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
640 | public global::System.Data.DataColumn ServerDomainColumn { | ||
641 | get { | ||
642 | return this.columnServerDomain; | ||
643 | } | ||
644 | } | ||
645 | |||
646 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
647 | public global::System.Data.DataColumn ServerVersionColumn { | ||
648 | get { | ||
649 | return this.columnServerVersion; | ||
650 | } | ||
651 | } | ||
652 | |||
653 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
654 | public global::System.Data.DataColumn RedirectFloppyColumn { | ||
655 | get { | ||
656 | return this.columnRedirectFloppy; | ||
657 | } | ||
658 | } | ||
659 | |||
660 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
661 | public global::System.Data.DataColumn RedirectCDColumn { | ||
662 | get { | ||
663 | return this.columnRedirectCD; | ||
664 | } | ||
665 | } | ||
666 | |||
667 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
668 | public global::System.Data.DataColumn RedirectSoundColumn { | ||
669 | get { | ||
670 | return this.columnRedirectSound; | ||
671 | } | ||
672 | } | ||
673 | |||
674 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
675 | public global::System.Data.DataColumn DigitalMonitorColumn { | ||
676 | get { | ||
677 | return this.columnDigitalMonitor; | ||
678 | } | ||
679 | } | ||
680 | |||
681 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
682 | public global::System.Data.DataColumn IcaProtocolColumn { | ||
683 | get { | ||
684 | return this.columnIcaProtocol; | ||
685 | } | ||
686 | } | ||
687 | |||
688 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
689 | public global::System.Data.DataColumn IcaEncryptionColumn { | ||
690 | get { | ||
691 | return this.columnIcaEncryption; | ||
692 | } | ||
693 | } | ||
694 | |||
695 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
696 | public global::System.Data.DataColumn IcaCompressionColumn { | ||
697 | get { | ||
698 | return this.columnIcaCompression; | ||
699 | } | ||
700 | } | ||
701 | |||
702 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
703 | public global::System.Data.DataColumn IcaAudioQualityColumn { | ||
704 | get { | ||
705 | return this.columnIcaAudioQuality; | ||
706 | } | ||
707 | } | ||
708 | |||
709 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
710 | public global::System.Data.DataColumn MiscFlippedFixColumn { | ||
711 | get { | ||
712 | return this.columnMiscFlippedFix; | ||
713 | } | ||
714 | } | ||
715 | |||
716 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
717 | public global::System.Data.DataColumn MiscMousefixColumn { | ||
718 | get { | ||
719 | return this.columnMiscMousefix; | ||
720 | } | ||
721 | } | ||
722 | |||
723 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
724 | public global::System.Data.DataColumn MiscNoAccelerationColumn { | ||
725 | get { | ||
726 | return this.columnMiscNoAcceleration; | ||
727 | } | ||
728 | } | ||
729 | |||
730 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
731 | public global::System.Data.DataColumn DailyRebootColumn { | ||
732 | get { | ||
733 | return this.columnDailyReboot; | ||
734 | } | ||
735 | } | ||
736 | |||
737 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
738 | public global::System.Data.DataColumn KeyboardMapColumn { | ||
739 | get { | ||
740 | return this.columnKeyboardMap; | ||
741 | } | ||
742 | } | ||
743 | |||
744 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
745 | public global::System.Data.DataColumn TimeZoneColumn { | ||
746 | get { | ||
747 | return this.columnTimeZone; | ||
748 | } | ||
749 | } | ||
750 | |||
751 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
752 | public global::System.Data.DataColumn RedirectCom1Column { | ||
753 | get { | ||
754 | return this.columnRedirectCom1; | ||
755 | } | ||
756 | } | ||
757 | |||
758 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
759 | public global::System.Data.DataColumn RedirectCom2Column { | ||
760 | get { | ||
761 | return this.columnRedirectCom2; | ||
762 | } | ||
763 | } | ||
764 | |||
765 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
766 | public global::System.Data.DataColumn UsbDriveColumn { | ||
767 | get { | ||
768 | return this.columnUsbDrive; | ||
769 | } | ||
770 | } | ||
771 | |||
772 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
773 | public global::System.Data.DataColumn UsbDriveNameColumn { | ||
774 | get { | ||
775 | return this.columnUsbDriveName; | ||
776 | } | ||
777 | } | ||
778 | |||
779 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
780 | public global::System.Data.DataColumn NumLockColumn { | ||
781 | get { | ||
782 | return this.columnNumLock; | ||
783 | } | ||
784 | } | ||
785 | |||
786 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
787 | public global::System.Data.DataColumn ServerPortColumn { | ||
788 | get { | ||
789 | return this.columnServerPort; | ||
790 | } | ||
791 | } | ||
792 | |||
793 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
794 | public global::System.Data.DataColumn CreatedColumn { | ||
795 | get { | ||
796 | return this.columnCreated; | ||
797 | } | ||
798 | } | ||
799 | |||
800 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
801 | public global::System.Data.DataColumn ModifiedColumn { | ||
802 | get { | ||
803 | return this.columnModified; | ||
804 | } | ||
805 | } | ||
806 | |||
807 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
808 | public global::System.Data.DataColumn IcaApplicationSetColumn { | ||
809 | get { | ||
810 | return this.columnIcaApplicationSet; | ||
811 | } | ||
812 | } | ||
813 | |||
814 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
815 | public global::System.Data.DataColumn IcaServerColumn { | ||
816 | get { | ||
817 | return this.columnIcaServer; | ||
818 | } | ||
819 | } | ||
820 | |||
821 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
822 | public global::System.Data.DataColumn TempStringColumn { | ||
823 | get { | ||
824 | return this.columnTempString; | ||
825 | } | ||
826 | } | ||
827 | |||
828 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
829 | public global::System.Data.DataColumn TempBitColumn { | ||
830 | get { | ||
831 | return this.columnTempBit; | ||
832 | } | ||
833 | } | ||
834 | |||
835 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
836 | public global::System.Data.DataColumn TempIntColumn { | ||
837 | get { | ||
838 | return this.columnTempInt; | ||
839 | } | ||
840 | } | ||
841 | |||
842 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
843 | [global::System.ComponentModel.Browsable(false)] | ||
844 | public int Count { | ||
845 | get { | ||
846 | return this.Rows.Count; | ||
847 | } | ||
848 | } | ||
849 | |||
850 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
851 | public ClientRow this[int index] { | ||
852 | get { | ||
853 | return ((ClientRow)(this.Rows[index])); | ||
854 | } | ||
855 | } | ||
856 | |||
857 | public event ClientRowChangeEventHandler ClientRowChanging; | ||
858 | |||
859 | public event ClientRowChangeEventHandler ClientRowChanged; | ||
860 | |||
861 | public event ClientRowChangeEventHandler ClientRowDeleting; | ||
862 | |||
863 | public event ClientRowChangeEventHandler ClientRowDeleted; | ||
864 | |||
865 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
866 | public void AddClientRow(ClientRow row) { | ||
867 | this.Rows.Add(row); | ||
868 | } | ||
869 | |||
870 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
871 | public ClientRow AddClientRow( | ||
872 | string ClientName, | ||
873 | string MacAddress, | ||
874 | int Group, | ||
875 | string ScreenResolution, | ||
876 | string ScreenColorDepth, | ||
877 | bool AutoPlayCD, | ||
878 | string ServerName, | ||
879 | string SessionType, | ||
880 | bool ReconnectPrompt, | ||
881 | int AudioLevel, | ||
882 | int MouseResolution, | ||
883 | string Comment, | ||
884 | string Username, | ||
885 | string Password, | ||
886 | string ServerDomain, | ||
887 | string ServerVersion, | ||
888 | bool RedirectFloppy, | ||
889 | bool RedirectCD, | ||
890 | bool RedirectSound, | ||
891 | bool DigitalMonitor, | ||
892 | string IcaProtocol, | ||
893 | string IcaEncryption, | ||
894 | bool IcaCompression, | ||
895 | string IcaAudioQuality, | ||
896 | bool MiscFlippedFix, | ||
897 | bool MiscMousefix, | ||
898 | bool MiscNoAcceleration, | ||
899 | bool DailyReboot, | ||
900 | string KeyboardMap, | ||
901 | string TimeZone, | ||
902 | bool RedirectCom1, | ||
903 | bool RedirectCom2, | ||
904 | int UsbDrive, | ||
905 | string UsbDriveName, | ||
906 | bool NumLock, | ||
907 | int ServerPort, | ||
908 | System.DateTime Created, | ||
909 | System.DateTime Modified, | ||
910 | string IcaApplicationSet, | ||
911 | string IcaServer, | ||
912 | string TempString, | ||
913 | bool TempBit, | ||
914 | int TempInt) { | ||
915 | ClientRow rowClientRow = ((ClientRow)(this.NewRow())); | ||
916 | object[] columnValuesArray = new object[] { | ||
917 | ClientName, | ||
918 | MacAddress, | ||
919 | Group, | ||
920 | ScreenResolution, | ||
921 | ScreenColorDepth, | ||
922 | AutoPlayCD, | ||
923 | ServerName, | ||
924 | SessionType, | ||
925 | ReconnectPrompt, | ||
926 | AudioLevel, | ||
927 | MouseResolution, | ||
928 | Comment, | ||
929 | Username, | ||
930 | Password, | ||
931 | ServerDomain, | ||
932 | ServerVersion, | ||
933 | RedirectFloppy, | ||
934 | RedirectCD, | ||
935 | RedirectSound, | ||
936 | DigitalMonitor, | ||
937 | IcaProtocol, | ||
938 | IcaEncryption, | ||
939 | IcaCompression, | ||
940 | IcaAudioQuality, | ||
941 | MiscFlippedFix, | ||
942 | MiscMousefix, | ||
943 | MiscNoAcceleration, | ||
944 | DailyReboot, | ||
945 | KeyboardMap, | ||
946 | TimeZone, | ||
947 | RedirectCom1, | ||
948 | RedirectCom2, | ||
949 | UsbDrive, | ||
950 | UsbDriveName, | ||
951 | NumLock, | ||
952 | ServerPort, | ||
953 | Created, | ||
954 | Modified, | ||
955 | IcaApplicationSet, | ||
956 | IcaServer, | ||
957 | TempString, | ||
958 | TempBit, | ||
959 | TempInt}; | ||
960 | rowClientRow.ItemArray = columnValuesArray; | ||
961 | this.Rows.Add(rowClientRow); | ||
962 | return rowClientRow; | ||
963 | } | ||
964 | |||
965 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
966 | public ClientRow FindByMacAddress(string MacAddress) { | ||
967 | return ((ClientRow)(this.Rows.Find(new object[] { | ||
968 | MacAddress}))); | ||
969 | } | ||
970 | |||
971 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
972 | public virtual global::System.Collections.IEnumerator GetEnumerator() { | ||
973 | return this.Rows.GetEnumerator(); | ||
974 | } | ||
975 | |||
976 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
977 | public override global::System.Data.DataTable Clone() { | ||
978 | ClientDataTable cln = ((ClientDataTable)(base.Clone())); | ||
979 | cln.InitVars(); | ||
980 | return cln; | ||
981 | } | ||
982 | |||
983 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
984 | protected override global::System.Data.DataTable CreateInstance() { | ||
985 | return new ClientDataTable(); | ||
986 | } | ||
987 | |||
988 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
989 | internal void InitVars() { | ||
990 | this.columnClientName = base.Columns["ClientName"]; | ||
991 | this.columnMacAddress = base.Columns["MacAddress"]; | ||
992 | this.columnGroup = base.Columns["Group"]; | ||
993 | this.columnScreenResolution = base.Columns["ScreenResolution"]; | ||
994 | this.columnScreenColorDepth = base.Columns["ScreenColorDepth"]; | ||
995 | this.columnAutoPlayCD = base.Columns["AutoPlayCD"]; | ||
996 | this.columnServerName = base.Columns["ServerName"]; | ||
997 | this.columnSessionType = base.Columns["SessionType"]; | ||
998 | this.columnReconnectPrompt = base.Columns["ReconnectPrompt"]; | ||
999 | this.columnAudioLevel = base.Columns["AudioLevel"]; | ||
1000 | this.columnMouseResolution = base.Columns["MouseResolution"]; | ||
1001 | this.columnComment = base.Columns["Comment"]; | ||
1002 | this.columnUsername = base.Columns["Username"]; | ||
1003 | this.columnPassword = base.Columns["Password"]; | ||
1004 | this.columnServerDomain = base.Columns["ServerDomain"]; | ||
1005 | this.columnServerVersion = base.Columns["ServerVersion"]; | ||
1006 | this.columnRedirectFloppy = base.Columns["RedirectFloppy"]; | ||
1007 | this.columnRedirectCD = base.Columns["RedirectCD"]; | ||
1008 | this.columnRedirectSound = base.Columns["RedirectSound"]; | ||
1009 | this.columnDigitalMonitor = base.Columns["DigitalMonitor"]; | ||
1010 | this.columnIcaProtocol = base.Columns["IcaProtocol"]; | ||
1011 | this.columnIcaEncryption = base.Columns["IcaEncryption"]; | ||
1012 | this.columnIcaCompression = base.Columns["IcaCompression"]; | ||
1013 | this.columnIcaAudioQuality = base.Columns["IcaAudioQuality"]; | ||
1014 | this.columnMiscFlippedFix = base.Columns["MiscFlippedFix"]; | ||
1015 | this.columnMiscMousefix = base.Columns["MiscMousefix"]; | ||
1016 | this.columnMiscNoAcceleration = base.Columns["MiscNoAcceleration"]; | ||
1017 | this.columnDailyReboot = base.Columns["DailyReboot"]; | ||
1018 | this.columnKeyboardMap = base.Columns["KeyboardMap"]; | ||
1019 | this.columnTimeZone = base.Columns["TimeZone"]; | ||
1020 | this.columnRedirectCom1 = base.Columns["RedirectCom1"]; | ||
1021 | this.columnRedirectCom2 = base.Columns["RedirectCom2"]; | ||
1022 | this.columnUsbDrive = base.Columns["UsbDrive"]; | ||
1023 | this.columnUsbDriveName = base.Columns["UsbDriveName"]; | ||
1024 | this.columnNumLock = base.Columns["NumLock"]; | ||
1025 | this.columnServerPort = base.Columns["ServerPort"]; | ||
1026 | this.columnCreated = base.Columns["Created"]; | ||
1027 | this.columnModified = base.Columns["Modified"]; | ||
1028 | this.columnIcaApplicationSet = base.Columns["IcaApplicationSet"]; | ||
1029 | this.columnIcaServer = base.Columns["IcaServer"]; | ||
1030 | this.columnTempString = base.Columns["TempString"]; | ||
1031 | this.columnTempBit = base.Columns["TempBit"]; | ||
1032 | this.columnTempInt = base.Columns["TempInt"]; | ||
1033 | } | ||
1034 | |||
1035 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1036 | private void InitClass() { | ||
1037 | this.columnClientName = new global::System.Data.DataColumn("ClientName", typeof(string), null, global::System.Data.MappingType.Element); | ||
1038 | base.Columns.Add(this.columnClientName); | ||
1039 | this.columnMacAddress = new global::System.Data.DataColumn("MacAddress", typeof(string), null, global::System.Data.MappingType.Element); | ||
1040 | base.Columns.Add(this.columnMacAddress); | ||
1041 | this.columnGroup = new global::System.Data.DataColumn("Group", typeof(int), null, global::System.Data.MappingType.Element); | ||
1042 | base.Columns.Add(this.columnGroup); | ||
1043 | this.columnScreenResolution = new global::System.Data.DataColumn("ScreenResolution", typeof(string), null, global::System.Data.MappingType.Element); | ||
1044 | base.Columns.Add(this.columnScreenResolution); | ||
1045 | this.columnScreenColorDepth = new global::System.Data.DataColumn("ScreenColorDepth", typeof(string), null, global::System.Data.MappingType.Element); | ||
1046 | base.Columns.Add(this.columnScreenColorDepth); | ||
1047 | this.columnAutoPlayCD = new global::System.Data.DataColumn("AutoPlayCD", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1048 | base.Columns.Add(this.columnAutoPlayCD); | ||
1049 | this.columnServerName = new global::System.Data.DataColumn("ServerName", typeof(string), null, global::System.Data.MappingType.Element); | ||
1050 | base.Columns.Add(this.columnServerName); | ||
1051 | this.columnSessionType = new global::System.Data.DataColumn("SessionType", typeof(string), null, global::System.Data.MappingType.Element); | ||
1052 | base.Columns.Add(this.columnSessionType); | ||
1053 | this.columnReconnectPrompt = new global::System.Data.DataColumn("ReconnectPrompt", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1054 | base.Columns.Add(this.columnReconnectPrompt); | ||
1055 | this.columnAudioLevel = new global::System.Data.DataColumn("AudioLevel", typeof(int), null, global::System.Data.MappingType.Element); | ||
1056 | base.Columns.Add(this.columnAudioLevel); | ||
1057 | this.columnMouseResolution = new global::System.Data.DataColumn("MouseResolution", typeof(int), null, global::System.Data.MappingType.Element); | ||
1058 | base.Columns.Add(this.columnMouseResolution); | ||
1059 | this.columnComment = new global::System.Data.DataColumn("Comment", typeof(string), null, global::System.Data.MappingType.Element); | ||
1060 | base.Columns.Add(this.columnComment); | ||
1061 | this.columnUsername = new global::System.Data.DataColumn("Username", typeof(string), null, global::System.Data.MappingType.Element); | ||
1062 | base.Columns.Add(this.columnUsername); | ||
1063 | this.columnPassword = new global::System.Data.DataColumn("Password", typeof(string), null, global::System.Data.MappingType.Element); | ||
1064 | base.Columns.Add(this.columnPassword); | ||
1065 | this.columnServerDomain = new global::System.Data.DataColumn("ServerDomain", typeof(string), null, global::System.Data.MappingType.Element); | ||
1066 | base.Columns.Add(this.columnServerDomain); | ||
1067 | this.columnServerVersion = new global::System.Data.DataColumn("ServerVersion", typeof(string), null, global::System.Data.MappingType.Element); | ||
1068 | base.Columns.Add(this.columnServerVersion); | ||
1069 | this.columnRedirectFloppy = new global::System.Data.DataColumn("RedirectFloppy", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1070 | base.Columns.Add(this.columnRedirectFloppy); | ||
1071 | this.columnRedirectCD = new global::System.Data.DataColumn("RedirectCD", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1072 | base.Columns.Add(this.columnRedirectCD); | ||
1073 | this.columnRedirectSound = new global::System.Data.DataColumn("RedirectSound", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1074 | base.Columns.Add(this.columnRedirectSound); | ||
1075 | this.columnDigitalMonitor = new global::System.Data.DataColumn("DigitalMonitor", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1076 | base.Columns.Add(this.columnDigitalMonitor); | ||
1077 | this.columnIcaProtocol = new global::System.Data.DataColumn("IcaProtocol", typeof(string), null, global::System.Data.MappingType.Element); | ||
1078 | base.Columns.Add(this.columnIcaProtocol); | ||
1079 | this.columnIcaEncryption = new global::System.Data.DataColumn("IcaEncryption", typeof(string), null, global::System.Data.MappingType.Element); | ||
1080 | base.Columns.Add(this.columnIcaEncryption); | ||
1081 | this.columnIcaCompression = new global::System.Data.DataColumn("IcaCompression", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1082 | base.Columns.Add(this.columnIcaCompression); | ||
1083 | this.columnIcaAudioQuality = new global::System.Data.DataColumn("IcaAudioQuality", typeof(string), null, global::System.Data.MappingType.Element); | ||
1084 | base.Columns.Add(this.columnIcaAudioQuality); | ||
1085 | this.columnMiscFlippedFix = new global::System.Data.DataColumn("MiscFlippedFix", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1086 | base.Columns.Add(this.columnMiscFlippedFix); | ||
1087 | this.columnMiscMousefix = new global::System.Data.DataColumn("MiscMousefix", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1088 | base.Columns.Add(this.columnMiscMousefix); | ||
1089 | this.columnMiscNoAcceleration = new global::System.Data.DataColumn("MiscNoAcceleration", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1090 | base.Columns.Add(this.columnMiscNoAcceleration); | ||
1091 | this.columnDailyReboot = new global::System.Data.DataColumn("DailyReboot", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1092 | base.Columns.Add(this.columnDailyReboot); | ||
1093 | this.columnKeyboardMap = new global::System.Data.DataColumn("KeyboardMap", typeof(string), null, global::System.Data.MappingType.Element); | ||
1094 | base.Columns.Add(this.columnKeyboardMap); | ||
1095 | this.columnTimeZone = new global::System.Data.DataColumn("TimeZone", typeof(string), null, global::System.Data.MappingType.Element); | ||
1096 | base.Columns.Add(this.columnTimeZone); | ||
1097 | this.columnRedirectCom1 = new global::System.Data.DataColumn("RedirectCom1", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1098 | base.Columns.Add(this.columnRedirectCom1); | ||
1099 | this.columnRedirectCom2 = new global::System.Data.DataColumn("RedirectCom2", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1100 | base.Columns.Add(this.columnRedirectCom2); | ||
1101 | this.columnUsbDrive = new global::System.Data.DataColumn("UsbDrive", typeof(int), null, global::System.Data.MappingType.Element); | ||
1102 | base.Columns.Add(this.columnUsbDrive); | ||
1103 | this.columnUsbDriveName = new global::System.Data.DataColumn("UsbDriveName", typeof(string), null, global::System.Data.MappingType.Element); | ||
1104 | base.Columns.Add(this.columnUsbDriveName); | ||
1105 | this.columnNumLock = new global::System.Data.DataColumn("NumLock", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1106 | base.Columns.Add(this.columnNumLock); | ||
1107 | this.columnServerPort = new global::System.Data.DataColumn("ServerPort", typeof(int), null, global::System.Data.MappingType.Element); | ||
1108 | base.Columns.Add(this.columnServerPort); | ||
1109 | this.columnCreated = new global::System.Data.DataColumn("Created", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); | ||
1110 | base.Columns.Add(this.columnCreated); | ||
1111 | this.columnModified = new global::System.Data.DataColumn("Modified", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); | ||
1112 | base.Columns.Add(this.columnModified); | ||
1113 | this.columnIcaApplicationSet = new global::System.Data.DataColumn("IcaApplicationSet", typeof(string), null, global::System.Data.MappingType.Element); | ||
1114 | base.Columns.Add(this.columnIcaApplicationSet); | ||
1115 | this.columnIcaServer = new global::System.Data.DataColumn("IcaServer", typeof(string), null, global::System.Data.MappingType.Element); | ||
1116 | base.Columns.Add(this.columnIcaServer); | ||
1117 | this.columnTempString = new global::System.Data.DataColumn("TempString", typeof(string), null, global::System.Data.MappingType.Element); | ||
1118 | base.Columns.Add(this.columnTempString); | ||
1119 | this.columnTempBit = new global::System.Data.DataColumn("TempBit", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1120 | base.Columns.Add(this.columnTempBit); | ||
1121 | this.columnTempInt = new global::System.Data.DataColumn("TempInt", typeof(int), null, global::System.Data.MappingType.Element); | ||
1122 | base.Columns.Add(this.columnTempInt); | ||
1123 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||
1124 | this.columnMacAddress}, true)); | ||
1125 | this.columnClientName.MaxLength = 100; | ||
1126 | this.columnMacAddress.AllowDBNull = false; | ||
1127 | this.columnMacAddress.Unique = true; | ||
1128 | this.columnMacAddress.MaxLength = 12; | ||
1129 | this.columnScreenResolution.MaxLength = 11; | ||
1130 | this.columnScreenColorDepth.MaxLength = 50; | ||
1131 | this.columnServerName.MaxLength = 200; | ||
1132 | this.columnSessionType.MaxLength = 50; | ||
1133 | this.columnComment.MaxLength = 1024; | ||
1134 | this.columnUsername.MaxLength = 32; | ||
1135 | this.columnPassword.MaxLength = 32; | ||
1136 | this.columnServerDomain.MaxLength = 32; | ||
1137 | this.columnServerVersion.MaxLength = 50; | ||
1138 | this.columnIcaProtocol.MaxLength = 30; | ||
1139 | this.columnIcaEncryption.MaxLength = 30; | ||
1140 | this.columnIcaAudioQuality.MaxLength = 10; | ||
1141 | this.columnKeyboardMap.MaxLength = 12; | ||
1142 | this.columnTimeZone.MaxLength = 60; | ||
1143 | this.columnUsbDriveName.MaxLength = 20; | ||
1144 | this.columnServerPort.AllowDBNull = false; | ||
1145 | this.columnIcaApplicationSet.MaxLength = 200; | ||
1146 | this.columnIcaServer.MaxLength = 200; | ||
1147 | this.columnTempString.MaxLength = 200; | ||
1148 | } | ||
1149 | |||
1150 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1151 | public ClientRow NewClientRow() { | ||
1152 | return ((ClientRow)(this.NewRow())); | ||
1153 | } | ||
1154 | |||
1155 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1156 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { | ||
1157 | return new ClientRow(builder); | ||
1158 | } | ||
1159 | |||
1160 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1161 | protected override global::System.Type GetRowType() { | ||
1162 | return typeof(ClientRow); | ||
1163 | } | ||
1164 | |||
1165 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1166 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { | ||
1167 | base.OnRowChanged(e); | ||
1168 | if ((this.ClientRowChanged != null)) { | ||
1169 | this.ClientRowChanged(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); | ||
1170 | } | ||
1171 | } | ||
1172 | |||
1173 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1174 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { | ||
1175 | base.OnRowChanging(e); | ||
1176 | if ((this.ClientRowChanging != null)) { | ||
1177 | this.ClientRowChanging(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); | ||
1178 | } | ||
1179 | } | ||
1180 | |||
1181 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1182 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { | ||
1183 | base.OnRowDeleted(e); | ||
1184 | if ((this.ClientRowDeleted != null)) { | ||
1185 | this.ClientRowDeleted(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); | ||
1186 | } | ||
1187 | } | ||
1188 | |||
1189 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1190 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { | ||
1191 | base.OnRowDeleting(e); | ||
1192 | if ((this.ClientRowDeleting != null)) { | ||
1193 | this.ClientRowDeleting(this, new ClientRowChangeEvent(((ClientRow)(e.Row)), e.Action)); | ||
1194 | } | ||
1195 | } | ||
1196 | |||
1197 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1198 | public void RemoveClientRow(ClientRow row) { | ||
1199 | this.Rows.Remove(row); | ||
1200 | } | ||
1201 | |||
1202 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1203 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { | ||
1204 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); | ||
1205 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); | ||
1206 | atsDataSet ds = new atsDataSet(); | ||
1207 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
1208 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; | ||
1209 | any1.MinOccurs = new decimal(0); | ||
1210 | any1.MaxOccurs = decimal.MaxValue; | ||
1211 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
1212 | sequence.Items.Add(any1); | ||
1213 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
1214 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; | ||
1215 | any2.MinOccurs = new decimal(1); | ||
1216 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
1217 | sequence.Items.Add(any2); | ||
1218 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
1219 | attribute1.Name = "namespace"; | ||
1220 | attribute1.FixedValue = ds.Namespace; | ||
1221 | type.Attributes.Add(attribute1); | ||
1222 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
1223 | attribute2.Name = "tableTypeName"; | ||
1224 | attribute2.FixedValue = "ClientDataTable"; | ||
1225 | type.Attributes.Add(attribute2); | ||
1226 | type.Particle = sequence; | ||
1227 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); | ||
1228 | if (xs.Contains(dsSchema.TargetNamespace)) { | ||
1229 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); | ||
1230 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); | ||
1231 | try { | ||
1232 | global::System.Xml.Schema.XmlSchema schema = null; | ||
1233 | dsSchema.Write(s1); | ||
1234 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { | ||
1235 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); | ||
1236 | s2.SetLength(0); | ||
1237 | schema.Write(s2); | ||
1238 | if ((s1.Length == s2.Length)) { | ||
1239 | s1.Position = 0; | ||
1240 | s2.Position = 0; | ||
1241 | for (; ((s1.Position != s1.Length) | ||
1242 | && (s1.ReadByte() == s2.ReadByte())); ) { | ||
1243 | ; | ||
1244 | } | ||
1245 | if ((s1.Position == s1.Length)) { | ||
1246 | return type; | ||
1247 | } | ||
1248 | } | ||
1249 | } | ||
1250 | } | ||
1251 | finally { | ||
1252 | if ((s1 != null)) { | ||
1253 | s1.Close(); | ||
1254 | } | ||
1255 | if ((s2 != null)) { | ||
1256 | s2.Close(); | ||
1257 | } | ||
1258 | } | ||
1259 | } | ||
1260 | xs.Add(dsSchema); | ||
1261 | return type; | ||
1262 | } | ||
1263 | } | ||
1264 | |||
1265 | /// <summary> | ||
1266 | ///Represents the strongly named DataTable class. | ||
1267 | ///</summary> | ||
1268 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] | ||
1269 | [global::System.Serializable()] | ||
1270 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] | ||
1271 | public partial class GroupDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { | ||
1272 | |||
1273 | private global::System.Data.DataColumn columnID; | ||
1274 | |||
1275 | private global::System.Data.DataColumn columnParent; | ||
1276 | |||
1277 | private global::System.Data.DataColumn columnName; | ||
1278 | |||
1279 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1280 | public GroupDataTable() { | ||
1281 | this.TableName = "Group"; | ||
1282 | this.BeginInit(); | ||
1283 | this.InitClass(); | ||
1284 | this.EndInit(); | ||
1285 | } | ||
1286 | |||
1287 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1288 | internal GroupDataTable(global::System.Data.DataTable table) { | ||
1289 | this.TableName = table.TableName; | ||
1290 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { | ||
1291 | this.CaseSensitive = table.CaseSensitive; | ||
1292 | } | ||
1293 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { | ||
1294 | this.Locale = table.Locale; | ||
1295 | } | ||
1296 | if ((table.Namespace != table.DataSet.Namespace)) { | ||
1297 | this.Namespace = table.Namespace; | ||
1298 | } | ||
1299 | this.Prefix = table.Prefix; | ||
1300 | this.MinimumCapacity = table.MinimumCapacity; | ||
1301 | } | ||
1302 | |||
1303 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1304 | protected GroupDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : | ||
1305 | base(info, context) { | ||
1306 | this.InitVars(); | ||
1307 | } | ||
1308 | |||
1309 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1310 | public global::System.Data.DataColumn IDColumn { | ||
1311 | get { | ||
1312 | return this.columnID; | ||
1313 | } | ||
1314 | } | ||
1315 | |||
1316 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1317 | public global::System.Data.DataColumn ParentColumn { | ||
1318 | get { | ||
1319 | return this.columnParent; | ||
1320 | } | ||
1321 | } | ||
1322 | |||
1323 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1324 | public global::System.Data.DataColumn NameColumn { | ||
1325 | get { | ||
1326 | return this.columnName; | ||
1327 | } | ||
1328 | } | ||
1329 | |||
1330 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1331 | [global::System.ComponentModel.Browsable(false)] | ||
1332 | public int Count { | ||
1333 | get { | ||
1334 | return this.Rows.Count; | ||
1335 | } | ||
1336 | } | ||
1337 | |||
1338 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1339 | public GroupRow this[int index] { | ||
1340 | get { | ||
1341 | return ((GroupRow)(this.Rows[index])); | ||
1342 | } | ||
1343 | } | ||
1344 | |||
1345 | public event GroupRowChangeEventHandler GroupRowChanging; | ||
1346 | |||
1347 | public event GroupRowChangeEventHandler GroupRowChanged; | ||
1348 | |||
1349 | public event GroupRowChangeEventHandler GroupRowDeleting; | ||
1350 | |||
1351 | public event GroupRowChangeEventHandler GroupRowDeleted; | ||
1352 | |||
1353 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1354 | public void AddGroupRow(GroupRow row) { | ||
1355 | this.Rows.Add(row); | ||
1356 | } | ||
1357 | |||
1358 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1359 | public GroupRow AddGroupRow(int Parent, string Name) { | ||
1360 | GroupRow rowGroupRow = ((GroupRow)(this.NewRow())); | ||
1361 | object[] columnValuesArray = new object[] { | ||
1362 | null, | ||
1363 | Parent, | ||
1364 | Name}; | ||
1365 | rowGroupRow.ItemArray = columnValuesArray; | ||
1366 | this.Rows.Add(rowGroupRow); | ||
1367 | return rowGroupRow; | ||
1368 | } | ||
1369 | |||
1370 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1371 | public GroupRow FindByID(int ID) { | ||
1372 | return ((GroupRow)(this.Rows.Find(new object[] { | ||
1373 | ID}))); | ||
1374 | } | ||
1375 | |||
1376 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1377 | public virtual global::System.Collections.IEnumerator GetEnumerator() { | ||
1378 | return this.Rows.GetEnumerator(); | ||
1379 | } | ||
1380 | |||
1381 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1382 | public override global::System.Data.DataTable Clone() { | ||
1383 | GroupDataTable cln = ((GroupDataTable)(base.Clone())); | ||
1384 | cln.InitVars(); | ||
1385 | return cln; | ||
1386 | } | ||
1387 | |||
1388 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1389 | protected override global::System.Data.DataTable CreateInstance() { | ||
1390 | return new GroupDataTable(); | ||
1391 | } | ||
1392 | |||
1393 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1394 | internal void InitVars() { | ||
1395 | this.columnID = base.Columns["ID"]; | ||
1396 | this.columnParent = base.Columns["Parent"]; | ||
1397 | this.columnName = base.Columns["Name"]; | ||
1398 | } | ||
1399 | |||
1400 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1401 | private void InitClass() { | ||
1402 | this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element); | ||
1403 | base.Columns.Add(this.columnID); | ||
1404 | this.columnParent = new global::System.Data.DataColumn("Parent", typeof(int), null, global::System.Data.MappingType.Element); | ||
1405 | base.Columns.Add(this.columnParent); | ||
1406 | this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element); | ||
1407 | base.Columns.Add(this.columnName); | ||
1408 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||
1409 | this.columnID}, true)); | ||
1410 | this.columnID.AutoIncrement = true; | ||
1411 | this.columnID.AllowDBNull = false; | ||
1412 | this.columnID.ReadOnly = true; | ||
1413 | this.columnID.Unique = true; | ||
1414 | this.columnName.MaxLength = 50; | ||
1415 | } | ||
1416 | |||
1417 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1418 | public GroupRow NewGroupRow() { | ||
1419 | return ((GroupRow)(this.NewRow())); | ||
1420 | } | ||
1421 | |||
1422 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1423 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { | ||
1424 | return new GroupRow(builder); | ||
1425 | } | ||
1426 | |||
1427 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1428 | protected override global::System.Type GetRowType() { | ||
1429 | return typeof(GroupRow); | ||
1430 | } | ||
1431 | |||
1432 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1433 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { | ||
1434 | base.OnRowChanged(e); | ||
1435 | if ((this.GroupRowChanged != null)) { | ||
1436 | this.GroupRowChanged(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); | ||
1437 | } | ||
1438 | } | ||
1439 | |||
1440 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1441 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { | ||
1442 | base.OnRowChanging(e); | ||
1443 | if ((this.GroupRowChanging != null)) { | ||
1444 | this.GroupRowChanging(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); | ||
1445 | } | ||
1446 | } | ||
1447 | |||
1448 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1449 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { | ||
1450 | base.OnRowDeleted(e); | ||
1451 | if ((this.GroupRowDeleted != null)) { | ||
1452 | this.GroupRowDeleted(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); | ||
1453 | } | ||
1454 | } | ||
1455 | |||
1456 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1457 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { | ||
1458 | base.OnRowDeleting(e); | ||
1459 | if ((this.GroupRowDeleting != null)) { | ||
1460 | this.GroupRowDeleting(this, new GroupRowChangeEvent(((GroupRow)(e.Row)), e.Action)); | ||
1461 | } | ||
1462 | } | ||
1463 | |||
1464 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1465 | public void RemoveGroupRow(GroupRow row) { | ||
1466 | this.Rows.Remove(row); | ||
1467 | } | ||
1468 | |||
1469 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1470 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { | ||
1471 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); | ||
1472 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); | ||
1473 | atsDataSet ds = new atsDataSet(); | ||
1474 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
1475 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; | ||
1476 | any1.MinOccurs = new decimal(0); | ||
1477 | any1.MaxOccurs = decimal.MaxValue; | ||
1478 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
1479 | sequence.Items.Add(any1); | ||
1480 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
1481 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; | ||
1482 | any2.MinOccurs = new decimal(1); | ||
1483 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
1484 | sequence.Items.Add(any2); | ||
1485 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
1486 | attribute1.Name = "namespace"; | ||
1487 | attribute1.FixedValue = ds.Namespace; | ||
1488 | type.Attributes.Add(attribute1); | ||
1489 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
1490 | attribute2.Name = "tableTypeName"; | ||
1491 | attribute2.FixedValue = "GroupDataTable"; | ||
1492 | type.Attributes.Add(attribute2); | ||
1493 | type.Particle = sequence; | ||
1494 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); | ||
1495 | if (xs.Contains(dsSchema.TargetNamespace)) { | ||
1496 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); | ||
1497 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); | ||
1498 | try { | ||
1499 | global::System.Xml.Schema.XmlSchema schema = null; | ||
1500 | dsSchema.Write(s1); | ||
1501 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { | ||
1502 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); | ||
1503 | s2.SetLength(0); | ||
1504 | schema.Write(s2); | ||
1505 | if ((s1.Length == s2.Length)) { | ||
1506 | s1.Position = 0; | ||
1507 | s2.Position = 0; | ||
1508 | for (; ((s1.Position != s1.Length) | ||
1509 | && (s1.ReadByte() == s2.ReadByte())); ) { | ||
1510 | ; | ||
1511 | } | ||
1512 | if ((s1.Position == s1.Length)) { | ||
1513 | return type; | ||
1514 | } | ||
1515 | } | ||
1516 | } | ||
1517 | } | ||
1518 | finally { | ||
1519 | if ((s1 != null)) { | ||
1520 | s1.Close(); | ||
1521 | } | ||
1522 | if ((s2 != null)) { | ||
1523 | s2.Close(); | ||
1524 | } | ||
1525 | } | ||
1526 | } | ||
1527 | xs.Add(dsSchema); | ||
1528 | return type; | ||
1529 | } | ||
1530 | } | ||
1531 | |||
1532 | /// <summary> | ||
1533 | ///Represents the strongly named DataTable class. | ||
1534 | ///</summary> | ||
1535 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] | ||
1536 | [global::System.Serializable()] | ||
1537 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] | ||
1538 | public partial class ImageDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { | ||
1539 | |||
1540 | private global::System.Data.DataColumn columnUseDHCP; | ||
1541 | |||
1542 | private global::System.Data.DataColumn columnClientIPAddress; | ||
1543 | |||
1544 | private global::System.Data.DataColumn columnClientIPNetmask; | ||
1545 | |||
1546 | private global::System.Data.DataColumn columnClientIPGateway; | ||
1547 | |||
1548 | private global::System.Data.DataColumn columnClientIPDNS1; | ||
1549 | |||
1550 | private global::System.Data.DataColumn columnClientIPDNS2; | ||
1551 | |||
1552 | private global::System.Data.DataColumn columnClientIPDNSSuffix; | ||
1553 | |||
1554 | private global::System.Data.DataColumn columnClientBootServer; | ||
1555 | |||
1556 | private global::System.Data.DataColumn columnOnlyUseRDP; | ||
1557 | |||
1558 | private global::System.Data.DataColumn columnBootPicture; | ||
1559 | |||
1560 | private global::System.Data.DataColumn columnNetworkDriver; | ||
1561 | |||
1562 | private global::System.Data.DataColumn columnSoundType; | ||
1563 | |||
1564 | private global::System.Data.DataColumn columnSoundDriver; | ||
1565 | |||
1566 | private global::System.Data.DataColumn columnName; | ||
1567 | |||
1568 | private global::System.Data.DataColumn columnGraphicsDriver; | ||
1569 | |||
1570 | private global::System.Data.DataColumn columnConfigFile; | ||
1571 | |||
1572 | private global::System.Data.DataColumn columnDebug; | ||
1573 | |||
1574 | private global::System.Data.DataColumn columnBootPictureWidth; | ||
1575 | |||
1576 | private global::System.Data.DataColumn columnBootPictureHeight; | ||
1577 | |||
1578 | private global::System.Data.DataColumn columnBootPictureProgressBar; | ||
1579 | |||
1580 | private global::System.Data.DataColumn columnBootPicturePng; | ||
1581 | |||
1582 | private global::System.Data.DataColumn columnBootPackage; | ||
1583 | |||
1584 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1585 | public ImageDataTable() { | ||
1586 | this.TableName = "Image"; | ||
1587 | this.BeginInit(); | ||
1588 | this.InitClass(); | ||
1589 | this.EndInit(); | ||
1590 | } | ||
1591 | |||
1592 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1593 | internal ImageDataTable(global::System.Data.DataTable table) { | ||
1594 | this.TableName = table.TableName; | ||
1595 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { | ||
1596 | this.CaseSensitive = table.CaseSensitive; | ||
1597 | } | ||
1598 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { | ||
1599 | this.Locale = table.Locale; | ||
1600 | } | ||
1601 | if ((table.Namespace != table.DataSet.Namespace)) { | ||
1602 | this.Namespace = table.Namespace; | ||
1603 | } | ||
1604 | this.Prefix = table.Prefix; | ||
1605 | this.MinimumCapacity = table.MinimumCapacity; | ||
1606 | } | ||
1607 | |||
1608 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1609 | protected ImageDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : | ||
1610 | base(info, context) { | ||
1611 | this.InitVars(); | ||
1612 | } | ||
1613 | |||
1614 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1615 | public global::System.Data.DataColumn UseDHCPColumn { | ||
1616 | get { | ||
1617 | return this.columnUseDHCP; | ||
1618 | } | ||
1619 | } | ||
1620 | |||
1621 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1622 | public global::System.Data.DataColumn ClientIPAddressColumn { | ||
1623 | get { | ||
1624 | return this.columnClientIPAddress; | ||
1625 | } | ||
1626 | } | ||
1627 | |||
1628 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1629 | public global::System.Data.DataColumn ClientIPNetmaskColumn { | ||
1630 | get { | ||
1631 | return this.columnClientIPNetmask; | ||
1632 | } | ||
1633 | } | ||
1634 | |||
1635 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1636 | public global::System.Data.DataColumn ClientIPGatewayColumn { | ||
1637 | get { | ||
1638 | return this.columnClientIPGateway; | ||
1639 | } | ||
1640 | } | ||
1641 | |||
1642 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1643 | public global::System.Data.DataColumn ClientIPDNS1Column { | ||
1644 | get { | ||
1645 | return this.columnClientIPDNS1; | ||
1646 | } | ||
1647 | } | ||
1648 | |||
1649 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1650 | public global::System.Data.DataColumn ClientIPDNS2Column { | ||
1651 | get { | ||
1652 | return this.columnClientIPDNS2; | ||
1653 | } | ||
1654 | } | ||
1655 | |||
1656 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1657 | public global::System.Data.DataColumn ClientIPDNSSuffixColumn { | ||
1658 | get { | ||
1659 | return this.columnClientIPDNSSuffix; | ||
1660 | } | ||
1661 | } | ||
1662 | |||
1663 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1664 | public global::System.Data.DataColumn ClientBootServerColumn { | ||
1665 | get { | ||
1666 | return this.columnClientBootServer; | ||
1667 | } | ||
1668 | } | ||
1669 | |||
1670 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1671 | public global::System.Data.DataColumn OnlyUseRDPColumn { | ||
1672 | get { | ||
1673 | return this.columnOnlyUseRDP; | ||
1674 | } | ||
1675 | } | ||
1676 | |||
1677 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1678 | public global::System.Data.DataColumn BootPictureColumn { | ||
1679 | get { | ||
1680 | return this.columnBootPicture; | ||
1681 | } | ||
1682 | } | ||
1683 | |||
1684 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1685 | public global::System.Data.DataColumn NetworkDriverColumn { | ||
1686 | get { | ||
1687 | return this.columnNetworkDriver; | ||
1688 | } | ||
1689 | } | ||
1690 | |||
1691 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1692 | public global::System.Data.DataColumn SoundTypeColumn { | ||
1693 | get { | ||
1694 | return this.columnSoundType; | ||
1695 | } | ||
1696 | } | ||
1697 | |||
1698 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1699 | public global::System.Data.DataColumn SoundDriverColumn { | ||
1700 | get { | ||
1701 | return this.columnSoundDriver; | ||
1702 | } | ||
1703 | } | ||
1704 | |||
1705 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1706 | public global::System.Data.DataColumn NameColumn { | ||
1707 | get { | ||
1708 | return this.columnName; | ||
1709 | } | ||
1710 | } | ||
1711 | |||
1712 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1713 | public global::System.Data.DataColumn GraphicsDriverColumn { | ||
1714 | get { | ||
1715 | return this.columnGraphicsDriver; | ||
1716 | } | ||
1717 | } | ||
1718 | |||
1719 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1720 | public global::System.Data.DataColumn ConfigFileColumn { | ||
1721 | get { | ||
1722 | return this.columnConfigFile; | ||
1723 | } | ||
1724 | } | ||
1725 | |||
1726 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1727 | public global::System.Data.DataColumn DebugColumn { | ||
1728 | get { | ||
1729 | return this.columnDebug; | ||
1730 | } | ||
1731 | } | ||
1732 | |||
1733 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1734 | public global::System.Data.DataColumn BootPictureWidthColumn { | ||
1735 | get { | ||
1736 | return this.columnBootPictureWidth; | ||
1737 | } | ||
1738 | } | ||
1739 | |||
1740 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1741 | public global::System.Data.DataColumn BootPictureHeightColumn { | ||
1742 | get { | ||
1743 | return this.columnBootPictureHeight; | ||
1744 | } | ||
1745 | } | ||
1746 | |||
1747 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1748 | public global::System.Data.DataColumn BootPictureProgressBarColumn { | ||
1749 | get { | ||
1750 | return this.columnBootPictureProgressBar; | ||
1751 | } | ||
1752 | } | ||
1753 | |||
1754 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1755 | public global::System.Data.DataColumn BootPicturePngColumn { | ||
1756 | get { | ||
1757 | return this.columnBootPicturePng; | ||
1758 | } | ||
1759 | } | ||
1760 | |||
1761 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1762 | public global::System.Data.DataColumn BootPackageColumn { | ||
1763 | get { | ||
1764 | return this.columnBootPackage; | ||
1765 | } | ||
1766 | } | ||
1767 | |||
1768 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1769 | [global::System.ComponentModel.Browsable(false)] | ||
1770 | public int Count { | ||
1771 | get { | ||
1772 | return this.Rows.Count; | ||
1773 | } | ||
1774 | } | ||
1775 | |||
1776 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1777 | public ImageRow this[int index] { | ||
1778 | get { | ||
1779 | return ((ImageRow)(this.Rows[index])); | ||
1780 | } | ||
1781 | } | ||
1782 | |||
1783 | public event ImageRowChangeEventHandler ImageRowChanging; | ||
1784 | |||
1785 | public event ImageRowChangeEventHandler ImageRowChanged; | ||
1786 | |||
1787 | public event ImageRowChangeEventHandler ImageRowDeleting; | ||
1788 | |||
1789 | public event ImageRowChangeEventHandler ImageRowDeleted; | ||
1790 | |||
1791 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1792 | public void AddImageRow(ImageRow row) { | ||
1793 | this.Rows.Add(row); | ||
1794 | } | ||
1795 | |||
1796 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1797 | public ImageRow AddImageRow( | ||
1798 | bool UseDHCP, | ||
1799 | string ClientIPAddress, | ||
1800 | string ClientIPNetmask, | ||
1801 | string ClientIPGateway, | ||
1802 | string ClientIPDNS1, | ||
1803 | string ClientIPDNS2, | ||
1804 | string ClientIPDNSSuffix, | ||
1805 | string ClientBootServer, | ||
1806 | bool OnlyUseRDP, | ||
1807 | int BootPicture, | ||
1808 | string NetworkDriver, | ||
1809 | int SoundType, | ||
1810 | string SoundDriver, | ||
1811 | string Name, | ||
1812 | string GraphicsDriver, | ||
1813 | bool ConfigFile, | ||
1814 | int Debug, | ||
1815 | int BootPictureWidth, | ||
1816 | int BootPictureHeight, | ||
1817 | int BootPictureProgressBar, | ||
1818 | byte[] BootPicturePng, | ||
1819 | int BootPackage) { | ||
1820 | ImageRow rowImageRow = ((ImageRow)(this.NewRow())); | ||
1821 | object[] columnValuesArray = new object[] { | ||
1822 | UseDHCP, | ||
1823 | ClientIPAddress, | ||
1824 | ClientIPNetmask, | ||
1825 | ClientIPGateway, | ||
1826 | ClientIPDNS1, | ||
1827 | ClientIPDNS2, | ||
1828 | ClientIPDNSSuffix, | ||
1829 | ClientBootServer, | ||
1830 | OnlyUseRDP, | ||
1831 | BootPicture, | ||
1832 | NetworkDriver, | ||
1833 | SoundType, | ||
1834 | SoundDriver, | ||
1835 | Name, | ||
1836 | GraphicsDriver, | ||
1837 | ConfigFile, | ||
1838 | Debug, | ||
1839 | BootPictureWidth, | ||
1840 | BootPictureHeight, | ||
1841 | BootPictureProgressBar, | ||
1842 | BootPicturePng, | ||
1843 | BootPackage}; | ||
1844 | rowImageRow.ItemArray = columnValuesArray; | ||
1845 | this.Rows.Add(rowImageRow); | ||
1846 | return rowImageRow; | ||
1847 | } | ||
1848 | |||
1849 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1850 | public ImageRow FindByName(string Name) { | ||
1851 | return ((ImageRow)(this.Rows.Find(new object[] { | ||
1852 | Name}))); | ||
1853 | } | ||
1854 | |||
1855 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1856 | public virtual global::System.Collections.IEnumerator GetEnumerator() { | ||
1857 | return this.Rows.GetEnumerator(); | ||
1858 | } | ||
1859 | |||
1860 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1861 | public override global::System.Data.DataTable Clone() { | ||
1862 | ImageDataTable cln = ((ImageDataTable)(base.Clone())); | ||
1863 | cln.InitVars(); | ||
1864 | return cln; | ||
1865 | } | ||
1866 | |||
1867 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1868 | protected override global::System.Data.DataTable CreateInstance() { | ||
1869 | return new ImageDataTable(); | ||
1870 | } | ||
1871 | |||
1872 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1873 | internal void InitVars() { | ||
1874 | this.columnUseDHCP = base.Columns["UseDHCP"]; | ||
1875 | this.columnClientIPAddress = base.Columns["ClientIPAddress"]; | ||
1876 | this.columnClientIPNetmask = base.Columns["ClientIPNetmask"]; | ||
1877 | this.columnClientIPGateway = base.Columns["ClientIPGateway"]; | ||
1878 | this.columnClientIPDNS1 = base.Columns["ClientIPDNS1"]; | ||
1879 | this.columnClientIPDNS2 = base.Columns["ClientIPDNS2"]; | ||
1880 | this.columnClientIPDNSSuffix = base.Columns["ClientIPDNSSuffix"]; | ||
1881 | this.columnClientBootServer = base.Columns["ClientBootServer"]; | ||
1882 | this.columnOnlyUseRDP = base.Columns["OnlyUseRDP"]; | ||
1883 | this.columnBootPicture = base.Columns["BootPicture"]; | ||
1884 | this.columnNetworkDriver = base.Columns["NetworkDriver"]; | ||
1885 | this.columnSoundType = base.Columns["SoundType"]; | ||
1886 | this.columnSoundDriver = base.Columns["SoundDriver"]; | ||
1887 | this.columnName = base.Columns["Name"]; | ||
1888 | this.columnGraphicsDriver = base.Columns["GraphicsDriver"]; | ||
1889 | this.columnConfigFile = base.Columns["ConfigFile"]; | ||
1890 | this.columnDebug = base.Columns["Debug"]; | ||
1891 | this.columnBootPictureWidth = base.Columns["BootPictureWidth"]; | ||
1892 | this.columnBootPictureHeight = base.Columns["BootPictureHeight"]; | ||
1893 | this.columnBootPictureProgressBar = base.Columns["BootPictureProgressBar"]; | ||
1894 | this.columnBootPicturePng = base.Columns["BootPicturePng"]; | ||
1895 | this.columnBootPackage = base.Columns["BootPackage"]; | ||
1896 | } | ||
1897 | |||
1898 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1899 | private void InitClass() { | ||
1900 | this.columnUseDHCP = new global::System.Data.DataColumn("UseDHCP", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1901 | base.Columns.Add(this.columnUseDHCP); | ||
1902 | this.columnClientIPAddress = new global::System.Data.DataColumn("ClientIPAddress", typeof(string), null, global::System.Data.MappingType.Element); | ||
1903 | base.Columns.Add(this.columnClientIPAddress); | ||
1904 | this.columnClientIPNetmask = new global::System.Data.DataColumn("ClientIPNetmask", typeof(string), null, global::System.Data.MappingType.Element); | ||
1905 | base.Columns.Add(this.columnClientIPNetmask); | ||
1906 | this.columnClientIPGateway = new global::System.Data.DataColumn("ClientIPGateway", typeof(string), null, global::System.Data.MappingType.Element); | ||
1907 | base.Columns.Add(this.columnClientIPGateway); | ||
1908 | this.columnClientIPDNS1 = new global::System.Data.DataColumn("ClientIPDNS1", typeof(string), null, global::System.Data.MappingType.Element); | ||
1909 | base.Columns.Add(this.columnClientIPDNS1); | ||
1910 | this.columnClientIPDNS2 = new global::System.Data.DataColumn("ClientIPDNS2", typeof(string), null, global::System.Data.MappingType.Element); | ||
1911 | base.Columns.Add(this.columnClientIPDNS2); | ||
1912 | this.columnClientIPDNSSuffix = new global::System.Data.DataColumn("ClientIPDNSSuffix", typeof(string), null, global::System.Data.MappingType.Element); | ||
1913 | base.Columns.Add(this.columnClientIPDNSSuffix); | ||
1914 | this.columnClientBootServer = new global::System.Data.DataColumn("ClientBootServer", typeof(string), null, global::System.Data.MappingType.Element); | ||
1915 | base.Columns.Add(this.columnClientBootServer); | ||
1916 | this.columnOnlyUseRDP = new global::System.Data.DataColumn("OnlyUseRDP", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1917 | base.Columns.Add(this.columnOnlyUseRDP); | ||
1918 | this.columnBootPicture = new global::System.Data.DataColumn("BootPicture", typeof(int), null, global::System.Data.MappingType.Element); | ||
1919 | base.Columns.Add(this.columnBootPicture); | ||
1920 | this.columnNetworkDriver = new global::System.Data.DataColumn("NetworkDriver", typeof(string), null, global::System.Data.MappingType.Element); | ||
1921 | base.Columns.Add(this.columnNetworkDriver); | ||
1922 | this.columnSoundType = new global::System.Data.DataColumn("SoundType", typeof(int), null, global::System.Data.MappingType.Element); | ||
1923 | base.Columns.Add(this.columnSoundType); | ||
1924 | this.columnSoundDriver = new global::System.Data.DataColumn("SoundDriver", typeof(string), null, global::System.Data.MappingType.Element); | ||
1925 | base.Columns.Add(this.columnSoundDriver); | ||
1926 | this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element); | ||
1927 | base.Columns.Add(this.columnName); | ||
1928 | this.columnGraphicsDriver = new global::System.Data.DataColumn("GraphicsDriver", typeof(string), null, global::System.Data.MappingType.Element); | ||
1929 | base.Columns.Add(this.columnGraphicsDriver); | ||
1930 | this.columnConfigFile = new global::System.Data.DataColumn("ConfigFile", typeof(bool), null, global::System.Data.MappingType.Element); | ||
1931 | base.Columns.Add(this.columnConfigFile); | ||
1932 | this.columnDebug = new global::System.Data.DataColumn("Debug", typeof(int), null, global::System.Data.MappingType.Element); | ||
1933 | base.Columns.Add(this.columnDebug); | ||
1934 | this.columnBootPictureWidth = new global::System.Data.DataColumn("BootPictureWidth", typeof(int), null, global::System.Data.MappingType.Element); | ||
1935 | base.Columns.Add(this.columnBootPictureWidth); | ||
1936 | this.columnBootPictureHeight = new global::System.Data.DataColumn("BootPictureHeight", typeof(int), null, global::System.Data.MappingType.Element); | ||
1937 | base.Columns.Add(this.columnBootPictureHeight); | ||
1938 | this.columnBootPictureProgressBar = new global::System.Data.DataColumn("BootPictureProgressBar", typeof(int), null, global::System.Data.MappingType.Element); | ||
1939 | base.Columns.Add(this.columnBootPictureProgressBar); | ||
1940 | this.columnBootPicturePng = new global::System.Data.DataColumn("BootPicturePng", typeof(byte[]), null, global::System.Data.MappingType.Element); | ||
1941 | base.Columns.Add(this.columnBootPicturePng); | ||
1942 | this.columnBootPackage = new global::System.Data.DataColumn("BootPackage", typeof(int), null, global::System.Data.MappingType.Element); | ||
1943 | base.Columns.Add(this.columnBootPackage); | ||
1944 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||
1945 | this.columnName}, true)); | ||
1946 | this.columnClientIPAddress.MaxLength = 39; | ||
1947 | this.columnClientIPNetmask.MaxLength = 39; | ||
1948 | this.columnClientIPGateway.MaxLength = 39; | ||
1949 | this.columnClientIPDNS1.MaxLength = 39; | ||
1950 | this.columnClientIPDNS2.MaxLength = 39; | ||
1951 | this.columnClientIPDNSSuffix.MaxLength = 200; | ||
1952 | this.columnClientBootServer.MaxLength = 200; | ||
1953 | this.columnNetworkDriver.MaxLength = 100; | ||
1954 | this.columnSoundDriver.MaxLength = 100; | ||
1955 | this.columnName.AllowDBNull = false; | ||
1956 | this.columnName.Unique = true; | ||
1957 | this.columnName.MaxLength = 50; | ||
1958 | this.columnGraphicsDriver.MaxLength = 100; | ||
1959 | } | ||
1960 | |||
1961 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1962 | public ImageRow NewImageRow() { | ||
1963 | return ((ImageRow)(this.NewRow())); | ||
1964 | } | ||
1965 | |||
1966 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1967 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { | ||
1968 | return new ImageRow(builder); | ||
1969 | } | ||
1970 | |||
1971 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1972 | protected override global::System.Type GetRowType() { | ||
1973 | return typeof(ImageRow); | ||
1974 | } | ||
1975 | |||
1976 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1977 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { | ||
1978 | base.OnRowChanged(e); | ||
1979 | if ((this.ImageRowChanged != null)) { | ||
1980 | this.ImageRowChanged(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); | ||
1981 | } | ||
1982 | } | ||
1983 | |||
1984 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1985 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { | ||
1986 | base.OnRowChanging(e); | ||
1987 | if ((this.ImageRowChanging != null)) { | ||
1988 | this.ImageRowChanging(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); | ||
1989 | } | ||
1990 | } | ||
1991 | |||
1992 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
1993 | protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { | ||
1994 | base.OnRowDeleted(e); | ||
1995 | if ((this.ImageRowDeleted != null)) { | ||
1996 | this.ImageRowDeleted(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); | ||
1997 | } | ||
1998 | } | ||
1999 | |||
2000 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2001 | protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { | ||
2002 | base.OnRowDeleting(e); | ||
2003 | if ((this.ImageRowDeleting != null)) { | ||
2004 | this.ImageRowDeleting(this, new ImageRowChangeEvent(((ImageRow)(e.Row)), e.Action)); | ||
2005 | } | ||
2006 | } | ||
2007 | |||
2008 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2009 | public void RemoveImageRow(ImageRow row) { | ||
2010 | this.Rows.Remove(row); | ||
2011 | } | ||
2012 | |||
2013 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2014 | public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { | ||
2015 | global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); | ||
2016 | global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); | ||
2017 | atsDataSet ds = new atsDataSet(); | ||
2018 | global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
2019 | any1.Namespace = "http://www.w3.org/2001/XMLSchema"; | ||
2020 | any1.MinOccurs = new decimal(0); | ||
2021 | any1.MaxOccurs = decimal.MaxValue; | ||
2022 | any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
2023 | sequence.Items.Add(any1); | ||
2024 | global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); | ||
2025 | any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; | ||
2026 | any2.MinOccurs = new decimal(1); | ||
2027 | any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||
2028 | sequence.Items.Add(any2); | ||
2029 | global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
2030 | attribute1.Name = "namespace"; | ||
2031 | attribute1.FixedValue = ds.Namespace; | ||
2032 | type.Attributes.Add(attribute1); | ||
2033 | global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||
2034 | attribute2.Name = "tableTypeName"; | ||
2035 | attribute2.FixedValue = "ImageDataTable"; | ||
2036 | type.Attributes.Add(attribute2); | ||
2037 | type.Particle = sequence; | ||
2038 | global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); | ||
2039 | if (xs.Contains(dsSchema.TargetNamespace)) { | ||
2040 | global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); | ||
2041 | global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); | ||
2042 | try { | ||
2043 | global::System.Xml.Schema.XmlSchema schema = null; | ||
2044 | dsSchema.Write(s1); | ||
2045 | for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { | ||
2046 | schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); | ||
2047 | s2.SetLength(0); | ||
2048 | schema.Write(s2); | ||
2049 | if ((s1.Length == s2.Length)) { | ||
2050 | s1.Position = 0; | ||
2051 | s2.Position = 0; | ||
2052 | for (; ((s1.Position != s1.Length) | ||
2053 | && (s1.ReadByte() == s2.ReadByte())); ) { | ||
2054 | ; | ||
2055 | } | ||
2056 | if ((s1.Position == s1.Length)) { | ||
2057 | return type; | ||
2058 | } | ||
2059 | } | ||
2060 | } | ||
2061 | } | ||
2062 | finally { | ||
2063 | if ((s1 != null)) { | ||
2064 | s1.Close(); | ||
2065 | } | ||
2066 | if ((s2 != null)) { | ||
2067 | s2.Close(); | ||
2068 | } | ||
2069 | } | ||
2070 | } | ||
2071 | xs.Add(dsSchema); | ||
2072 | return type; | ||
2073 | } | ||
2074 | } | ||
2075 | |||
2076 | /// <summary> | ||
2077 | ///Represents the strongly named DataTable class. | ||
2078 | ///</summary> | ||
2079 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] | ||
2080 | [global::System.Serializable()] | ||
2081 | [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] | ||
2082 | public partial class TerminalServerDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { | ||
2083 | |||
2084 | private global::System.Data.DataColumn columnPath; | ||
2085 | |||
2086 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2087 | public TerminalServerDataTable() { | ||
2088 | this.TableName = "TerminalServer"; | ||
2089 | this.BeginInit(); | ||
2090 | this.InitClass(); | ||
2091 | this.EndInit(); | ||
2092 | } | ||
2093 | |||
2094 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2095 | internal TerminalServerDataTable(global::System.Data.DataTable table) { | ||
2096 | this.TableName = table.TableName; | ||
2097 | if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { | ||
2098 | this.CaseSensitive = table.CaseSensitive; | ||
2099 | } | ||
2100 | if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { | ||
2101 | this.Locale = table.Locale; | ||
2102 | } | ||
2103 | if ((table.Namespace != table.DataSet.Namespace)) { | ||
2104 | this.Namespace = table.Namespace; | ||
2105 | } | ||
2106 | this.Prefix = table.Prefix; | ||
2107 | this.MinimumCapacity = table.MinimumCapacity; | ||
2108 | } | ||
2109 | |||
2110 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2111 | protected TerminalServerDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : | ||
2112 | base(info, context) { | ||
2113 | this.InitVars(); | ||
2114 | } | ||
2115 | |||
2116 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2117 | public global::System.Data.DataColumn PathColumn { | ||
2118 | get { | ||
2119 | return this.columnPath; | ||
2120 | } | ||
2121 | } | ||
2122 | |||
2123 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2124 | [global::System.ComponentModel.Browsable(false)] | ||
2125 | public int Count { | ||
2126 | get { | ||
2127 | return this.Rows.Count; | ||
2128 | } | ||
2129 | } | ||
2130 | |||
2131 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2132 | public TerminalServerRow this[int index] { | ||
2133 | get { | ||
2134 | return ((TerminalServerRow)(this.Rows[index])); | ||
2135 | } | ||
2136 | } | ||
2137 | |||
2138 | public event TerminalServerRowChangeEventHandler TerminalServerRowChanging; | ||
2139 | |||
2140 | public event TerminalServerRowChangeEventHandler TerminalServerRowChanged; | ||
2141 | |||
2142 | public event TerminalServerRowChangeEventHandler TerminalServerRowDeleting; | ||
2143 | |||
2144 | public event TerminalServerRowChangeEventHandler TerminalServerRowDeleted; | ||
2145 | |||
2146 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2147 | public void AddTerminalServerRow(TerminalServerRow row) { | ||
2148 | this.Rows.Add(row); | ||
2149 | } | ||
2150 | |||
2151 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2152 | public TerminalServerRow AddTerminalServerRow(string Path) { | ||
2153 | TerminalServerRow rowTerminalServerRow = ((TerminalServerRow)(this.NewRow())); | ||
2154 | object[] columnValuesArray = new object[] { | ||
2155 | Path}; | ||
2156 | rowTerminalServerRow.ItemArray = columnValuesArray; | ||
2157 | this.Rows.Add(rowTerminalServerRow); | ||
2158 | return rowTerminalServerRow; | ||
2159 | } | ||
2160 | |||
2161 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2162 | public TerminalServerRow FindByPath(string Path) { | ||
2163 | return ((TerminalServerRow)(this.Rows.Find(new object[] { | ||
2164 | Path}))); | ||
2165 | } | ||
2166 | |||
2167 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2168 | public virtual global::System.Collections.IEnumerator GetEnumerator() { | ||
2169 | return this.Rows.GetEnumerator(); | ||
2170 | } | ||
2171 | |||
2172 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2173 | public override global::System.Data.DataTable Clone() { | ||
2174 | TerminalServerDataTable cln = ((TerminalServerDataTable)(base.Clone())); | ||
2175 | cln.InitVars(); | ||
2176 | return cln; | ||
2177 | } | ||
2178 | |||
2179 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2180 | protected override global::System.Data.DataTable CreateInstance() { | ||
2181 | return new TerminalServerDataTable(); | ||
2182 | } | ||
2183 | |||
2184 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2185 | internal void InitVars() { | ||
2186 | this.columnPath = base.Columns["Path"]; | ||
2187 | } | ||
2188 | |||
2189 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2190 | private void InitClass() { | ||
2191 | this.columnPath = new global::System.Data.DataColumn("Path", typeof(string), null, global::System.Data.MappingType.Element); | ||
2192 | base.Columns.Add(this.columnPath); | ||
2193 | this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||
2194 | this.columnPath}, true)); | ||
2195 | this.columnPath.AllowDBNull = false; | ||
2196 | this.columnPath.Unique = true; | ||
2197 | this.columnPath.MaxLength = 255; | ||
2198 | } | ||
2199 | |||
2200 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2201 | public TerminalServerRow NewTerminalServerRow() { | ||
2202 | return ((TerminalServerRow)(this.NewRow())); | ||
2203 | } | ||
2204 | |||
2205 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2206 | protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { | ||
2207 | return new TerminalServerRow(builder); | ||
2208 | } | ||
2209 | |||
2210 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2211 | protected override global::System.Type GetRowType() { | ||
2212 | return typeof(TerminalServerRow); | ||
2213 | } | ||
2214 | |||
2215 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2216 | protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { | ||
2217 | base.OnRowChanged(e); | ||
2218 | if ((this.TerminalServerRowChanged != null)) { | ||
2219 | this.TerminalServerRowChanged(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); | ||
2220 | } | ||
2221 | } | ||
2222 | |||
2223 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
2224 | protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { | ||
2225 | base.OnRowChanging(e); | ||
2226 | if ((this.TerminalServerRowChanging != null)) { | ||
2227 | this.TerminalServerRowChanging(this, new TerminalServerRowChangeEvent(((TerminalServerRow)(e.Row)), e.Action)); | ||
2228 | } | ||
2229 | } | ||
2230 | |||
2231 | [globa |