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