123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776 |
- using System;
- using System.CodeDom.Compiler;
- using System.Collections;
- using System.ComponentModel;
- using System.ComponentModel.Design;
- using System.Data;
- using System.Diagnostics;
- using System.IO;
- using System.Runtime.Serialization;
- using System.Xml;
- using System.Xml.Schema;
- using System.Xml.Serialization;
- namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
- {
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [ToolboxItem(true)]
- [XmlRoot("dsUIFrmSaleInvoiceStatistics")]
- [HelpKeyword("vs.data.DataSet")]
- [DesignerCategory("code")]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- public class dsUIFrmSaleInvoiceStatistics : DataSet
- {
- public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
- public delegate void FrmSaleInvoiceStatisticsRowChangeEventHandler(object sender, FrmSaleInvoiceStatisticsRowChangeEvent e);
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class UIDataTable : DataTable, IEnumerable
- {
- private DataColumn columnStartDate_SaleBill;
- private DataColumn columnEndDate_SaleBill;
- private DataColumn columnStartNo_SaleBill;
- private DataColumn columnEndNo_SaleBill;
- private DataColumn columnStartNo_Customer;
- private DataColumn columnEndNo_Customer;
- private DataColumn columnIsRtn;
- private DataColumn columnStartNo_Invoice;
- private DataColumn columnEndNo_Invoice;
- private DataColumn columnStartNo_Product;
- private DataColumn columnEndNo_Product;
- [DebuggerNonUserCode]
- public DataColumn StartDate_SaleBillColumn => columnStartDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndDate_SaleBillColumn => columnEndDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn IsRtnColumn => columnIsRtn;
- [DebuggerNonUserCode]
- public DataColumn StartNo_InvoiceColumn => columnStartNo_Invoice;
- [DebuggerNonUserCode]
- public DataColumn EndNo_InvoiceColumn => columnEndNo_Invoice;
- [DebuggerNonUserCode]
- public DataColumn StartNo_ProductColumn => columnStartNo_Product;
- [DebuggerNonUserCode]
- public DataColumn EndNo_ProductColumn => columnEndNo_Product;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public UIRow this[int index] => (UIRow)base.Rows[index];
- public event UIRowChangeEventHandler UIRowChanging;
- public event UIRowChangeEventHandler UIRowChanged;
- public event UIRowChangeEventHandler UIRowDeleting;
- public event UIRowChangeEventHandler UIRowDeleted;
- [DebuggerNonUserCode]
- public UIDataTable()
- {
- base.TableName = "UI";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal UIDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected UIDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddUIRow(UIRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- 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)
- {
- UIRow uIRow = (UIRow)NewRow();
- object[] array2 = uIRow.ItemArray = new object[11]
- {
- StartDate_SaleBill,
- EndDate_SaleBill,
- StartNo_SaleBill,
- EndNo_SaleBill,
- StartNo_Customer,
- EndNo_Customer,
- IsRtn,
- StartNo_Invoice,
- EndNo_Invoice,
- StartNo_Product,
- EndNo_Product
- };
- base.Rows.Add(uIRow);
- return uIRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- UIDataTable uIDataTable = (UIDataTable)base.Clone();
- uIDataTable.InitVars();
- return uIDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new UIDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnStartDate_SaleBill = base.Columns["StartDate_SaleBill"];
- columnEndDate_SaleBill = base.Columns["EndDate_SaleBill"];
- columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"];
- columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"];
- columnStartNo_Customer = base.Columns["StartNo_Customer"];
- columnEndNo_Customer = base.Columns["EndNo_Customer"];
- columnIsRtn = base.Columns["IsRtn"];
- columnStartNo_Invoice = base.Columns["StartNo_Invoice"];
- columnEndNo_Invoice = base.Columns["EndNo_Invoice"];
- columnStartNo_Product = base.Columns["StartNo_Product"];
- columnEndNo_Product = base.Columns["EndNo_Product"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnStartDate_SaleBill = new DataColumn("StartDate_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnStartDate_SaleBill);
- columnEndDate_SaleBill = new DataColumn("EndDate_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnEndDate_SaleBill);
- columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_SaleBill);
- columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_SaleBill);
- columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_Customer);
- columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_Customer);
- columnIsRtn = new DataColumn("IsRtn", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnIsRtn);
- columnStartNo_Invoice = new DataColumn("StartNo_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_Invoice);
- columnEndNo_Invoice = new DataColumn("EndNo_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_Invoice);
- columnStartNo_Product = new DataColumn("StartNo_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_Product);
- columnEndNo_Product = new DataColumn("EndNo_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_Product);
- }
- [DebuggerNonUserCode]
- public UIRow NewUIRow()
- {
- return (UIRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new UIRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(UIRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.UIRowChanged != null)
- {
- this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.UIRowChanging != null)
- {
- this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.UIRowDeleted != null)
- {
- this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.UIRowDeleting != null)
- {
- this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveUIRow(UIRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsUIFrmSaleInvoiceStatistics.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "UIDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
- if (xs.Contains(schemaSerializable.TargetNamespace))
- {
- MemoryStream memoryStream = new MemoryStream();
- MemoryStream memoryStream2 = new MemoryStream();
- try
- {
- XmlSchema xmlSchema = null;
- schemaSerializable.Write(memoryStream);
- IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
- while (enumerator.MoveNext())
- {
- xmlSchema = (XmlSchema)enumerator.Current;
- memoryStream2.SetLength(0L);
- xmlSchema.Write(memoryStream2);
- if (memoryStream.Length == memoryStream2.Length)
- {
- memoryStream.Position = 0L;
- memoryStream2.Position = 0L;
- while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
- {
- }
- if (memoryStream.Position == memoryStream.Length)
- {
- return xmlSchemaComplexType;
- }
- }
- }
- }
- finally
- {
- memoryStream?.Close();
- memoryStream2?.Close();
- }
- }
- xs.Add(schemaSerializable);
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FrmSaleInvoiceStatisticsDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Customer;
- private DataColumn columnName_Customer;
- private DataColumn columnNo_SaleBill;
- private DataColumn columnCreateDate_SaleBill;
- private DataColumn columnNo_Product;
- private DataColumn columnName_Product;
- private DataColumn columnNo_SaleInvoice;
- private DataColumn columnNo_Invoice;
- private DataColumn columnQuantity_SaleInvoiceProduct;
- private DataColumn columnMoney_SaleInvoiceProduct;
- private DataColumn columnQuantity_SaleBillProduct;
- private DataColumn columnMomey_SaleBillProduct;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn Name_CustomerColumn => columnName_Customer;
- [DebuggerNonUserCode]
- public DataColumn No_SaleBillColumn => columnNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_SaleBillColumn => columnCreateDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn No_ProductColumn => columnNo_Product;
- [DebuggerNonUserCode]
- public DataColumn Name_ProductColumn => columnName_Product;
- [DebuggerNonUserCode]
- public DataColumn No_SaleInvoiceColumn => columnNo_SaleInvoice;
- [DebuggerNonUserCode]
- public DataColumn No_InvoiceColumn => columnNo_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Quantity_SaleInvoiceProductColumn => columnQuantity_SaleInvoiceProduct;
- [DebuggerNonUserCode]
- public DataColumn Money_SaleInvoiceProductColumn => columnMoney_SaleInvoiceProduct;
- [DebuggerNonUserCode]
- public DataColumn Quantity_SaleBillProductColumn => columnQuantity_SaleBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Momey_SaleBillProductColumn => columnMomey_SaleBillProduct;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public FrmSaleInvoiceStatisticsRow this[int index] => (FrmSaleInvoiceStatisticsRow)base.Rows[index];
- public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowChanging;
- public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowChanged;
- public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowDeleting;
- public event FrmSaleInvoiceStatisticsRowChangeEventHandler FrmSaleInvoiceStatisticsRowDeleted;
- [DebuggerNonUserCode]
- public FrmSaleInvoiceStatisticsDataTable()
- {
- base.TableName = "FrmSaleInvoiceStatistics";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal FrmSaleInvoiceStatisticsDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected FrmSaleInvoiceStatisticsDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddFrmSaleInvoiceStatisticsRow(FrmSaleInvoiceStatisticsRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- 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)
- {
- FrmSaleInvoiceStatisticsRow frmSaleInvoiceStatisticsRow = (FrmSaleInvoiceStatisticsRow)NewRow();
- object[] array2 = frmSaleInvoiceStatisticsRow.ItemArray = new object[12]
- {
- No_Customer,
- Name_Customer,
- No_SaleBill,
- CreateDate_SaleBill,
- No_Product,
- Name_Product,
- No_SaleInvoice,
- No_Invoice,
- Quantity_SaleInvoiceProduct,
- Money_SaleInvoiceProduct,
- Quantity_SaleBillProduct,
- Momey_SaleBillProduct
- };
- base.Rows.Add(frmSaleInvoiceStatisticsRow);
- return frmSaleInvoiceStatisticsRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- FrmSaleInvoiceStatisticsDataTable frmSaleInvoiceStatisticsDataTable = (FrmSaleInvoiceStatisticsDataTable)base.Clone();
- frmSaleInvoiceStatisticsDataTable.InitVars();
- return frmSaleInvoiceStatisticsDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new FrmSaleInvoiceStatisticsDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Customer = base.Columns["No_Customer"];
- columnName_Customer = base.Columns["Name_Customer"];
- columnNo_SaleBill = base.Columns["No_SaleBill"];
- columnCreateDate_SaleBill = base.Columns["CreateDate_SaleBill"];
- columnNo_Product = base.Columns["No_Product"];
- columnName_Product = base.Columns["Name_Product"];
- columnNo_SaleInvoice = base.Columns["No_SaleInvoice"];
- columnNo_Invoice = base.Columns["No_Invoice"];
- columnQuantity_SaleInvoiceProduct = base.Columns["Quantity_SaleInvoiceProduct"];
- columnMoney_SaleInvoiceProduct = base.Columns["Money_SaleInvoiceProduct"];
- columnQuantity_SaleBillProduct = base.Columns["Quantity_SaleBillProduct"];
- columnMomey_SaleBillProduct = base.Columns["Momey_SaleBillProduct"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Customer);
- columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Customer);
- columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_SaleBill);
- columnCreateDate_SaleBill = new DataColumn("CreateDate_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_SaleBill);
- columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Product);
- columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Product);
- columnNo_SaleInvoice = new DataColumn("No_SaleInvoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_SaleInvoice);
- columnNo_Invoice = new DataColumn("No_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Invoice);
- columnQuantity_SaleInvoiceProduct = new DataColumn("Quantity_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_SaleInvoiceProduct);
- columnMoney_SaleInvoiceProduct = new DataColumn("Money_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnMoney_SaleInvoiceProduct);
- columnQuantity_SaleBillProduct = new DataColumn("Quantity_SaleBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_SaleBillProduct);
- columnMomey_SaleBillProduct = new DataColumn("Momey_SaleBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnMomey_SaleBillProduct);
- }
- [DebuggerNonUserCode]
- public FrmSaleInvoiceStatisticsRow NewFrmSaleInvoiceStatisticsRow()
- {
- return (FrmSaleInvoiceStatisticsRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new FrmSaleInvoiceStatisticsRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(FrmSaleInvoiceStatisticsRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.FrmSaleInvoiceStatisticsRowChanged != null)
- {
- this.FrmSaleInvoiceStatisticsRowChanged(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.FrmSaleInvoiceStatisticsRowChanging != null)
- {
- this.FrmSaleInvoiceStatisticsRowChanging(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.FrmSaleInvoiceStatisticsRowDeleted != null)
- {
- this.FrmSaleInvoiceStatisticsRowDeleted(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.FrmSaleInvoiceStatisticsRowDeleting != null)
- {
- this.FrmSaleInvoiceStatisticsRowDeleting(this, new FrmSaleInvoiceStatisticsRowChangeEvent((FrmSaleInvoiceStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveFrmSaleInvoiceStatisticsRow(FrmSaleInvoiceStatisticsRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsUIFrmSaleInvoiceStatistics.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "FrmSaleInvoiceStatisticsDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
- if (xs.Contains(schemaSerializable.TargetNamespace))
- {
- MemoryStream memoryStream = new MemoryStream();
- MemoryStream memoryStream2 = new MemoryStream();
- try
- {
- XmlSchema xmlSchema = null;
- schemaSerializable.Write(memoryStream);
- IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
- while (enumerator.MoveNext())
- {
- xmlSchema = (XmlSchema)enumerator.Current;
- memoryStream2.SetLength(0L);
- xmlSchema.Write(memoryStream2);
- if (memoryStream.Length == memoryStream2.Length)
- {
- memoryStream.Position = 0L;
- memoryStream2.Position = 0L;
- while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
- {
- }
- if (memoryStream.Position == memoryStream.Length)
- {
- return xmlSchemaComplexType;
- }
- }
- }
- }
- finally
- {
- memoryStream?.Close();
- memoryStream2?.Close();
- }
- }
- xs.Add(schemaSerializable);
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIRow : DataRow
- {
- private UIDataTable tableUI;
- [DebuggerNonUserCode]
- public DateTime StartDate_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.StartDate_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartDate_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartDate_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime EndDate_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.EndDate_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndDate_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndDate_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string IsRtn
- {
- get
- {
- try
- {
- return (string)base[tableUI.IsRtnColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsRtn' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.IsRtnColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Invoice' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Invoice' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Product
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Product' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Product
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Product' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal UIRow(DataRowBuilder rb)
- : base(rb)
- {
- tableUI = (UIDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsStartDate_SaleBillNull()
- {
- return IsNull(tableUI.StartDate_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartDate_SaleBillNull()
- {
- base[tableUI.StartDate_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndDate_SaleBillNull()
- {
- return IsNull(tableUI.EndDate_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndDate_SaleBillNull()
- {
- base[tableUI.EndDate_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_SaleBillNull()
- {
- return IsNull(tableUI.StartNo_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_SaleBillNull()
- {
- base[tableUI.StartNo_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_SaleBillNull()
- {
- return IsNull(tableUI.EndNo_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_SaleBillNull()
- {
- base[tableUI.EndNo_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_CustomerNull()
- {
- return IsNull(tableUI.StartNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_CustomerNull()
- {
- base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_CustomerNull()
- {
- return IsNull(tableUI.EndNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_CustomerNull()
- {
- base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsRtnNull()
- {
- return IsNull(tableUI.IsRtnColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsRtnNull()
- {
- base[tableUI.IsRtnColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_InvoiceNull()
- {
- return IsNull(tableUI.StartNo_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_InvoiceNull()
- {
- base[tableUI.StartNo_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_InvoiceNull()
- {
- return IsNull(tableUI.EndNo_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_InvoiceNull()
- {
- base[tableUI.EndNo_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_ProductNull()
- {
- return IsNull(tableUI.StartNo_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_ProductNull()
- {
- base[tableUI.StartNo_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_ProductNull()
- {
- return IsNull(tableUI.EndNo_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_ProductNull()
- {
- base[tableUI.EndNo_ProductColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FrmSaleInvoiceStatisticsRow : DataRow
- {
- private FrmSaleInvoiceStatisticsDataTable tableFrmSaleInvoiceStatistics;
- [DebuggerNonUserCode]
- public string No_Customer
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.No_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.No_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Customer
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Customer' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_SaleBill' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_SaleBill' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Product
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.No_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Product' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.No_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Product
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.Name_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Product' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Name_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_SaleInvoice
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_SaleInvoice' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Invoice' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_SaleInvoiceProduct
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_SaleInvoiceProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Money_SaleInvoiceProduct
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Money_SaleInvoiceProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_SaleBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_SaleBillProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Momey_SaleBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Momey_SaleBillProduct' in table 'FrmSaleInvoiceStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal FrmSaleInvoiceStatisticsRow(DataRowBuilder rb)
- : base(rb)
- {
- tableFrmSaleInvoiceStatistics = (FrmSaleInvoiceStatisticsDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_CustomerNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.No_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_CustomerNull()
- {
- base[tableFrmSaleInvoiceStatistics.No_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_CustomerNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Name_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_CustomerNull()
- {
- base[tableFrmSaleInvoiceStatistics.Name_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_SaleBillNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.No_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_SaleBillNull()
- {
- base[tableFrmSaleInvoiceStatistics.No_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_SaleBillNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_SaleBillNull()
- {
- base[tableFrmSaleInvoiceStatistics.CreateDate_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_ProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.No_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_ProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.No_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_ProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Name_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_ProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.Name_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_SaleInvoiceNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_SaleInvoiceNull()
- {
- base[tableFrmSaleInvoiceStatistics.No_SaleInvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_InvoiceNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.No_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_InvoiceNull()
- {
- base[tableFrmSaleInvoiceStatistics.No_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_SaleInvoiceProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_SaleInvoiceProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.Quantity_SaleInvoiceProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsMoney_SaleInvoiceProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetMoney_SaleInvoiceProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.Money_SaleInvoiceProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_SaleBillProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_SaleBillProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.Quantity_SaleBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsMomey_SaleBillProductNull()
- {
- return IsNull(tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetMomey_SaleBillProductNull()
- {
- base[tableFrmSaleInvoiceStatistics.Momey_SaleBillProductColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIRowChangeEvent : EventArgs
- {
- private UIRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public UIRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public UIRowChangeEvent(UIRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FrmSaleInvoiceStatisticsRowChangeEvent : EventArgs
- {
- private FrmSaleInvoiceStatisticsRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public FrmSaleInvoiceStatisticsRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public FrmSaleInvoiceStatisticsRowChangeEvent(FrmSaleInvoiceStatisticsRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private UIDataTable tableUI;
- private FrmSaleInvoiceStatisticsDataTable tableFrmSaleInvoiceStatistics;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- public UIDataTable UI => tableUI;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public FrmSaleInvoiceStatisticsDataTable FrmSaleInvoiceStatistics => tableFrmSaleInvoiceStatistics;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- [Browsable(true)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataTableCollection Tables => base.Tables;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsUIFrmSaleInvoiceStatistics()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsUIFrmSaleInvoiceStatistics(SerializationInfo info, StreamingContext context)
- : base(info, context, ConstructSchema: false)
- {
- if (IsBinarySerialized(info, context))
- {
- InitVars(initTable: false);
- CollectionChangeEventHandler value = SchemaChanged;
- Tables.CollectionChanged += value;
- Relations.CollectionChanged += value;
- return;
- }
- string s = (string)info.GetValue("XmlSchema", typeof(string));
- if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
- {
- DataSet dataSet = new DataSet();
- dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- if (dataSet.Tables["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["FrmSaleInvoiceStatistics"] != null)
- {
- base.Tables.Add(new FrmSaleInvoiceStatisticsDataTable(dataSet.Tables["FrmSaleInvoiceStatistics"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- }
- GetSerializationData(info, context);
- CollectionChangeEventHandler value2 = SchemaChanged;
- base.Tables.CollectionChanged += value2;
- Relations.CollectionChanged += value2;
- }
- [DebuggerNonUserCode]
- protected override void InitializeDerivedDataSet()
- {
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- public override DataSet Clone()
- {
- dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = (dsUIFrmSaleInvoiceStatistics)base.Clone();
- dsUIFrmSaleInvoiceStatistics.InitVars();
- dsUIFrmSaleInvoiceStatistics.SchemaSerializationMode = SchemaSerializationMode;
- return dsUIFrmSaleInvoiceStatistics;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeTables()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeRelations()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override void ReadXmlSerializable(XmlReader reader)
- {
- if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
- {
- Reset();
- DataSet dataSet = new DataSet();
- dataSet.ReadXml(reader);
- if (dataSet.Tables["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["FrmSaleInvoiceStatistics"] != null)
- {
- base.Tables.Add(new FrmSaleInvoiceStatisticsDataTable(dataSet.Tables["FrmSaleInvoiceStatistics"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXml(reader);
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- protected override XmlSchema GetSchemaSerializable()
- {
- MemoryStream memoryStream = new MemoryStream();
- WriteXmlSchema(new XmlTextWriter(memoryStream, null));
- memoryStream.Position = 0L;
- return XmlSchema.Read(new XmlTextReader(memoryStream), null);
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- InitVars(initTable: true);
- }
- [DebuggerNonUserCode]
- internal void InitVars(bool initTable)
- {
- tableUI = (UIDataTable)base.Tables["UI"];
- if (initTable && tableUI != null)
- {
- tableUI.InitVars();
- }
- tableFrmSaleInvoiceStatistics = (FrmSaleInvoiceStatisticsDataTable)base.Tables["FrmSaleInvoiceStatistics"];
- if (initTable && tableFrmSaleInvoiceStatistics != null)
- {
- tableFrmSaleInvoiceStatistics.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsUIFrmSaleInvoiceStatistics";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsUIFrmSaleInvoiceStatistics.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableUI = new UIDataTable();
- base.Tables.Add(tableUI);
- tableFrmSaleInvoiceStatistics = new FrmSaleInvoiceStatisticsDataTable();
- base.Tables.Add(tableFrmSaleInvoiceStatistics);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeUI()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeFrmSaleInvoiceStatistics()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsUIFrmSaleInvoiceStatistics dsUIFrmSaleInvoiceStatistics = new dsUIFrmSaleInvoiceStatistics();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsUIFrmSaleInvoiceStatistics.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIFrmSaleInvoiceStatistics.GetSchemaSerializable();
- if (xs.Contains(schemaSerializable.TargetNamespace))
- {
- MemoryStream memoryStream = new MemoryStream();
- MemoryStream memoryStream2 = new MemoryStream();
- try
- {
- XmlSchema xmlSchema = null;
- schemaSerializable.Write(memoryStream);
- IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
- while (enumerator.MoveNext())
- {
- xmlSchema = (XmlSchema)enumerator.Current;
- memoryStream2.SetLength(0L);
- xmlSchema.Write(memoryStream2);
- if (memoryStream.Length == memoryStream2.Length)
- {
- memoryStream.Position = 0L;
- memoryStream2.Position = 0L;
- while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
- {
- }
- if (memoryStream.Position == memoryStream.Length)
- {
- return xmlSchemaComplexType;
- }
- }
- }
- }
- finally
- {
- memoryStream?.Close();
- memoryStream2?.Close();
- }
- }
- xs.Add(schemaSerializable);
- return xmlSchemaComplexType;
- }
- }
- }
|