dsUIFrmCustomerAccountStatistics.cs 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [ToolboxItem(true)]
  19. [XmlRoot("dsUIFrmCustomerAccountStatistics")]
  20. [DesignerCategory("code")]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsUIFrmCustomerAccountStatistics : DataSet
  23. {
  24. public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
  25. public delegate void FrmCustomerAccountStatisticsRowChangeEventHandler(object sender, FrmCustomerAccountStatisticsRowChangeEvent e);
  26. [Serializable]
  27. [XmlSchemaProvider("GetTypedTableSchema")]
  28. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  29. public class UIDataTable : DataTable, IEnumerable
  30. {
  31. private DataColumn columnStartDate;
  32. private DataColumn columnEndDate;
  33. private DataColumn columnStartNo_Customer;
  34. private DataColumn columnEndNo_Customer;
  35. [DebuggerNonUserCode]
  36. public DataColumn StartDateColumn => columnStartDate;
  37. [DebuggerNonUserCode]
  38. public DataColumn EndDateColumn => columnEndDate;
  39. [DebuggerNonUserCode]
  40. public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
  41. [DebuggerNonUserCode]
  42. public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
  43. [DebuggerNonUserCode]
  44. [Browsable(false)]
  45. public int Count => base.Rows.Count;
  46. [DebuggerNonUserCode]
  47. public UIRow this[int index] => (UIRow)base.Rows[index];
  48. public event UIRowChangeEventHandler UIRowChanging;
  49. public event UIRowChangeEventHandler UIRowChanged;
  50. public event UIRowChangeEventHandler UIRowDeleting;
  51. public event UIRowChangeEventHandler UIRowDeleted;
  52. [DebuggerNonUserCode]
  53. public UIDataTable()
  54. {
  55. base.TableName = "UI";
  56. BeginInit();
  57. InitClass();
  58. EndInit();
  59. }
  60. [DebuggerNonUserCode]
  61. internal UIDataTable(DataTable table)
  62. {
  63. base.TableName = table.TableName;
  64. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  65. {
  66. base.CaseSensitive = table.CaseSensitive;
  67. }
  68. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  69. {
  70. base.Locale = table.Locale;
  71. }
  72. if (table.Namespace != table.DataSet.Namespace)
  73. {
  74. base.Namespace = table.Namespace;
  75. }
  76. base.Prefix = table.Prefix;
  77. base.MinimumCapacity = table.MinimumCapacity;
  78. }
  79. [DebuggerNonUserCode]
  80. protected UIDataTable(SerializationInfo info, StreamingContext context)
  81. : base(info, context)
  82. {
  83. InitVars();
  84. }
  85. [DebuggerNonUserCode]
  86. public void AddUIRow(UIRow row)
  87. {
  88. base.Rows.Add(row);
  89. }
  90. [DebuggerNonUserCode]
  91. public UIRow AddUIRow(DateTime StartDate, DateTime EndDate, string StartNo_Customer, string EndNo_Customer)
  92. {
  93. UIRow uIRow = (UIRow)NewRow();
  94. object[] array2 = uIRow.ItemArray = new object[4]
  95. {
  96. StartDate,
  97. EndDate,
  98. StartNo_Customer,
  99. EndNo_Customer
  100. };
  101. base.Rows.Add(uIRow);
  102. return uIRow;
  103. }
  104. [DebuggerNonUserCode]
  105. public virtual IEnumerator GetEnumerator()
  106. {
  107. return base.Rows.GetEnumerator();
  108. }
  109. [DebuggerNonUserCode]
  110. public override DataTable Clone()
  111. {
  112. UIDataTable uIDataTable = (UIDataTable)base.Clone();
  113. uIDataTable.InitVars();
  114. return uIDataTable;
  115. }
  116. [DebuggerNonUserCode]
  117. protected override DataTable CreateInstance()
  118. {
  119. return new UIDataTable();
  120. }
  121. [DebuggerNonUserCode]
  122. internal void InitVars()
  123. {
  124. columnStartDate = base.Columns["StartDate"];
  125. columnEndDate = base.Columns["EndDate"];
  126. columnStartNo_Customer = base.Columns["StartNo_Customer"];
  127. columnEndNo_Customer = base.Columns["EndNo_Customer"];
  128. }
  129. [DebuggerNonUserCode]
  130. private void InitClass()
  131. {
  132. columnStartDate = new DataColumn("StartDate", typeof(DateTime), null, MappingType.Element);
  133. base.Columns.Add(columnStartDate);
  134. columnEndDate = new DataColumn("EndDate", typeof(DateTime), null, MappingType.Element);
  135. base.Columns.Add(columnEndDate);
  136. columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
  137. base.Columns.Add(columnStartNo_Customer);
  138. columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
  139. base.Columns.Add(columnEndNo_Customer);
  140. }
  141. [DebuggerNonUserCode]
  142. public UIRow NewUIRow()
  143. {
  144. return (UIRow)NewRow();
  145. }
  146. [DebuggerNonUserCode]
  147. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  148. {
  149. return new UIRow(builder);
  150. }
  151. [DebuggerNonUserCode]
  152. protected override Type GetRowType()
  153. {
  154. return typeof(UIRow);
  155. }
  156. [DebuggerNonUserCode]
  157. protected override void OnRowChanged(DataRowChangeEventArgs e)
  158. {
  159. base.OnRowChanged(e);
  160. if (this.UIRowChanged != null)
  161. {
  162. this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  163. }
  164. }
  165. [DebuggerNonUserCode]
  166. protected override void OnRowChanging(DataRowChangeEventArgs e)
  167. {
  168. base.OnRowChanging(e);
  169. if (this.UIRowChanging != null)
  170. {
  171. this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  172. }
  173. }
  174. [DebuggerNonUserCode]
  175. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  176. {
  177. base.OnRowDeleted(e);
  178. if (this.UIRowDeleted != null)
  179. {
  180. this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  181. }
  182. }
  183. [DebuggerNonUserCode]
  184. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  185. {
  186. base.OnRowDeleting(e);
  187. if (this.UIRowDeleting != null)
  188. {
  189. this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  190. }
  191. }
  192. [DebuggerNonUserCode]
  193. public void RemoveUIRow(UIRow row)
  194. {
  195. base.Rows.Remove(row);
  196. }
  197. [DebuggerNonUserCode]
  198. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  199. {
  200. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  201. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  202. dsUIFrmCustomerAccountStatistics dsUIFrmCustomerAccountStatistics = new dsUIFrmCustomerAccountStatistics();
  203. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  204. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  205. xmlSchemaAny.MinOccurs = 0m;
  206. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  207. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  208. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  209. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  210. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  211. xmlSchemaAny2.MinOccurs = 1m;
  212. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  213. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  214. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  215. xmlSchemaAttribute.Name = "namespace";
  216. xmlSchemaAttribute.FixedValue = dsUIFrmCustomerAccountStatistics.Namespace;
  217. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  218. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  219. xmlSchemaAttribute2.Name = "tableTypeName";
  220. xmlSchemaAttribute2.FixedValue = "UIDataTable";
  221. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  222. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  223. XmlSchema schemaSerializable = dsUIFrmCustomerAccountStatistics.GetSchemaSerializable();
  224. if (xs.Contains(schemaSerializable.TargetNamespace))
  225. {
  226. MemoryStream memoryStream = new MemoryStream();
  227. MemoryStream memoryStream2 = new MemoryStream();
  228. try
  229. {
  230. XmlSchema xmlSchema = null;
  231. schemaSerializable.Write(memoryStream);
  232. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  233. while (enumerator.MoveNext())
  234. {
  235. xmlSchema = (XmlSchema)enumerator.Current;
  236. memoryStream2.SetLength(0L);
  237. xmlSchema.Write(memoryStream2);
  238. if (memoryStream.Length == memoryStream2.Length)
  239. {
  240. memoryStream.Position = 0L;
  241. memoryStream2.Position = 0L;
  242. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  243. {
  244. }
  245. if (memoryStream.Position == memoryStream.Length)
  246. {
  247. return xmlSchemaComplexType;
  248. }
  249. }
  250. }
  251. }
  252. finally
  253. {
  254. memoryStream?.Close();
  255. memoryStream2?.Close();
  256. }
  257. }
  258. xs.Add(schemaSerializable);
  259. return xmlSchemaComplexType;
  260. }
  261. }
  262. [Serializable]
  263. [XmlSchemaProvider("GetTypedTableSchema")]
  264. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  265. public class FrmCustomerAccountStatisticsDataTable : DataTable, IEnumerable
  266. {
  267. private DataColumn columnNo_Customer;
  268. private DataColumn columnShortName_Customer;
  269. private DataColumn columnBillType;
  270. private DataColumn columnBillNo;
  271. private DataColumn columnBillDate;
  272. private DataColumn columnPrePayMoney;
  273. private DataColumn columnToGetMoney;
  274. private DataColumn columnBalance;
  275. [DebuggerNonUserCode]
  276. public DataColumn No_CustomerColumn => columnNo_Customer;
  277. [DebuggerNonUserCode]
  278. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  279. [DebuggerNonUserCode]
  280. public DataColumn BillTypeColumn => columnBillType;
  281. [DebuggerNonUserCode]
  282. public DataColumn BillNoColumn => columnBillNo;
  283. [DebuggerNonUserCode]
  284. public DataColumn BillDateColumn => columnBillDate;
  285. [DebuggerNonUserCode]
  286. public DataColumn PrePayMoneyColumn => columnPrePayMoney;
  287. [DebuggerNonUserCode]
  288. public DataColumn ToGetMoneyColumn => columnToGetMoney;
  289. [DebuggerNonUserCode]
  290. public DataColumn BalanceColumn => columnBalance;
  291. [DebuggerNonUserCode]
  292. [Browsable(false)]
  293. public int Count => base.Rows.Count;
  294. [DebuggerNonUserCode]
  295. public FrmCustomerAccountStatisticsRow this[int index] => (FrmCustomerAccountStatisticsRow)base.Rows[index];
  296. public event FrmCustomerAccountStatisticsRowChangeEventHandler FrmCustomerAccountStatisticsRowChanging;
  297. public event FrmCustomerAccountStatisticsRowChangeEventHandler FrmCustomerAccountStatisticsRowChanged;
  298. public event FrmCustomerAccountStatisticsRowChangeEventHandler FrmCustomerAccountStatisticsRowDeleting;
  299. public event FrmCustomerAccountStatisticsRowChangeEventHandler FrmCustomerAccountStatisticsRowDeleted;
  300. [DebuggerNonUserCode]
  301. public FrmCustomerAccountStatisticsDataTable()
  302. {
  303. base.TableName = "FrmCustomerAccountStatistics";
  304. BeginInit();
  305. InitClass();
  306. EndInit();
  307. }
  308. [DebuggerNonUserCode]
  309. internal FrmCustomerAccountStatisticsDataTable(DataTable table)
  310. {
  311. base.TableName = table.TableName;
  312. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  313. {
  314. base.CaseSensitive = table.CaseSensitive;
  315. }
  316. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  317. {
  318. base.Locale = table.Locale;
  319. }
  320. if (table.Namespace != table.DataSet.Namespace)
  321. {
  322. base.Namespace = table.Namespace;
  323. }
  324. base.Prefix = table.Prefix;
  325. base.MinimumCapacity = table.MinimumCapacity;
  326. }
  327. [DebuggerNonUserCode]
  328. protected FrmCustomerAccountStatisticsDataTable(SerializationInfo info, StreamingContext context)
  329. : base(info, context)
  330. {
  331. InitVars();
  332. }
  333. [DebuggerNonUserCode]
  334. public void AddFrmCustomerAccountStatisticsRow(FrmCustomerAccountStatisticsRow row)
  335. {
  336. base.Rows.Add(row);
  337. }
  338. [DebuggerNonUserCode]
  339. public FrmCustomerAccountStatisticsRow AddFrmCustomerAccountStatisticsRow(string No_Customer, string ShortName_Customer, string BillType, string BillNo, DateTime BillDate, decimal PrePayMoney, decimal ToGetMoney, decimal Balance)
  340. {
  341. FrmCustomerAccountStatisticsRow frmCustomerAccountStatisticsRow = (FrmCustomerAccountStatisticsRow)NewRow();
  342. object[] array2 = frmCustomerAccountStatisticsRow.ItemArray = new object[8]
  343. {
  344. No_Customer,
  345. ShortName_Customer,
  346. BillType,
  347. BillNo,
  348. BillDate,
  349. PrePayMoney,
  350. ToGetMoney,
  351. Balance
  352. };
  353. base.Rows.Add(frmCustomerAccountStatisticsRow);
  354. return frmCustomerAccountStatisticsRow;
  355. }
  356. [DebuggerNonUserCode]
  357. public virtual IEnumerator GetEnumerator()
  358. {
  359. return base.Rows.GetEnumerator();
  360. }
  361. [DebuggerNonUserCode]
  362. public override DataTable Clone()
  363. {
  364. FrmCustomerAccountStatisticsDataTable frmCustomerAccountStatisticsDataTable = (FrmCustomerAccountStatisticsDataTable)base.Clone();
  365. frmCustomerAccountStatisticsDataTable.InitVars();
  366. return frmCustomerAccountStatisticsDataTable;
  367. }
  368. [DebuggerNonUserCode]
  369. protected override DataTable CreateInstance()
  370. {
  371. return new FrmCustomerAccountStatisticsDataTable();
  372. }
  373. [DebuggerNonUserCode]
  374. internal void InitVars()
  375. {
  376. columnNo_Customer = base.Columns["No_Customer"];
  377. columnShortName_Customer = base.Columns["ShortName_Customer"];
  378. columnBillType = base.Columns["BillType"];
  379. columnBillNo = base.Columns["BillNo"];
  380. columnBillDate = base.Columns["BillDate"];
  381. columnPrePayMoney = base.Columns["PrePayMoney"];
  382. columnToGetMoney = base.Columns["ToGetMoney"];
  383. columnBalance = base.Columns["Balance"];
  384. }
  385. [DebuggerNonUserCode]
  386. private void InitClass()
  387. {
  388. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  389. base.Columns.Add(columnNo_Customer);
  390. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  391. base.Columns.Add(columnShortName_Customer);
  392. columnBillType = new DataColumn("BillType", typeof(string), null, MappingType.Element);
  393. base.Columns.Add(columnBillType);
  394. columnBillNo = new DataColumn("BillNo", typeof(string), null, MappingType.Element);
  395. base.Columns.Add(columnBillNo);
  396. columnBillDate = new DataColumn("BillDate", typeof(DateTime), null, MappingType.Element);
  397. base.Columns.Add(columnBillDate);
  398. columnPrePayMoney = new DataColumn("PrePayMoney", typeof(decimal), null, MappingType.Element);
  399. base.Columns.Add(columnPrePayMoney);
  400. columnToGetMoney = new DataColumn("ToGetMoney", typeof(decimal), null, MappingType.Element);
  401. base.Columns.Add(columnToGetMoney);
  402. columnBalance = new DataColumn("Balance", typeof(decimal), null, MappingType.Element);
  403. base.Columns.Add(columnBalance);
  404. }
  405. [DebuggerNonUserCode]
  406. public FrmCustomerAccountStatisticsRow NewFrmCustomerAccountStatisticsRow()
  407. {
  408. return (FrmCustomerAccountStatisticsRow)NewRow();
  409. }
  410. [DebuggerNonUserCode]
  411. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  412. {
  413. return new FrmCustomerAccountStatisticsRow(builder);
  414. }
  415. [DebuggerNonUserCode]
  416. protected override Type GetRowType()
  417. {
  418. return typeof(FrmCustomerAccountStatisticsRow);
  419. }
  420. [DebuggerNonUserCode]
  421. protected override void OnRowChanged(DataRowChangeEventArgs e)
  422. {
  423. base.OnRowChanged(e);
  424. if (this.FrmCustomerAccountStatisticsRowChanged != null)
  425. {
  426. this.FrmCustomerAccountStatisticsRowChanged(this, new FrmCustomerAccountStatisticsRowChangeEvent((FrmCustomerAccountStatisticsRow)e.Row, e.Action));
  427. }
  428. }
  429. [DebuggerNonUserCode]
  430. protected override void OnRowChanging(DataRowChangeEventArgs e)
  431. {
  432. base.OnRowChanging(e);
  433. if (this.FrmCustomerAccountStatisticsRowChanging != null)
  434. {
  435. this.FrmCustomerAccountStatisticsRowChanging(this, new FrmCustomerAccountStatisticsRowChangeEvent((FrmCustomerAccountStatisticsRow)e.Row, e.Action));
  436. }
  437. }
  438. [DebuggerNonUserCode]
  439. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  440. {
  441. base.OnRowDeleted(e);
  442. if (this.FrmCustomerAccountStatisticsRowDeleted != null)
  443. {
  444. this.FrmCustomerAccountStatisticsRowDeleted(this, new FrmCustomerAccountStatisticsRowChangeEvent((FrmCustomerAccountStatisticsRow)e.Row, e.Action));
  445. }
  446. }
  447. [DebuggerNonUserCode]
  448. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  449. {
  450. base.OnRowDeleting(e);
  451. if (this.FrmCustomerAccountStatisticsRowDeleting != null)
  452. {
  453. this.FrmCustomerAccountStatisticsRowDeleting(this, new FrmCustomerAccountStatisticsRowChangeEvent((FrmCustomerAccountStatisticsRow)e.Row, e.Action));
  454. }
  455. }
  456. [DebuggerNonUserCode]
  457. public void RemoveFrmCustomerAccountStatisticsRow(FrmCustomerAccountStatisticsRow row)
  458. {
  459. base.Rows.Remove(row);
  460. }
  461. [DebuggerNonUserCode]
  462. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  463. {
  464. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  465. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  466. dsUIFrmCustomerAccountStatistics dsUIFrmCustomerAccountStatistics = new dsUIFrmCustomerAccountStatistics();
  467. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  468. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  469. xmlSchemaAny.MinOccurs = 0m;
  470. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  471. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  472. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  473. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  474. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  475. xmlSchemaAny2.MinOccurs = 1m;
  476. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  477. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  478. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  479. xmlSchemaAttribute.Name = "namespace";
  480. xmlSchemaAttribute.FixedValue = dsUIFrmCustomerAccountStatistics.Namespace;
  481. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  482. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  483. xmlSchemaAttribute2.Name = "tableTypeName";
  484. xmlSchemaAttribute2.FixedValue = "FrmCustomerAccountStatisticsDataTable";
  485. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  486. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  487. XmlSchema schemaSerializable = dsUIFrmCustomerAccountStatistics.GetSchemaSerializable();
  488. if (xs.Contains(schemaSerializable.TargetNamespace))
  489. {
  490. MemoryStream memoryStream = new MemoryStream();
  491. MemoryStream memoryStream2 = new MemoryStream();
  492. try
  493. {
  494. XmlSchema xmlSchema = null;
  495. schemaSerializable.Write(memoryStream);
  496. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  497. while (enumerator.MoveNext())
  498. {
  499. xmlSchema = (XmlSchema)enumerator.Current;
  500. memoryStream2.SetLength(0L);
  501. xmlSchema.Write(memoryStream2);
  502. if (memoryStream.Length == memoryStream2.Length)
  503. {
  504. memoryStream.Position = 0L;
  505. memoryStream2.Position = 0L;
  506. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  507. {
  508. }
  509. if (memoryStream.Position == memoryStream.Length)
  510. {
  511. return xmlSchemaComplexType;
  512. }
  513. }
  514. }
  515. }
  516. finally
  517. {
  518. memoryStream?.Close();
  519. memoryStream2?.Close();
  520. }
  521. }
  522. xs.Add(schemaSerializable);
  523. return xmlSchemaComplexType;
  524. }
  525. }
  526. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  527. public class UIRow : DataRow
  528. {
  529. private UIDataTable tableUI;
  530. [DebuggerNonUserCode]
  531. public DateTime StartDate
  532. {
  533. get
  534. {
  535. try
  536. {
  537. return (DateTime)base[tableUI.StartDateColumn];
  538. }
  539. catch (InvalidCastException innerException)
  540. {
  541. throw new StrongTypingException("The value for column 'StartDate' in table 'UI' is DBNull.", innerException);
  542. }
  543. }
  544. set
  545. {
  546. base[tableUI.StartDateColumn] = value;
  547. }
  548. }
  549. [DebuggerNonUserCode]
  550. public DateTime EndDate
  551. {
  552. get
  553. {
  554. try
  555. {
  556. return (DateTime)base[tableUI.EndDateColumn];
  557. }
  558. catch (InvalidCastException innerException)
  559. {
  560. throw new StrongTypingException("The value for column 'EndDate' in table 'UI' is DBNull.", innerException);
  561. }
  562. }
  563. set
  564. {
  565. base[tableUI.EndDateColumn] = value;
  566. }
  567. }
  568. [DebuggerNonUserCode]
  569. public string StartNo_Customer
  570. {
  571. get
  572. {
  573. try
  574. {
  575. return (string)base[tableUI.StartNo_CustomerColumn];
  576. }
  577. catch (InvalidCastException innerException)
  578. {
  579. throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
  580. }
  581. }
  582. set
  583. {
  584. base[tableUI.StartNo_CustomerColumn] = value;
  585. }
  586. }
  587. [DebuggerNonUserCode]
  588. public string EndNo_Customer
  589. {
  590. get
  591. {
  592. try
  593. {
  594. return (string)base[tableUI.EndNo_CustomerColumn];
  595. }
  596. catch (InvalidCastException innerException)
  597. {
  598. throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
  599. }
  600. }
  601. set
  602. {
  603. base[tableUI.EndNo_CustomerColumn] = value;
  604. }
  605. }
  606. [DebuggerNonUserCode]
  607. internal UIRow(DataRowBuilder rb)
  608. : base(rb)
  609. {
  610. tableUI = (UIDataTable)base.Table;
  611. }
  612. [DebuggerNonUserCode]
  613. public bool IsStartDateNull()
  614. {
  615. return IsNull(tableUI.StartDateColumn);
  616. }
  617. [DebuggerNonUserCode]
  618. public void SetStartDateNull()
  619. {
  620. base[tableUI.StartDateColumn] = Convert.DBNull;
  621. }
  622. [DebuggerNonUserCode]
  623. public bool IsEndDateNull()
  624. {
  625. return IsNull(tableUI.EndDateColumn);
  626. }
  627. [DebuggerNonUserCode]
  628. public void SetEndDateNull()
  629. {
  630. base[tableUI.EndDateColumn] = Convert.DBNull;
  631. }
  632. [DebuggerNonUserCode]
  633. public bool IsStartNo_CustomerNull()
  634. {
  635. return IsNull(tableUI.StartNo_CustomerColumn);
  636. }
  637. [DebuggerNonUserCode]
  638. public void SetStartNo_CustomerNull()
  639. {
  640. base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
  641. }
  642. [DebuggerNonUserCode]
  643. public bool IsEndNo_CustomerNull()
  644. {
  645. return IsNull(tableUI.EndNo_CustomerColumn);
  646. }
  647. [DebuggerNonUserCode]
  648. public void SetEndNo_CustomerNull()
  649. {
  650. base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
  651. }
  652. }
  653. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  654. public class FrmCustomerAccountStatisticsRow : DataRow
  655. {
  656. private FrmCustomerAccountStatisticsDataTable tableFrmCustomerAccountStatistics;
  657. [DebuggerNonUserCode]
  658. public string No_Customer
  659. {
  660. get
  661. {
  662. try
  663. {
  664. return (string)base[tableFrmCustomerAccountStatistics.No_CustomerColumn];
  665. }
  666. catch (InvalidCastException innerException)
  667. {
  668. throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  669. }
  670. }
  671. set
  672. {
  673. base[tableFrmCustomerAccountStatistics.No_CustomerColumn] = value;
  674. }
  675. }
  676. [DebuggerNonUserCode]
  677. public string ShortName_Customer
  678. {
  679. get
  680. {
  681. try
  682. {
  683. return (string)base[tableFrmCustomerAccountStatistics.ShortName_CustomerColumn];
  684. }
  685. catch (InvalidCastException innerException)
  686. {
  687. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  688. }
  689. }
  690. set
  691. {
  692. base[tableFrmCustomerAccountStatistics.ShortName_CustomerColumn] = value;
  693. }
  694. }
  695. [DebuggerNonUserCode]
  696. public string BillType
  697. {
  698. get
  699. {
  700. try
  701. {
  702. return (string)base[tableFrmCustomerAccountStatistics.BillTypeColumn];
  703. }
  704. catch (InvalidCastException innerException)
  705. {
  706. throw new StrongTypingException("The value for column 'BillType' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  707. }
  708. }
  709. set
  710. {
  711. base[tableFrmCustomerAccountStatistics.BillTypeColumn] = value;
  712. }
  713. }
  714. [DebuggerNonUserCode]
  715. public string BillNo
  716. {
  717. get
  718. {
  719. try
  720. {
  721. return (string)base[tableFrmCustomerAccountStatistics.BillNoColumn];
  722. }
  723. catch (InvalidCastException innerException)
  724. {
  725. throw new StrongTypingException("The value for column 'BillNo' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  726. }
  727. }
  728. set
  729. {
  730. base[tableFrmCustomerAccountStatistics.BillNoColumn] = value;
  731. }
  732. }
  733. [DebuggerNonUserCode]
  734. public DateTime BillDate
  735. {
  736. get
  737. {
  738. try
  739. {
  740. return (DateTime)base[tableFrmCustomerAccountStatistics.BillDateColumn];
  741. }
  742. catch (InvalidCastException innerException)
  743. {
  744. throw new StrongTypingException("The value for column 'BillDate' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  745. }
  746. }
  747. set
  748. {
  749. base[tableFrmCustomerAccountStatistics.BillDateColumn] = value;
  750. }
  751. }
  752. [DebuggerNonUserCode]
  753. public decimal PrePayMoney
  754. {
  755. get
  756. {
  757. try
  758. {
  759. return (decimal)base[tableFrmCustomerAccountStatistics.PrePayMoneyColumn];
  760. }
  761. catch (InvalidCastException innerException)
  762. {
  763. throw new StrongTypingException("The value for column 'PrePayMoney' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  764. }
  765. }
  766. set
  767. {
  768. base[tableFrmCustomerAccountStatistics.PrePayMoneyColumn] = value;
  769. }
  770. }
  771. [DebuggerNonUserCode]
  772. public decimal ToGetMoney
  773. {
  774. get
  775. {
  776. try
  777. {
  778. return (decimal)base[tableFrmCustomerAccountStatistics.ToGetMoneyColumn];
  779. }
  780. catch (InvalidCastException innerException)
  781. {
  782. throw new StrongTypingException("The value for column 'ToGetMoney' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  783. }
  784. }
  785. set
  786. {
  787. base[tableFrmCustomerAccountStatistics.ToGetMoneyColumn] = value;
  788. }
  789. }
  790. [DebuggerNonUserCode]
  791. public decimal Balance
  792. {
  793. get
  794. {
  795. try
  796. {
  797. return (decimal)base[tableFrmCustomerAccountStatistics.BalanceColumn];
  798. }
  799. catch (InvalidCastException innerException)
  800. {
  801. throw new StrongTypingException("The value for column 'Balance' in table 'FrmCustomerAccountStatistics' is DBNull.", innerException);
  802. }
  803. }
  804. set
  805. {
  806. base[tableFrmCustomerAccountStatistics.BalanceColumn] = value;
  807. }
  808. }
  809. [DebuggerNonUserCode]
  810. internal FrmCustomerAccountStatisticsRow(DataRowBuilder rb)
  811. : base(rb)
  812. {
  813. tableFrmCustomerAccountStatistics = (FrmCustomerAccountStatisticsDataTable)base.Table;
  814. }
  815. [DebuggerNonUserCode]
  816. public bool IsNo_CustomerNull()
  817. {
  818. return IsNull(tableFrmCustomerAccountStatistics.No_CustomerColumn);
  819. }
  820. [DebuggerNonUserCode]
  821. public void SetNo_CustomerNull()
  822. {
  823. base[tableFrmCustomerAccountStatistics.No_CustomerColumn] = Convert.DBNull;
  824. }
  825. [DebuggerNonUserCode]
  826. public bool IsShortName_CustomerNull()
  827. {
  828. return IsNull(tableFrmCustomerAccountStatistics.ShortName_CustomerColumn);
  829. }
  830. [DebuggerNonUserCode]
  831. public void SetShortName_CustomerNull()
  832. {
  833. base[tableFrmCustomerAccountStatistics.ShortName_CustomerColumn] = Convert.DBNull;
  834. }
  835. [DebuggerNonUserCode]
  836. public bool IsBillTypeNull()
  837. {
  838. return IsNull(tableFrmCustomerAccountStatistics.BillTypeColumn);
  839. }
  840. [DebuggerNonUserCode]
  841. public void SetBillTypeNull()
  842. {
  843. base[tableFrmCustomerAccountStatistics.BillTypeColumn] = Convert.DBNull;
  844. }
  845. [DebuggerNonUserCode]
  846. public bool IsBillNoNull()
  847. {
  848. return IsNull(tableFrmCustomerAccountStatistics.BillNoColumn);
  849. }
  850. [DebuggerNonUserCode]
  851. public void SetBillNoNull()
  852. {
  853. base[tableFrmCustomerAccountStatistics.BillNoColumn] = Convert.DBNull;
  854. }
  855. [DebuggerNonUserCode]
  856. public bool IsBillDateNull()
  857. {
  858. return IsNull(tableFrmCustomerAccountStatistics.BillDateColumn);
  859. }
  860. [DebuggerNonUserCode]
  861. public void SetBillDateNull()
  862. {
  863. base[tableFrmCustomerAccountStatistics.BillDateColumn] = Convert.DBNull;
  864. }
  865. [DebuggerNonUserCode]
  866. public bool IsPrePayMoneyNull()
  867. {
  868. return IsNull(tableFrmCustomerAccountStatistics.PrePayMoneyColumn);
  869. }
  870. [DebuggerNonUserCode]
  871. public void SetPrePayMoneyNull()
  872. {
  873. base[tableFrmCustomerAccountStatistics.PrePayMoneyColumn] = Convert.DBNull;
  874. }
  875. [DebuggerNonUserCode]
  876. public bool IsToGetMoneyNull()
  877. {
  878. return IsNull(tableFrmCustomerAccountStatistics.ToGetMoneyColumn);
  879. }
  880. [DebuggerNonUserCode]
  881. public void SetToGetMoneyNull()
  882. {
  883. base[tableFrmCustomerAccountStatistics.ToGetMoneyColumn] = Convert.DBNull;
  884. }
  885. [DebuggerNonUserCode]
  886. public bool IsBalanceNull()
  887. {
  888. return IsNull(tableFrmCustomerAccountStatistics.BalanceColumn);
  889. }
  890. [DebuggerNonUserCode]
  891. public void SetBalanceNull()
  892. {
  893. base[tableFrmCustomerAccountStatistics.BalanceColumn] = Convert.DBNull;
  894. }
  895. }
  896. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  897. public class UIRowChangeEvent : EventArgs
  898. {
  899. private UIRow eventRow;
  900. private DataRowAction eventAction;
  901. [DebuggerNonUserCode]
  902. public UIRow Row => eventRow;
  903. [DebuggerNonUserCode]
  904. public DataRowAction Action => eventAction;
  905. [DebuggerNonUserCode]
  906. public UIRowChangeEvent(UIRow row, DataRowAction action)
  907. {
  908. eventRow = row;
  909. eventAction = action;
  910. }
  911. }
  912. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  913. public class FrmCustomerAccountStatisticsRowChangeEvent : EventArgs
  914. {
  915. private FrmCustomerAccountStatisticsRow eventRow;
  916. private DataRowAction eventAction;
  917. [DebuggerNonUserCode]
  918. public FrmCustomerAccountStatisticsRow Row => eventRow;
  919. [DebuggerNonUserCode]
  920. public DataRowAction Action => eventAction;
  921. [DebuggerNonUserCode]
  922. public FrmCustomerAccountStatisticsRowChangeEvent(FrmCustomerAccountStatisticsRow row, DataRowAction action)
  923. {
  924. eventRow = row;
  925. eventAction = action;
  926. }
  927. }
  928. private UIDataTable tableUI;
  929. private FrmCustomerAccountStatisticsDataTable tableFrmCustomerAccountStatistics;
  930. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  931. [Browsable(false)]
  932. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  933. [DebuggerNonUserCode]
  934. public UIDataTable UI => tableUI;
  935. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  936. [DebuggerNonUserCode]
  937. [Browsable(false)]
  938. public FrmCustomerAccountStatisticsDataTable FrmCustomerAccountStatistics => tableFrmCustomerAccountStatistics;
  939. [Browsable(true)]
  940. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  941. [DebuggerNonUserCode]
  942. public override SchemaSerializationMode SchemaSerializationMode
  943. {
  944. get
  945. {
  946. return _schemaSerializationMode;
  947. }
  948. set
  949. {
  950. _schemaSerializationMode = value;
  951. }
  952. }
  953. [DebuggerNonUserCode]
  954. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  955. public new DataTableCollection Tables => base.Tables;
  956. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  957. [DebuggerNonUserCode]
  958. public new DataRelationCollection Relations => base.Relations;
  959. [DebuggerNonUserCode]
  960. public dsUIFrmCustomerAccountStatistics()
  961. {
  962. BeginInit();
  963. InitClass();
  964. CollectionChangeEventHandler value = SchemaChanged;
  965. base.Tables.CollectionChanged += value;
  966. base.Relations.CollectionChanged += value;
  967. EndInit();
  968. }
  969. [DebuggerNonUserCode]
  970. protected dsUIFrmCustomerAccountStatistics(SerializationInfo info, StreamingContext context)
  971. : base(info, context, ConstructSchema: false)
  972. {
  973. if (IsBinarySerialized(info, context))
  974. {
  975. InitVars(initTable: false);
  976. CollectionChangeEventHandler value = SchemaChanged;
  977. Tables.CollectionChanged += value;
  978. Relations.CollectionChanged += value;
  979. return;
  980. }
  981. string s = (string)info.GetValue("XmlSchema", typeof(string));
  982. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  983. {
  984. DataSet dataSet = new DataSet();
  985. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  986. if (dataSet.Tables["UI"] != null)
  987. {
  988. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  989. }
  990. if (dataSet.Tables["FrmCustomerAccountStatistics"] != null)
  991. {
  992. base.Tables.Add(new FrmCustomerAccountStatisticsDataTable(dataSet.Tables["FrmCustomerAccountStatistics"]));
  993. }
  994. base.DataSetName = dataSet.DataSetName;
  995. base.Prefix = dataSet.Prefix;
  996. base.Namespace = dataSet.Namespace;
  997. base.Locale = dataSet.Locale;
  998. base.CaseSensitive = dataSet.CaseSensitive;
  999. base.EnforceConstraints = dataSet.EnforceConstraints;
  1000. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1001. InitVars();
  1002. }
  1003. else
  1004. {
  1005. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1006. }
  1007. GetSerializationData(info, context);
  1008. CollectionChangeEventHandler value2 = SchemaChanged;
  1009. base.Tables.CollectionChanged += value2;
  1010. Relations.CollectionChanged += value2;
  1011. }
  1012. [DebuggerNonUserCode]
  1013. protected override void InitializeDerivedDataSet()
  1014. {
  1015. BeginInit();
  1016. InitClass();
  1017. EndInit();
  1018. }
  1019. [DebuggerNonUserCode]
  1020. public override DataSet Clone()
  1021. {
  1022. dsUIFrmCustomerAccountStatistics dsUIFrmCustomerAccountStatistics = (dsUIFrmCustomerAccountStatistics)base.Clone();
  1023. dsUIFrmCustomerAccountStatistics.InitVars();
  1024. dsUIFrmCustomerAccountStatistics.SchemaSerializationMode = SchemaSerializationMode;
  1025. return dsUIFrmCustomerAccountStatistics;
  1026. }
  1027. [DebuggerNonUserCode]
  1028. protected override bool ShouldSerializeTables()
  1029. {
  1030. return false;
  1031. }
  1032. [DebuggerNonUserCode]
  1033. protected override bool ShouldSerializeRelations()
  1034. {
  1035. return false;
  1036. }
  1037. [DebuggerNonUserCode]
  1038. protected override void ReadXmlSerializable(XmlReader reader)
  1039. {
  1040. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1041. {
  1042. Reset();
  1043. DataSet dataSet = new DataSet();
  1044. dataSet.ReadXml(reader);
  1045. if (dataSet.Tables["UI"] != null)
  1046. {
  1047. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1048. }
  1049. if (dataSet.Tables["FrmCustomerAccountStatistics"] != null)
  1050. {
  1051. base.Tables.Add(new FrmCustomerAccountStatisticsDataTable(dataSet.Tables["FrmCustomerAccountStatistics"]));
  1052. }
  1053. base.DataSetName = dataSet.DataSetName;
  1054. base.Prefix = dataSet.Prefix;
  1055. base.Namespace = dataSet.Namespace;
  1056. base.Locale = dataSet.Locale;
  1057. base.CaseSensitive = dataSet.CaseSensitive;
  1058. base.EnforceConstraints = dataSet.EnforceConstraints;
  1059. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1060. InitVars();
  1061. }
  1062. else
  1063. {
  1064. ReadXml(reader);
  1065. InitVars();
  1066. }
  1067. }
  1068. [DebuggerNonUserCode]
  1069. protected override XmlSchema GetSchemaSerializable()
  1070. {
  1071. MemoryStream memoryStream = new MemoryStream();
  1072. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1073. memoryStream.Position = 0L;
  1074. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1075. }
  1076. [DebuggerNonUserCode]
  1077. internal void InitVars()
  1078. {
  1079. InitVars(initTable: true);
  1080. }
  1081. [DebuggerNonUserCode]
  1082. internal void InitVars(bool initTable)
  1083. {
  1084. tableUI = (UIDataTable)base.Tables["UI"];
  1085. if (initTable && tableUI != null)
  1086. {
  1087. tableUI.InitVars();
  1088. }
  1089. tableFrmCustomerAccountStatistics = (FrmCustomerAccountStatisticsDataTable)base.Tables["FrmCustomerAccountStatistics"];
  1090. if (initTable && tableFrmCustomerAccountStatistics != null)
  1091. {
  1092. tableFrmCustomerAccountStatistics.InitVars();
  1093. }
  1094. }
  1095. [DebuggerNonUserCode]
  1096. private void InitClass()
  1097. {
  1098. base.DataSetName = "dsUIFrmCustomerAccountStatistics";
  1099. base.Prefix = "";
  1100. base.Namespace = "http://tempuri.org/dsUIFrmCustomerAccountStatistics.xsd";
  1101. base.EnforceConstraints = true;
  1102. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1103. tableUI = new UIDataTable();
  1104. base.Tables.Add(tableUI);
  1105. tableFrmCustomerAccountStatistics = new FrmCustomerAccountStatisticsDataTable();
  1106. base.Tables.Add(tableFrmCustomerAccountStatistics);
  1107. }
  1108. [DebuggerNonUserCode]
  1109. private bool ShouldSerializeUI()
  1110. {
  1111. return false;
  1112. }
  1113. [DebuggerNonUserCode]
  1114. private bool ShouldSerializeFrmCustomerAccountStatistics()
  1115. {
  1116. return false;
  1117. }
  1118. [DebuggerNonUserCode]
  1119. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1120. {
  1121. if (e.Action == CollectionChangeAction.Remove)
  1122. {
  1123. InitVars();
  1124. }
  1125. }
  1126. [DebuggerNonUserCode]
  1127. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1128. {
  1129. dsUIFrmCustomerAccountStatistics dsUIFrmCustomerAccountStatistics = new dsUIFrmCustomerAccountStatistics();
  1130. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1131. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1132. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1133. xmlSchemaAny.Namespace = dsUIFrmCustomerAccountStatistics.Namespace;
  1134. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1135. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1136. XmlSchema schemaSerializable = dsUIFrmCustomerAccountStatistics.GetSchemaSerializable();
  1137. if (xs.Contains(schemaSerializable.TargetNamespace))
  1138. {
  1139. MemoryStream memoryStream = new MemoryStream();
  1140. MemoryStream memoryStream2 = new MemoryStream();
  1141. try
  1142. {
  1143. XmlSchema xmlSchema = null;
  1144. schemaSerializable.Write(memoryStream);
  1145. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  1146. while (enumerator.MoveNext())
  1147. {
  1148. xmlSchema = (XmlSchema)enumerator.Current;
  1149. memoryStream2.SetLength(0L);
  1150. xmlSchema.Write(memoryStream2);
  1151. if (memoryStream.Length == memoryStream2.Length)
  1152. {
  1153. memoryStream.Position = 0L;
  1154. memoryStream2.Position = 0L;
  1155. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  1156. {
  1157. }
  1158. if (memoryStream.Position == memoryStream.Length)
  1159. {
  1160. return xmlSchemaComplexType;
  1161. }
  1162. }
  1163. }
  1164. }
  1165. finally
  1166. {
  1167. memoryStream?.Close();
  1168. memoryStream2?.Close();
  1169. }
  1170. }
  1171. xs.Add(schemaSerializable);
  1172. return xmlSchemaComplexType;
  1173. }
  1174. }
  1175. }