dsUIFrmSaleInvoiceStatistics.cs 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776
  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. [ToolboxItem(true)]
  18. [XmlRoot("dsUIFrmSaleInvoiceStatistics")]
  19. [HelpKeyword("vs.data.DataSet")]
  20. [DesignerCategory("code")]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsUIFrmSaleInvoiceStatistics : DataSet
  23. {
  24. public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
  25. public delegate void FrmSaleInvoiceStatisticsRowChangeEventHandler(object sender, FrmSaleInvoiceStatisticsRowChangeEvent e);
  26. [Serializable]
  27. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  28. [XmlSchemaProvider("GetTypedTableSchema")]
  29. public class UIDataTable : DataTable, IEnumerable
  30. {
  31. private DataColumn columnStartDate_SaleBill;
  32. private DataColumn columnEndDate_SaleBill;
  33. private DataColumn columnStartNo_SaleBill;
  34. private DataColumn columnEndNo_SaleBill;
  35. private DataColumn columnStartNo_Customer;
  36. private DataColumn columnEndNo_Customer;
  37. private DataColumn columnIsRtn;
  38. private DataColumn columnStartNo_Invoice;
  39. private DataColumn columnEndNo_Invoice;
  40. private DataColumn columnStartNo_Product;
  41. private DataColumn columnEndNo_Product;
  42. [DebuggerNonUserCode]
  43. public DataColumn StartDate_SaleBillColumn => columnStartDate_SaleBill;
  44. [DebuggerNonUserCode]
  45. public DataColumn EndDate_SaleBillColumn => columnEndDate_SaleBill;
  46. [DebuggerNonUserCode]
  47. public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill;
  48. [DebuggerNonUserCode]
  49. public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill;
  50. [DebuggerNonUserCode]
  51. public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
  52. [DebuggerNonUserCode]
  53. public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
  54. [DebuggerNonUserCode]
  55. public DataColumn IsRtnColumn => columnIsRtn;
  56. [DebuggerNonUserCode]
  57. public DataColumn StartNo_InvoiceColumn => columnStartNo_Invoice;
  58. [DebuggerNonUserCode]
  59. public DataColumn EndNo_InvoiceColumn => columnEndNo_Invoice;
  60. [DebuggerNonUserCode]
  61. public DataColumn StartNo_ProductColumn => columnStartNo_Product;
  62. [DebuggerNonUserCode]
  63. public DataColumn EndNo_ProductColumn => columnEndNo_Product;
  64. [Browsable(false)]
  65. [DebuggerNonUserCode]
  66. public int Count => base.Rows.Count;
  67. [DebuggerNonUserCode]
  68. public UIRow this[int index] => (UIRow)base.Rows[index];
  69. public event UIRowChangeEventHandler UIRowChanging;
  70. public event UIRowChangeEventHandler UIRowChanged;
  71. public event UIRowChangeEventHandler UIRowDeleting;
  72. public event UIRowChangeEventHandler UIRowDeleted;
  73. [DebuggerNonUserCode]
  74. public UIDataTable()
  75. {
  76. base.TableName = "UI";
  77. BeginInit();
  78. InitClass();
  79. EndInit();
  80. }
  81. [DebuggerNonUserCode]
  82. internal UIDataTable(DataTable table)
  83. {
  84. base.TableName = table.TableName;
  85. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  86. {
  87. base.CaseSensitive = table.CaseSensitive;
  88. }
  89. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  90. {
  91. base.Locale = table.Locale;
  92. }
  93. if (table.Namespace != table.DataSet.Namespace)
  94. {
  95. base.Namespace = table.Namespace;
  96. }
  97. base.Prefix = table.Prefix;
  98. base.MinimumCapacity = table.MinimumCapacity;
  99. }
  100. [DebuggerNonUserCode]
  101. protected UIDataTable(SerializationInfo info, StreamingContext context)
  102. : base(info, context)
  103. {
  104. InitVars();
  105. }
  106. [DebuggerNonUserCode]
  107. public void AddUIRow(UIRow row)
  108. {
  109. base.Rows.Add(row);
  110. }
  111. [DebuggerNonUserCode]
  112. public UIRow AddUIRow(DateTime StartDate_SaleBill, DateTime EndDate_SaleBill, string StartNo_SaleBill, string EndNo_SaleBill, string StartNo_Customer, string EndNo_Customer, string IsRtn, string StartNo_Invoice, string EndNo_Invoice, string StartNo_Product, string EndNo_Product)
  113. {
  114. UIRow uIRow = (UIRow)NewRow();
  115. object[] array2 = uIRow.ItemArray = new object[11]
  116. {
  117. StartDate_SaleBill,
  118. EndDate_SaleBill,
  119. StartNo_SaleBill,
  120. EndNo_SaleBill,
  121. StartNo_Customer,
  122. EndNo_Customer,
  123. IsRtn,
  124. StartNo_Invoice,
  125. EndNo_Invoice,
  126. StartNo_Product,
  127. EndNo_Product
  128. };
  129. base.Rows.Add(uIRow);
  130. return uIRow;
  131. }
  132. [DebuggerNonUserCode]
  133. public virtual IEnumerator GetEnumerator()
  134. {
  135. return base.Rows.GetEnumerator();
  136. }
  137. [DebuggerNonUserCode]
  138. public override DataTable Clone()
  139. {
  140. UIDataTable uIDataTable = (UIDataTable)base.Clone();
  141. uIDataTable.InitVars();
  142. return uIDataTable;
  143. }
  144. [DebuggerNonUserCode]
  145. protected override DataTable CreateInstance()
  146. {
  147. return new UIDataTable();
  148. }
  149. [DebuggerNonUserCode]
  150. internal void InitVars()
  151. {
  152. columnStartDate_SaleBill = base.Columns["StartDate_SaleBill"];
  153. columnEndDate_SaleBill = base.Columns["EndDate_SaleBill"];
  154. columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"];
  155. columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"];
  156. columnStartNo_Customer = base.Columns["StartNo_Customer"];
  157. columnEndNo_Customer = base.Columns["EndNo_Customer"];
  158. columnIsRtn = base.Columns["IsRtn"];
  159. columnStartNo_Invoice = base.Columns["StartNo_Invoice"];
  160. columnEndNo_Invoice = base.Columns["EndNo_Invoice"];
  161. columnStartNo_Product = base.Columns["StartNo_Product"];
  162. columnEndNo_Product = base.Columns["EndNo_Product"];
  163. }
  164. [DebuggerNonUserCode]
  165. private void InitClass()
  166. {
  167. columnStartDate_SaleBill = new DataColumn("StartDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  168. base.Columns.Add(columnStartDate_SaleBill);
  169. columnEndDate_SaleBill = new DataColumn("EndDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  170. base.Columns.Add(columnEndDate_SaleBill);
  171. columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element);
  172. base.Columns.Add(columnStartNo_SaleBill);
  173. columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element);
  174. base.Columns.Add(columnEndNo_SaleBill);
  175. columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
  176. base.Columns.Add(columnStartNo_Customer);
  177. columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
  178. base.Columns.Add(columnEndNo_Customer);
  179. columnIsRtn = new DataColumn("IsRtn", typeof(string), null, MappingType.Element);
  180. base.Columns.Add(columnIsRtn);
  181. columnStartNo_Invoice = new DataColumn("StartNo_Invoice", typeof(string), null, MappingType.Element);
  182. base.Columns.Add(columnStartNo_Invoice);
  183. columnEndNo_Invoice = new DataColumn("EndNo_Invoice", typeof(string), null, MappingType.Element);
  184. base.Columns.Add(columnEndNo_Invoice);
  185. columnStartNo_Product = new DataColumn("StartNo_Product", typeof(string), null, MappingType.Element);
  186. base.Columns.Add(columnStartNo_Product);
  187. columnEndNo_Product = new DataColumn("EndNo_Product", typeof(string), null, MappingType.Element);
  188. base.Columns.Add(columnEndNo_Product);
  189. }
  190. [DebuggerNonUserCode]
  191. public UIRow NewUIRow()
  192. {
  193. return (UIRow)NewRow();
  194. }
  195. [DebuggerNonUserCode]
  196. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  197. {
  198. return new UIRow(builder);
  199. }
  200. [DebuggerNonUserCode]
  201. protected override Type GetRowType()
  202. {
  203. return typeof(UIRow);
  204. }
  205. [DebuggerNonUserCode]
  206. protected override void OnRowChanged(DataRowChangeEventArgs e)
  207. {
  208. base.OnRowChanged(e);
  209. if (this.UIRowChanged != null)
  210. {
  211. this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  212. }
  213. }
  214. [DebuggerNonUserCode]
  215. protected override void OnRowChanging(DataRowChangeEventArgs e)
  216. {
  217. base.OnRowChanging(e);
  218. if (this.UIRowChanging != null)
  219. {
  220. this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  221. }
  222. }
  223. [DebuggerNonUserCode]
  224. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  225. {
  226. base.OnRowDeleted(e);
  227. if (this.UIRowDeleted != null)
  228. {
  229. this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  230. }
  231. }
  232. [DebuggerNonUserCode]
  233. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  234. {
  235. base.OnRowDeleting(e);
  236. if (this.UIRowDeleting != null)
  237. {
  238. this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  239. }
  240. }
  241. [DebuggerNonUserCode]
  242. public void RemoveUIRow(UIRow row)
  243. {
  244. base.Rows.Remove(row);
  245. }
  246. [DebuggerNonUserCode]
  247. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  248. {
  249. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  250. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  251. dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
  252. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  253. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  254. xmlSchemaAny.MinOccurs = 0m;
  255. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  256. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  257. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  258. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  259. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  260. xmlSchemaAny2.MinOccurs = 1m;
  261. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  262. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  263. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  264. xmlSchemaAttribute.Name = "namespace";
  265. xmlSchemaAttribute.FixedValue = dsUIFrmSaleInvoiceStatistics.Namespace;
  266. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  267. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  268. xmlSchemaAttribute2.Name = "tableTypeName";
  269. xmlSchemaAttribute2.FixedValue = "UIDataTable";
  270. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  271. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  272. XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
  273. if (xs.Contains(schemaSerializable.TargetNamespace))
  274. {
  275. MemoryStream memoryStream = new MemoryStream();
  276. MemoryStream memoryStream2 = new MemoryStream();
  277. try
  278. {
  279. XmlSchema xmlSchema = null;
  280. schemaSerializable.Write(memoryStream);
  281. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  282. while (enumerator.MoveNext())
  283. {
  284. xmlSchema = (XmlSchema)enumerator.Current;
  285. memoryStream2.SetLength(0L);
  286. xmlSchema.Write(memoryStream2);
  287. if (memoryStream.Length == memoryStream2.Length)
  288. {
  289. memoryStream.Position = 0L;
  290. memoryStream2.Position = 0L;
  291. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  292. {
  293. }
  294. if (memoryStream.Position == memoryStream.Length)
  295. {
  296. return xmlSchemaComplexType;
  297. }
  298. }
  299. }
  300. }
  301. finally
  302. {
  303. memoryStream?.Close();
  304. memoryStream2?.Close();
  305. }
  306. }
  307. xs.Add(schemaSerializable);
  308. return xmlSchemaComplexType;
  309. }
  310. }
  311. [Serializable]
  312. [XmlSchemaProvider("GetTypedTableSchema")]
  313. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  314. public class FrmSaleInvoiceStatisticsDataTable : DataTable, IEnumerable
  315. {
  316. private DataColumn columnNo_Customer;
  317. private DataColumn columnName_Customer;
  318. private DataColumn columnNo_SaleBill;
  319. private DataColumn columnCreateDate_SaleBill;
  320. private DataColumn columnNo_Product;
  321. private DataColumn columnName_Product;
  322. private DataColumn columnNo_SaleInvoice;
  323. private DataColumn columnNo_Invoice;
  324. private DataColumn columnQuantity_SaleInvoiceProduct;
  325. private DataColumn columnMoney_SaleInvoiceProduct;
  326. private DataColumn columnQuantity_SaleBillProduct;
  327. private DataColumn columnMomey_SaleBillProduct;
  328. [DebuggerNonUserCode]
  329. public DataColumn No_CustomerColumn => columnNo_Customer;
  330. [DebuggerNonUserCode]
  331. public DataColumn Name_CustomerColumn => columnName_Customer;
  332. [DebuggerNonUserCode]
  333. public DataColumn No_SaleBillColumn => columnNo_SaleBill;
  334. [DebuggerNonUserCode]
  335. public DataColumn CreateDate_SaleBillColumn => columnCreateDate_SaleBill;
  336. [DebuggerNonUserCode]
  337. public DataColumn No_ProductColumn => columnNo_Product;
  338. [DebuggerNonUserCode]
  339. public DataColumn Name_ProductColumn => columnName_Product;
  340. [DebuggerNonUserCode]
  341. public DataColumn No_SaleInvoiceColumn => columnNo_SaleInvoice;
  342. [DebuggerNonUserCode]
  343. public DataColumn No_InvoiceColumn => columnNo_Invoice;
  344. [DebuggerNonUserCode]
  345. public DataColumn Quantity_SaleInvoiceProductColumn => columnQuantity_SaleInvoiceProduct;
  346. [DebuggerNonUserCode]
  347. public DataColumn Money_SaleInvoiceProductColumn => columnMoney_SaleInvoiceProduct;
  348. [DebuggerNonUserCode]
  349. public DataColumn Quantity_SaleBillProductColumn => columnQuantity_SaleBillProduct;
  350. [DebuggerNonUserCode]
  351. public DataColumn Momey_SaleBillProductColumn => columnMomey_SaleBillProduct;
  352. [Browsable(false)]
  353. [DebuggerNonUserCode]
  354. public int Count => base.Rows.Count;
  355. [DebuggerNonUserCode]
  356. public FrmSaleInvoiceStatisticsRow this[int index] => (FrmSaleInvoiceStatisticsRow)base.Rows[index];
  357. public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowChanging;
  358. public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowChanged;
  359. public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowDeleting;
  360. public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowDeleted;
  361. [DebuggerNonUserCode]
  362. public FrmSaleInvoiceStatisticsDataTable()
  363. {
  364. base.TableName = "FrmSaleInvoiceStatistics";
  365. BeginInit();
  366. InitClass();
  367. EndInit();
  368. }
  369. [DebuggerNonUserCode]
  370. internal FrmSaleInvoiceStatisticsDataTable(DataTable table)
  371. {
  372. base.TableName = table.TableName;
  373. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  374. {
  375. base.CaseSensitive = table.CaseSensitive;
  376. }
  377. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  378. {
  379. base.Locale = table.Locale;
  380. }
  381. if (table.Namespace != table.DataSet.Namespace)
  382. {
  383. base.Namespace = table.Namespace;
  384. }
  385. base.Prefix = table.Prefix;
  386. base.MinimumCapacity = table.MinimumCapacity;
  387. }
  388. [DebuggerNonUserCode]
  389. protected FrmSaleInvoiceStatisticsDataTable(SerializationInfo info, StreamingContext context)
  390. : base(info, context)
  391. {
  392. InitVars();
  393. }
  394. [DebuggerNonUserCode]
  395. public void AddFrmSaleInvoiceStatisticsRow(FrmSaleInvoiceStatisticsRow row)
  396. {
  397. base.Rows.Add(row);
  398. }
  399. [DebuggerNonUserCode]
  400. public FrmSaleInvoiceStatisticsRow AddFrmSaleInvoiceStatisticsRow(string No_Customer, string Name_Customer, string No_SaleBill, DateTime CreateDate_SaleBill, string No_Product, string Name_Product, string No_SaleInvoice, string No_Invoice, decimal Quantity_SaleInvoiceProduct, decimal Money_SaleInvoiceProduct, decimal Quantity_SaleBillProduct, decimal Momey_SaleBillProduct)
  401. {
  402. FrmSaleInvoiceStatisticsRow frmSaleInvoiceStatisticsRow = (FrmSaleInvoiceStatisticsRow)NewRow();
  403. object[] array2 = frmSaleInvoiceStatisticsRow.ItemArray = new object[12]
  404. {
  405. No_Customer,
  406. Name_Customer,
  407. No_SaleBill,
  408. CreateDate_SaleBill,
  409. No_Product,
  410. Name_Product,
  411. No_SaleInvoice,
  412. No_Invoice,
  413. Quantity_SaleInvoiceProduct,
  414. Money_SaleInvoiceProduct,
  415. Quantity_SaleBillProduct,
  416. Momey_SaleBillProduct
  417. };
  418. base.Rows.Add(frmSaleInvoiceStatisticsRow);
  419. return frmSaleInvoiceStatisticsRow;
  420. }
  421. [DebuggerNonUserCode]
  422. public virtual IEnumerator GetEnumerator()
  423. {
  424. return base.Rows.GetEnumerator();
  425. }
  426. [DebuggerNonUserCode]
  427. public override DataTable Clone()
  428. {
  429. FrmSaleInvoiceStatisticsDataTable frmSaleInvoiceStatisticsDataTable = (FrmSaleInvoiceStatisticsDataTable)base.Clone();
  430. frmSaleInvoiceStatisticsDataTable.InitVars();
  431. return frmSaleInvoiceStatisticsDataTable;
  432. }
  433. [DebuggerNonUserCode]
  434. protected override DataTable CreateInstance()
  435. {
  436. return new FrmSaleInvoiceStatisticsDataTable();
  437. }
  438. [DebuggerNonUserCode]
  439. internal void InitVars()
  440. {
  441. columnNo_Customer = base.Columns["No_Customer"];
  442. columnName_Customer = base.Columns["Name_Customer"];
  443. columnNo_SaleBill = base.Columns["No_SaleBill"];
  444. columnCreateDate_SaleBill = base.Columns["CreateDate_SaleBill"];
  445. columnNo_Product = base.Columns["No_Product"];
  446. columnName_Product = base.Columns["Name_Product"];
  447. columnNo_SaleInvoice = base.Columns["No_SaleInvoice"];
  448. columnNo_Invoice = base.Columns["No_Invoice"];
  449. columnQuantity_SaleInvoiceProduct = base.Columns["Quantity_SaleInvoiceProduct"];
  450. columnMoney_SaleInvoiceProduct = base.Columns["Money_SaleInvoiceProduct"];
  451. columnQuantity_SaleBillProduct = base.Columns["Quantity_SaleBillProduct"];
  452. columnMomey_SaleBillProduct = base.Columns["Momey_SaleBillProduct"];
  453. }
  454. [DebuggerNonUserCode]
  455. private void InitClass()
  456. {
  457. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  458. base.Columns.Add(columnNo_Customer);
  459. columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element);
  460. base.Columns.Add(columnName_Customer);
  461. columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
  462. base.Columns.Add(columnNo_SaleBill);
  463. columnCreateDate_SaleBill = new DataColumn("CreateDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  464. base.Columns.Add(columnCreateDate_SaleBill);
  465. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  466. base.Columns.Add(columnNo_Product);
  467. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  468. base.Columns.Add(columnName_Product);
  469. columnNo_SaleInvoice = new DataColumn("No_SaleInvoice", typeof(string), null, MappingType.Element);
  470. base.Columns.Add(columnNo_SaleInvoice);
  471. columnNo_Invoice = new DataColumn("No_Invoice", typeof(string), null, MappingType.Element);
  472. base.Columns.Add(columnNo_Invoice);
  473. columnQuantity_SaleInvoiceProduct = new DataColumn("Quantity_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  474. base.Columns.Add(columnQuantity_SaleInvoiceProduct);
  475. columnMoney_SaleInvoiceProduct = new DataColumn("Money_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  476. base.Columns.Add(columnMoney_SaleInvoiceProduct);
  477. columnQuantity_SaleBillProduct = new DataColumn("Quantity_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  478. base.Columns.Add(columnQuantity_SaleBillProduct);
  479. columnMomey_SaleBillProduct = new DataColumn("Momey_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  480. base.Columns.Add(columnMomey_SaleBillProduct);
  481. }
  482. [DebuggerNonUserCode]
  483. public FrmSaleInvoiceStatisticsRow NewFrmSaleInvoiceStatisticsRow()
  484. {
  485. return (FrmSaleInvoiceStatisticsRow)NewRow();
  486. }
  487. [DebuggerNonUserCode]
  488. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  489. {
  490. return new FrmSaleInvoiceStatisticsRow(builder);
  491. }
  492. [DebuggerNonUserCode]
  493. protected override Type GetRowType()
  494. {
  495. return typeof(FrmSaleInvoiceStatisticsRow);
  496. }
  497. [DebuggerNonUserCode]
  498. protected override void OnRowChanged(DataRowChangeEventArgs e)
  499. {
  500. base.OnRowChanged(e);
  501. if (this.FrmSaleInvoiceStatisticsRowChanged != null)
  502. {
  503. this.FrmSaleInvoiceStatisticsRowChanged(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
  504. }
  505. }
  506. [DebuggerNonUserCode]
  507. protected override void OnRowChanging(DataRowChangeEventArgs e)
  508. {
  509. base.OnRowChanging(e);
  510. if (this.FrmSaleInvoiceStatisticsRowChanging != null)
  511. {
  512. this.FrmSaleInvoiceStatisticsRowChanging(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
  513. }
  514. }
  515. [DebuggerNonUserCode]
  516. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  517. {
  518. base.OnRowDeleted(e);
  519. if (this.FrmSaleInvoiceStatisticsRowDeleted != null)
  520. {
  521. this.FrmSaleInvoiceStatisticsRowDeleted(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
  522. }
  523. }
  524. [DebuggerNonUserCode]
  525. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  526. {
  527. base.OnRowDeleting(e);
  528. if (this.FrmSaleInvoiceStatisticsRowDeleting != null)
  529. {
  530. this.FrmSaleInvoiceStatisticsRowDeleting(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
  531. }
  532. }
  533. [DebuggerNonUserCode]
  534. public void RemoveFrmSaleInvoiceStatisticsRow(FrmSaleInvoiceStatisticsRow row)
  535. {
  536. base.Rows.Remove(row);
  537. }
  538. [DebuggerNonUserCode]
  539. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  540. {
  541. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  542. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  543. dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
  544. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  545. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  546. xmlSchemaAny.MinOccurs = 0m;
  547. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  548. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  549. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  550. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  551. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  552. xmlSchemaAny2.MinOccurs = 1m;
  553. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  554. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  555. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  556. xmlSchemaAttribute.Name = "namespace";
  557. xmlSchemaAttribute.FixedValue = dsUIFrmSaleInvoiceStatistics.Namespace;
  558. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  559. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  560. xmlSchemaAttribute2.Name = "tableTypeName";
  561. xmlSchemaAttribute2.FixedValue = "FrmSaleInvoiceStatisticsDataTable";
  562. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  563. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  564. XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
  565. if (xs.Contains(schemaSerializable.TargetNamespace))
  566. {
  567. MemoryStream memoryStream = new MemoryStream();
  568. MemoryStream memoryStream2 = new MemoryStream();
  569. try
  570. {
  571. XmlSchema xmlSchema = null;
  572. schemaSerializable.Write(memoryStream);
  573. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  574. while (enumerator.MoveNext())
  575. {
  576. xmlSchema = (XmlSchema)enumerator.Current;
  577. memoryStream2.SetLength(0L);
  578. xmlSchema.Write(memoryStream2);
  579. if (memoryStream.Length == memoryStream2.Length)
  580. {
  581. memoryStream.Position = 0L;
  582. memoryStream2.Position = 0L;
  583. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  584. {
  585. }
  586. if (memoryStream.Position == memoryStream.Length)
  587. {
  588. return xmlSchemaComplexType;
  589. }
  590. }
  591. }
  592. }
  593. finally
  594. {
  595. memoryStream?.Close();
  596. memoryStream2?.Close();
  597. }
  598. }
  599. xs.Add(schemaSerializable);
  600. return xmlSchemaComplexType;
  601. }
  602. }
  603. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  604. public class UIRow : DataRow
  605. {
  606. private UIDataTable tableUI;
  607. [DebuggerNonUserCode]
  608. public DateTime StartDate_SaleBill
  609. {
  610. get
  611. {
  612. try
  613. {
  614. return (DateTime)base[tableUI.StartDate_SaleBillColumn];
  615. }
  616. catch (InvalidCastException innerException)
  617. {
  618. throw new StrongTypingException("The value for column 'StartDate_SaleBill' in table 'UI' is DBNull.", innerException);
  619. }
  620. }
  621. set
  622. {
  623. base[tableUI.StartDate_SaleBillColumn] = value;
  624. }
  625. }
  626. [DebuggerNonUserCode]
  627. public DateTime EndDate_SaleBill
  628. {
  629. get
  630. {
  631. try
  632. {
  633. return (DateTime)base[tableUI.EndDate_SaleBillColumn];
  634. }
  635. catch (InvalidCastException innerException)
  636. {
  637. throw new StrongTypingException("The value for column 'EndDate_SaleBill' in table 'UI' is DBNull.", innerException);
  638. }
  639. }
  640. set
  641. {
  642. base[tableUI.EndDate_SaleBillColumn] = value;
  643. }
  644. }
  645. [DebuggerNonUserCode]
  646. public string StartNo_SaleBill
  647. {
  648. get
  649. {
  650. try
  651. {
  652. return (string)base[tableUI.StartNo_SaleBillColumn];
  653. }
  654. catch (InvalidCastException innerException)
  655. {
  656. throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'UI' is DBNull.", innerException);
  657. }
  658. }
  659. set
  660. {
  661. base[tableUI.StartNo_SaleBillColumn] = value;
  662. }
  663. }
  664. [DebuggerNonUserCode]
  665. public string EndNo_SaleBill
  666. {
  667. get
  668. {
  669. try
  670. {
  671. return (string)base[tableUI.EndNo_SaleBillColumn];
  672. }
  673. catch (InvalidCastException innerException)
  674. {
  675. throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'UI' is DBNull.", innerException);
  676. }
  677. }
  678. set
  679. {
  680. base[tableUI.EndNo_SaleBillColumn] = value;
  681. }
  682. }
  683. [DebuggerNonUserCode]
  684. public string StartNo_Customer
  685. {
  686. get
  687. {
  688. try
  689. {
  690. return (string)base[tableUI.StartNo_CustomerColumn];
  691. }
  692. catch (InvalidCastException innerException)
  693. {
  694. throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
  695. }
  696. }
  697. set
  698. {
  699. base[tableUI.StartNo_CustomerColumn] = value;
  700. }
  701. }
  702. [DebuggerNonUserCode]
  703. public string EndNo_Customer
  704. {
  705. get
  706. {
  707. try
  708. {
  709. return (string)base[tableUI.EndNo_CustomerColumn];
  710. }
  711. catch (InvalidCastException innerException)
  712. {
  713. throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
  714. }
  715. }
  716. set
  717. {
  718. base[tableUI.EndNo_CustomerColumn] = value;
  719. }
  720. }
  721. [DebuggerNonUserCode]
  722. public string IsRtn
  723. {
  724. get
  725. {
  726. try
  727. {
  728. return (string)base[tableUI.IsRtnColumn];
  729. }
  730. catch (InvalidCastException innerException)
  731. {
  732. throw new StrongTypingException("The value for column 'IsRtn' in table 'UI' is DBNull.", innerException);
  733. }
  734. }
  735. set
  736. {
  737. base[tableUI.IsRtnColumn] = value;
  738. }
  739. }
  740. [DebuggerNonUserCode]
  741. public string StartNo_Invoice
  742. {
  743. get
  744. {
  745. try
  746. {
  747. return (string)base[tableUI.StartNo_InvoiceColumn];
  748. }
  749. catch (InvalidCastException innerException)
  750. {
  751. throw new StrongTypingException("The value for column 'StartNo_Invoice' in table 'UI' is DBNull.", innerException);
  752. }
  753. }
  754. set
  755. {
  756. base[tableUI.StartNo_InvoiceColumn] = value;
  757. }
  758. }
  759. [DebuggerNonUserCode]
  760. public string EndNo_Invoice
  761. {
  762. get
  763. {
  764. try
  765. {
  766. return (string)base[tableUI.EndNo_InvoiceColumn];
  767. }
  768. catch (InvalidCastException innerException)
  769. {
  770. throw new StrongTypingException("The value for column 'EndNo_Invoice' in table 'UI' is DBNull.", innerException);
  771. }
  772. }
  773. set
  774. {
  775. base[tableUI.EndNo_InvoiceColumn] = value;
  776. }
  777. }
  778. [DebuggerNonUserCode]
  779. public string StartNo_Product
  780. {
  781. get
  782. {
  783. try
  784. {
  785. return (string)base[tableUI.StartNo_ProductColumn];
  786. }
  787. catch (InvalidCastException innerException)
  788. {
  789. throw new StrongTypingException("The value for column 'StartNo_Product' in table 'UI' is DBNull.", innerException);
  790. }
  791. }
  792. set
  793. {
  794. base[tableUI.StartNo_ProductColumn] = value;
  795. }
  796. }
  797. [DebuggerNonUserCode]
  798. public string EndNo_Product
  799. {
  800. get
  801. {
  802. try
  803. {
  804. return (string)base[tableUI.EndNo_ProductColumn];
  805. }
  806. catch (InvalidCastException innerException)
  807. {
  808. throw new StrongTypingException("The value for column 'EndNo_Product' in table 'UI' is DBNull.", innerException);
  809. }
  810. }
  811. set
  812. {
  813. base[tableUI.EndNo_ProductColumn] = value;
  814. }
  815. }
  816. [DebuggerNonUserCode]
  817. internal UIRow(DataRowBuilder rb)
  818. : base(rb)
  819. {
  820. tableUI = (UIDataTable)base.Table;
  821. }
  822. [DebuggerNonUserCode]
  823. public bool IsStartDate_SaleBillNull()
  824. {
  825. return IsNull(tableUI.StartDate_SaleBillColumn);
  826. }
  827. [DebuggerNonUserCode]
  828. public void SetStartDate_SaleBillNull()
  829. {
  830. base[tableUI.StartDate_SaleBillColumn] = Convert.DBNull;
  831. }
  832. [DebuggerNonUserCode]
  833. public bool IsEndDate_SaleBillNull()
  834. {
  835. return IsNull(tableUI.EndDate_SaleBillColumn);
  836. }
  837. [DebuggerNonUserCode]
  838. public void SetEndDate_SaleBillNull()
  839. {
  840. base[tableUI.EndDate_SaleBillColumn] = Convert.DBNull;
  841. }
  842. [DebuggerNonUserCode]
  843. public bool IsStartNo_SaleBillNull()
  844. {
  845. return IsNull(tableUI.StartNo_SaleBillColumn);
  846. }
  847. [DebuggerNonUserCode]
  848. public void SetStartNo_SaleBillNull()
  849. {
  850. base[tableUI.StartNo_SaleBillColumn] = Convert.DBNull;
  851. }
  852. [DebuggerNonUserCode]
  853. public bool IsEndNo_SaleBillNull()
  854. {
  855. return IsNull(tableUI.EndNo_SaleBillColumn);
  856. }
  857. [DebuggerNonUserCode]
  858. public void SetEndNo_SaleBillNull()
  859. {
  860. base[tableUI.EndNo_SaleBillColumn] = Convert.DBNull;
  861. }
  862. [DebuggerNonUserCode]
  863. public bool IsStartNo_CustomerNull()
  864. {
  865. return IsNull(tableUI.StartNo_CustomerColumn);
  866. }
  867. [DebuggerNonUserCode]
  868. public void SetStartNo_CustomerNull()
  869. {
  870. base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
  871. }
  872. [DebuggerNonUserCode]
  873. public bool IsEndNo_CustomerNull()
  874. {
  875. return IsNull(tableUI.EndNo_CustomerColumn);
  876. }
  877. [DebuggerNonUserCode]
  878. public void SetEndNo_CustomerNull()
  879. {
  880. base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
  881. }
  882. [DebuggerNonUserCode]
  883. public bool IsIsRtnNull()
  884. {
  885. return IsNull(tableUI.IsRtnColumn);
  886. }
  887. [DebuggerNonUserCode]
  888. public void SetIsRtnNull()
  889. {
  890. base[tableUI.IsRtnColumn] = Convert.DBNull;
  891. }
  892. [DebuggerNonUserCode]
  893. public bool IsStartNo_InvoiceNull()
  894. {
  895. return IsNull(tableUI.StartNo_InvoiceColumn);
  896. }
  897. [DebuggerNonUserCode]
  898. public void SetStartNo_InvoiceNull()
  899. {
  900. base[tableUI.StartNo_InvoiceColumn] = Convert.DBNull;
  901. }
  902. [DebuggerNonUserCode]
  903. public bool IsEndNo_InvoiceNull()
  904. {
  905. return IsNull(tableUI.EndNo_InvoiceColumn);
  906. }
  907. [DebuggerNonUserCode]
  908. public void SetEndNo_InvoiceNull()
  909. {
  910. base[tableUI.EndNo_InvoiceColumn] = Convert.DBNull;
  911. }
  912. [DebuggerNonUserCode]
  913. public bool IsStartNo_ProductNull()
  914. {
  915. return IsNull(tableUI.StartNo_ProductColumn);
  916. }
  917. [DebuggerNonUserCode]
  918. public void SetStartNo_ProductNull()
  919. {
  920. base[tableUI.StartNo_ProductColumn] = Convert.DBNull;
  921. }
  922. [DebuggerNonUserCode]
  923. public bool IsEndNo_ProductNull()
  924. {
  925. return IsNull(tableUI.EndNo_ProductColumn);
  926. }
  927. [DebuggerNonUserCode]
  928. public void SetEndNo_ProductNull()
  929. {
  930. base[tableUI.EndNo_ProductColumn] = Convert.DBNull;
  931. }
  932. }
  933. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  934. public class FrmSaleInvoiceStatisticsRow : DataRow
  935. {
  936. private FrmSaleInvoiceStatisticsDataTable tableFrmSaleInvoiceStatistics;
  937. [DebuggerNonUserCode]
  938. public string No_Customer
  939. {
  940. get
  941. {
  942. try
  943. {
  944. return (string)base[tableFrmSaleInvoiceStatistics.No_CustomerColumn];
  945. }
  946. catch (InvalidCastException innerException)
  947. {
  948. throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  949. }
  950. }
  951. set
  952. {
  953. base[tableFrmSaleInvoiceStatistics.No_CustomerColumn] = value;
  954. }
  955. }
  956. [DebuggerNonUserCode]
  957. public string Name_Customer
  958. {
  959. get
  960. {
  961. try
  962. {
  963. return (string)base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn];
  964. }
  965. catch (InvalidCastException innerException)
  966. {
  967. throw new StrongTypingException("The value for column 'Name_Customer' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  968. }
  969. }
  970. set
  971. {
  972. base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn] = value;
  973. }
  974. }
  975. [DebuggerNonUserCode]
  976. public string No_SaleBill
  977. {
  978. get
  979. {
  980. try
  981. {
  982. return (string)base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn];
  983. }
  984. catch (InvalidCastException innerException)
  985. {
  986. throw new StrongTypingException("The value for column 'No_SaleBill' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  987. }
  988. }
  989. set
  990. {
  991. base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn] = value;
  992. }
  993. }
  994. [DebuggerNonUserCode]
  995. public DateTime CreateDate_SaleBill
  996. {
  997. get
  998. {
  999. try
  1000. {
  1001. return (DateTime)base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn];
  1002. }
  1003. catch (InvalidCastException innerException)
  1004. {
  1005. throw new StrongTypingException("The value for column 'CreateDate_SaleBill' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1006. }
  1007. }
  1008. set
  1009. {
  1010. base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn] = value;
  1011. }
  1012. }
  1013. [DebuggerNonUserCode]
  1014. public string No_Product
  1015. {
  1016. get
  1017. {
  1018. try
  1019. {
  1020. return (string)base[tableFrmSaleInvoiceStatistics.No_ProductColumn];
  1021. }
  1022. catch (InvalidCastException innerException)
  1023. {
  1024. throw new StrongTypingException("The value for column 'No_Product' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1025. }
  1026. }
  1027. set
  1028. {
  1029. base[tableFrmSaleInvoiceStatistics.No_ProductColumn] = value;
  1030. }
  1031. }
  1032. [DebuggerNonUserCode]
  1033. public string Name_Product
  1034. {
  1035. get
  1036. {
  1037. try
  1038. {
  1039. return (string)base[tableFrmSaleInvoiceStatistics.Name_ProductColumn];
  1040. }
  1041. catch (InvalidCastException innerException)
  1042. {
  1043. throw new StrongTypingException("The value for column 'Name_Product' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1044. }
  1045. }
  1046. set
  1047. {
  1048. base[tableFrmSaleInvoiceStatistics.Name_ProductColumn] = value;
  1049. }
  1050. }
  1051. [DebuggerNonUserCode]
  1052. public string No_SaleInvoice
  1053. {
  1054. get
  1055. {
  1056. try
  1057. {
  1058. return (string)base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn];
  1059. }
  1060. catch (InvalidCastException innerException)
  1061. {
  1062. throw new StrongTypingException("The value for column 'No_SaleInvoice' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1063. }
  1064. }
  1065. set
  1066. {
  1067. base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn] = value;
  1068. }
  1069. }
  1070. [DebuggerNonUserCode]
  1071. public string No_Invoice
  1072. {
  1073. get
  1074. {
  1075. try
  1076. {
  1077. return (string)base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn];
  1078. }
  1079. catch (InvalidCastException innerException)
  1080. {
  1081. throw new StrongTypingException("The value for column 'No_Invoice' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1082. }
  1083. }
  1084. set
  1085. {
  1086. base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn] = value;
  1087. }
  1088. }
  1089. [DebuggerNonUserCode]
  1090. public decimal Quantity_SaleInvoiceProduct
  1091. {
  1092. get
  1093. {
  1094. try
  1095. {
  1096. return (decimal)base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn];
  1097. }
  1098. catch (InvalidCastException innerException)
  1099. {
  1100. throw new StrongTypingException("The value for column 'Quantity_SaleInvoiceProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1101. }
  1102. }
  1103. set
  1104. {
  1105. base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn] = value;
  1106. }
  1107. }
  1108. [DebuggerNonUserCode]
  1109. public decimal Money_SaleInvoiceProduct
  1110. {
  1111. get
  1112. {
  1113. try
  1114. {
  1115. return (decimal)base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn];
  1116. }
  1117. catch (InvalidCastException innerException)
  1118. {
  1119. throw new StrongTypingException("The value for column 'Money_SaleInvoiceProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1120. }
  1121. }
  1122. set
  1123. {
  1124. base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn] = value;
  1125. }
  1126. }
  1127. [DebuggerNonUserCode]
  1128. public decimal Quantity_SaleBillProduct
  1129. {
  1130. get
  1131. {
  1132. try
  1133. {
  1134. return (decimal)base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn];
  1135. }
  1136. catch (InvalidCastException innerException)
  1137. {
  1138. throw new StrongTypingException("The value for column 'Quantity_SaleBillProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1139. }
  1140. }
  1141. set
  1142. {
  1143. base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn] = value;
  1144. }
  1145. }
  1146. [DebuggerNonUserCode]
  1147. public decimal Momey_SaleBillProduct
  1148. {
  1149. get
  1150. {
  1151. try
  1152. {
  1153. return (decimal)base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn];
  1154. }
  1155. catch (InvalidCastException innerException)
  1156. {
  1157. throw new StrongTypingException("The value for column 'Momey_SaleBillProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
  1158. }
  1159. }
  1160. set
  1161. {
  1162. base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn] = value;
  1163. }
  1164. }
  1165. [DebuggerNonUserCode]
  1166. internal FrmSaleInvoiceStatisticsRow(DataRowBuilder rb)
  1167. : base(rb)
  1168. {
  1169. tableFrmSaleInvoiceStatistics = (FrmSaleInvoiceStatisticsDataTable)base.Table;
  1170. }
  1171. [DebuggerNonUserCode]
  1172. public bool IsNo_CustomerNull()
  1173. {
  1174. return IsNull(tableFrmSaleInvoiceStatistics.No_CustomerColumn);
  1175. }
  1176. [DebuggerNonUserCode]
  1177. public void SetNo_CustomerNull()
  1178. {
  1179. base[tableFrmSaleInvoiceStatistics.No_CustomerColumn] = Convert.DBNull;
  1180. }
  1181. [DebuggerNonUserCode]
  1182. public bool IsName_CustomerNull()
  1183. {
  1184. return IsNull(tableFrmSaleInvoiceStatistics.Name_CustomerColumn);
  1185. }
  1186. [DebuggerNonUserCode]
  1187. public void SetName_CustomerNull()
  1188. {
  1189. base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn] = Convert.DBNull;
  1190. }
  1191. [DebuggerNonUserCode]
  1192. public bool IsNo_SaleBillNull()
  1193. {
  1194. return IsNull(tableFrmSaleInvoiceStatistics.No_SaleBillColumn);
  1195. }
  1196. [DebuggerNonUserCode]
  1197. public void SetNo_SaleBillNull()
  1198. {
  1199. base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn] = Convert.DBNull;
  1200. }
  1201. [DebuggerNonUserCode]
  1202. public bool IsCreateDate_SaleBillNull()
  1203. {
  1204. return IsNull(tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn);
  1205. }
  1206. [DebuggerNonUserCode]
  1207. public void SetCreateDate_SaleBillNull()
  1208. {
  1209. base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn] = Convert.DBNull;
  1210. }
  1211. [DebuggerNonUserCode]
  1212. public bool IsNo_ProductNull()
  1213. {
  1214. return IsNull(tableFrmSaleInvoiceStatistics.No_ProductColumn);
  1215. }
  1216. [DebuggerNonUserCode]
  1217. public void SetNo_ProductNull()
  1218. {
  1219. base[tableFrmSaleInvoiceStatistics.No_ProductColumn] = Convert.DBNull;
  1220. }
  1221. [DebuggerNonUserCode]
  1222. public bool IsName_ProductNull()
  1223. {
  1224. return IsNull(tableFrmSaleInvoiceStatistics.Name_ProductColumn);
  1225. }
  1226. [DebuggerNonUserCode]
  1227. public void SetName_ProductNull()
  1228. {
  1229. base[tableFrmSaleInvoiceStatistics.Name_ProductColumn] = Convert.DBNull;
  1230. }
  1231. [DebuggerNonUserCode]
  1232. public bool IsNo_SaleInvoiceNull()
  1233. {
  1234. return IsNull(tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn);
  1235. }
  1236. [DebuggerNonUserCode]
  1237. public void SetNo_SaleInvoiceNull()
  1238. {
  1239. base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn] = Convert.DBNull;
  1240. }
  1241. [DebuggerNonUserCode]
  1242. public bool IsNo_InvoiceNull()
  1243. {
  1244. return IsNull(tableFrmSaleInvoiceStatistics.No_InvoiceColumn);
  1245. }
  1246. [DebuggerNonUserCode]
  1247. public void SetNo_InvoiceNull()
  1248. {
  1249. base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn] = Convert.DBNull;
  1250. }
  1251. [DebuggerNonUserCode]
  1252. public bool IsQuantity_SaleInvoiceProductNull()
  1253. {
  1254. return IsNull(tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn);
  1255. }
  1256. [DebuggerNonUserCode]
  1257. public void SetQuantity_SaleInvoiceProductNull()
  1258. {
  1259. base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn] = Convert.DBNull;
  1260. }
  1261. [DebuggerNonUserCode]
  1262. public bool IsMoney_SaleInvoiceProductNull()
  1263. {
  1264. return IsNull(tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn);
  1265. }
  1266. [DebuggerNonUserCode]
  1267. public void SetMoney_SaleInvoiceProductNull()
  1268. {
  1269. base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn] = Convert.DBNull;
  1270. }
  1271. [DebuggerNonUserCode]
  1272. public bool IsQuantity_SaleBillProductNull()
  1273. {
  1274. return IsNull(tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn);
  1275. }
  1276. [DebuggerNonUserCode]
  1277. public void SetQuantity_SaleBillProductNull()
  1278. {
  1279. base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn] = Convert.DBNull;
  1280. }
  1281. [DebuggerNonUserCode]
  1282. public bool IsMomey_SaleBillProductNull()
  1283. {
  1284. return IsNull(tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn);
  1285. }
  1286. [DebuggerNonUserCode]
  1287. public void SetMomey_SaleBillProductNull()
  1288. {
  1289. base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn] = Convert.DBNull;
  1290. }
  1291. }
  1292. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1293. public class UIRowChangeEvent : EventArgs
  1294. {
  1295. private UIRow eventRow;
  1296. private DataRowAction eventAction;
  1297. [DebuggerNonUserCode]
  1298. public UIRow Row => eventRow;
  1299. [DebuggerNonUserCode]
  1300. public DataRowAction Action => eventAction;
  1301. [DebuggerNonUserCode]
  1302. public UIRowChangeEvent(UIRow row, DataRowAction action)
  1303. {
  1304. eventRow = row;
  1305. eventAction = action;
  1306. }
  1307. }
  1308. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1309. public class FrmSaleInvoiceStatisticsRowChangeEvent : EventArgs
  1310. {
  1311. private FrmSaleInvoiceStatisticsRow eventRow;
  1312. private DataRowAction eventAction;
  1313. [DebuggerNonUserCode]
  1314. public FrmSaleInvoiceStatisticsRow Row => eventRow;
  1315. [DebuggerNonUserCode]
  1316. public DataRowAction Action => eventAction;
  1317. [DebuggerNonUserCode]
  1318. public FrmSaleInvoiceStatisticsRowChangeEvent(FrmSaleInvoiceStatisticsRow row, DataRowAction action)
  1319. {
  1320. eventRow = row;
  1321. eventAction = action;
  1322. }
  1323. }
  1324. private UIDataTable tableUI;
  1325. private FrmSaleInvoiceStatisticsDataTable tableFrmSaleInvoiceStatistics;
  1326. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1327. [Browsable(false)]
  1328. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1329. [DebuggerNonUserCode]
  1330. public UIDataTable UI => tableUI;
  1331. [DebuggerNonUserCode]
  1332. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1333. [Browsable(false)]
  1334. public FrmSaleInvoiceStatisticsDataTable FrmSaleInvoiceStatistics => tableFrmSaleInvoiceStatistics;
  1335. [DebuggerNonUserCode]
  1336. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  1337. [Browsable(true)]
  1338. public override SchemaSerializationMode SchemaSerializationMode
  1339. {
  1340. get
  1341. {
  1342. return _schemaSerializationMode;
  1343. }
  1344. set
  1345. {
  1346. _schemaSerializationMode = value;
  1347. }
  1348. }
  1349. [DebuggerNonUserCode]
  1350. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1351. public new DataTableCollection Tables => base.Tables;
  1352. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1353. [DebuggerNonUserCode]
  1354. public new DataRelationCollection Relations => base.Relations;
  1355. [DebuggerNonUserCode]
  1356. public dsUIFrmSaleInvoiceStatistics()
  1357. {
  1358. BeginInit();
  1359. InitClass();
  1360. CollectionChangeEventHandler value = SchemaChanged;
  1361. base.Tables.CollectionChanged += value;
  1362. base.Relations.CollectionChanged += value;
  1363. EndInit();
  1364. }
  1365. [DebuggerNonUserCode]
  1366. protected dsUIFrmSaleInvoiceStatistics(SerializationInfo info, StreamingContext context)
  1367. : base(info, context, ConstructSchema: false)
  1368. {
  1369. if (IsBinarySerialized(info, context))
  1370. {
  1371. InitVars(initTable: false);
  1372. CollectionChangeEventHandler value = SchemaChanged;
  1373. Tables.CollectionChanged += value;
  1374. Relations.CollectionChanged += value;
  1375. return;
  1376. }
  1377. string s = (string)info.GetValue("XmlSchema", typeof(string));
  1378. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  1379. {
  1380. DataSet dataSet = new DataSet();
  1381. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1382. if (dataSet.Tables["UI"] != null)
  1383. {
  1384. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1385. }
  1386. if (dataSet.Tables["FrmSaleInvoiceStatistics"] != null)
  1387. {
  1388. base.Tables.Add(new FrmSaleInvoiceStatisticsDataTable(dataSet.Tables["FrmSaleInvoiceStatistics"]));
  1389. }
  1390. base.DataSetName = dataSet.DataSetName;
  1391. base.Prefix = dataSet.Prefix;
  1392. base.Namespace = dataSet.Namespace;
  1393. base.Locale = dataSet.Locale;
  1394. base.CaseSensitive = dataSet.CaseSensitive;
  1395. base.EnforceConstraints = dataSet.EnforceConstraints;
  1396. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1397. InitVars();
  1398. }
  1399. else
  1400. {
  1401. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1402. }
  1403. GetSerializationData(info, context);
  1404. CollectionChangeEventHandler value2 = SchemaChanged;
  1405. base.Tables.CollectionChanged += value2;
  1406. Relations.CollectionChanged += value2;
  1407. }
  1408. [DebuggerNonUserCode]
  1409. protected override void InitializeDerivedDataSet()
  1410. {
  1411. BeginInit();
  1412. InitClass();
  1413. EndInit();
  1414. }
  1415. [DebuggerNonUserCode]
  1416. public override DataSet Clone()
  1417. {
  1418. dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = (dsUIFrmSaleInvoiceStatistics)base.Clone();
  1419. dsUIFrmSaleInvoiceStatistics.InitVars();
  1420. dsUIFrmSaleInvoiceStatistics.SchemaSerializationMode = SchemaSerializationMode;
  1421. return dsUIFrmSaleInvoiceStatistics;
  1422. }
  1423. [DebuggerNonUserCode]
  1424. protected override bool ShouldSerializeTables()
  1425. {
  1426. return false;
  1427. }
  1428. [DebuggerNonUserCode]
  1429. protected override bool ShouldSerializeRelations()
  1430. {
  1431. return false;
  1432. }
  1433. [DebuggerNonUserCode]
  1434. protected override void ReadXmlSerializable(XmlReader reader)
  1435. {
  1436. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1437. {
  1438. Reset();
  1439. DataSet dataSet = new DataSet();
  1440. dataSet.ReadXml(reader);
  1441. if (dataSet.Tables["UI"] != null)
  1442. {
  1443. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1444. }
  1445. if (dataSet.Tables["FrmSaleInvoiceStatistics"] != null)
  1446. {
  1447. base.Tables.Add(new FrmSaleInvoiceStatisticsDataTable(dataSet.Tables["FrmSaleInvoiceStatistics"]));
  1448. }
  1449. base.DataSetName = dataSet.DataSetName;
  1450. base.Prefix = dataSet.Prefix;
  1451. base.Namespace = dataSet.Namespace;
  1452. base.Locale = dataSet.Locale;
  1453. base.CaseSensitive = dataSet.CaseSensitive;
  1454. base.EnforceConstraints = dataSet.EnforceConstraints;
  1455. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1456. InitVars();
  1457. }
  1458. else
  1459. {
  1460. ReadXml(reader);
  1461. InitVars();
  1462. }
  1463. }
  1464. [DebuggerNonUserCode]
  1465. protected override XmlSchema GetSchemaSerializable()
  1466. {
  1467. MemoryStream memoryStream = new MemoryStream();
  1468. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1469. memoryStream.Position = 0L;
  1470. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1471. }
  1472. [DebuggerNonUserCode]
  1473. internal void InitVars()
  1474. {
  1475. InitVars(initTable: true);
  1476. }
  1477. [DebuggerNonUserCode]
  1478. internal void InitVars(bool initTable)
  1479. {
  1480. tableUI = (UIDataTable)base.Tables["UI"];
  1481. if (initTable && tableUI != null)
  1482. {
  1483. tableUI.InitVars();
  1484. }
  1485. tableFrmSaleInvoiceStatistics = (FrmSaleInvoiceStatisticsDataTable)base.Tables["FrmSaleInvoiceStatistics"];
  1486. if (initTable && tableFrmSaleInvoiceStatistics != null)
  1487. {
  1488. tableFrmSaleInvoiceStatistics.InitVars();
  1489. }
  1490. }
  1491. [DebuggerNonUserCode]
  1492. private void InitClass()
  1493. {
  1494. base.DataSetName = "dsUIFrmSaleInvoiceStatistics";
  1495. base.Prefix = "";
  1496. base.Namespace = "http://tempuri.org/dsUIFrmSaleInvoiceStatistics.xsd";
  1497. base.EnforceConstraints = true;
  1498. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1499. tableUI = new UIDataTable();
  1500. base.Tables.Add(tableUI);
  1501. tableFrmSaleInvoiceStatistics = new FrmSaleInvoiceStatisticsDataTable();
  1502. base.Tables.Add(tableFrmSaleInvoiceStatistics);
  1503. }
  1504. [DebuggerNonUserCode]
  1505. private bool ShouldSerializeUI()
  1506. {
  1507. return false;
  1508. }
  1509. [DebuggerNonUserCode]
  1510. private bool ShouldSerializeFrmSaleInvoiceStatistics()
  1511. {
  1512. return false;
  1513. }
  1514. [DebuggerNonUserCode]
  1515. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1516. {
  1517. if (e.Action == CollectionChangeAction.Remove)
  1518. {
  1519. InitVars();
  1520. }
  1521. }
  1522. [DebuggerNonUserCode]
  1523. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1524. {
  1525. dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
  1526. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1527. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1528. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1529. xmlSchemaAny.Namespace = dsUIFrmSaleInvoiceStatistics.Namespace;
  1530. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1531. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1532. XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
  1533. if (xs.Contains(schemaSerializable.TargetNamespace))
  1534. {
  1535. MemoryStream memoryStream = new MemoryStream();
  1536. MemoryStream memoryStream2 = new MemoryStream();
  1537. try
  1538. {
  1539. XmlSchema xmlSchema = null;
  1540. schemaSerializable.Write(memoryStream);
  1541. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  1542. while (enumerator.MoveNext())
  1543. {
  1544. xmlSchema = (XmlSchema)enumerator.Current;
  1545. memoryStream2.SetLength(0L);
  1546. xmlSchema.Write(memoryStream2);
  1547. if (memoryStream.Length == memoryStream2.Length)
  1548. {
  1549. memoryStream.Position = 0L;
  1550. memoryStream2.Position = 0L;
  1551. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  1552. {
  1553. }
  1554. if (memoryStream.Position == memoryStream.Length)
  1555. {
  1556. return xmlSchemaComplexType;
  1557. }
  1558. }
  1559. }
  1560. }
  1561. finally
  1562. {
  1563. memoryStream?.Close();
  1564. memoryStream2?.Close();
  1565. }
  1566. }
  1567. xs.Add(schemaSerializable);
  1568. return xmlSchemaComplexType;
  1569. }
  1570. }
  1571. }