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