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; } } }