using System; using System.CodeDom.Compiler; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet { [Serializable] [XmlRoot("dsGetFrmSalesStatisticsPrincipal")] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] [XmlSchemaProvider("GetTypedDataSetSchema")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [ToolboxItem(true)] public class dsGetFrmSalesStatisticsPrincipal : DataSet { public delegate void GetRowChangeEventHandler(object sender, GetRowChangeEvent e); public delegate void FrmSalesStatisticsPrincipalRowChangeEventHandler(object sender, FrmSalesStatisticsPrincipalRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class GetDataTable : DataTable, IEnumerable { private DataColumn columnStartDate; private DataColumn columnEndDate; private DataColumn columnStartNo_SaleBill; private DataColumn columnEndNo_SaleBill; private DataColumn columnStartNo_Customer; private DataColumn columnEndNo_Customer; private DataColumn columnStartNo_Principal; private DataColumn columnEndNo_Principal; private DataColumn columnStartNo_Location; private DataColumn columnEndNo_Location; private DataColumn columnStartNo_Product; private DataColumn columnEndNo_Product; private DataColumn columnStartType_Product; private DataColumn columnEndType_Product; private DataColumn columnCompany; private DataColumn columnName_Create; private DataColumn columnCombine; private DataColumn columnStartZone_Customer; private DataColumn columnEndZone_Customer; [DebuggerNonUserCode] public DataColumn StartDateColumn => columnStartDate; [DebuggerNonUserCode] public DataColumn EndDateColumn => columnEndDate; [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 StartNo_PrincipalColumn => columnStartNo_Principal; [DebuggerNonUserCode] public DataColumn EndNo_PrincipalColumn => columnEndNo_Principal; [DebuggerNonUserCode] public DataColumn StartNo_LocationColumn => columnStartNo_Location; [DebuggerNonUserCode] public DataColumn EndNo_LocationColumn => columnEndNo_Location; [DebuggerNonUserCode] public DataColumn StartNo_ProductColumn => columnStartNo_Product; [DebuggerNonUserCode] public DataColumn EndNo_ProductColumn => columnEndNo_Product; [DebuggerNonUserCode] public DataColumn StartType_ProductColumn => columnStartType_Product; [DebuggerNonUserCode] public DataColumn EndType_ProductColumn => columnEndType_Product; [DebuggerNonUserCode] public DataColumn CompanyColumn => columnCompany; [DebuggerNonUserCode] public DataColumn Name_CreateColumn => columnName_Create; [DebuggerNonUserCode] public DataColumn CombineColumn => columnCombine; [DebuggerNonUserCode] public DataColumn StartZone_CustomerColumn => columnStartZone_Customer; [DebuggerNonUserCode] public DataColumn EndZone_CustomerColumn => columnEndZone_Customer; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public GetRow this[int index] => (GetRow)base.Rows[index]; public event GetRowChangeEventHandler GetRowChanging; public event GetRowChangeEventHandler GetRowChanged; public event GetRowChangeEventHandler GetRowDeleting; public event GetRowChangeEventHandler GetRowDeleted; [DebuggerNonUserCode] public GetDataTable() { base.TableName = "Get"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal GetDataTable(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 GetDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddGetRow(GetRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public GetRow AddGetRow(DateTime StartDate, DateTime EndDate, string StartNo_SaleBill, string EndNo_SaleBill, string StartNo_Customer, string EndNo_Customer, string StartNo_Principal, string EndNo_Principal, string StartNo_Location, string EndNo_Location, string StartNo_Product, string EndNo_Product, string StartType_Product, string EndType_Product, string Company, string Name_Create, bool Combine, string StartZone_Customer, string EndZone_Customer) { GetRow getRow = (GetRow)NewRow(); object[] array2 = getRow.ItemArray = new object[19] { StartDate, EndDate, StartNo_SaleBill, EndNo_SaleBill, StartNo_Customer, EndNo_Customer, StartNo_Principal, EndNo_Principal, StartNo_Location, EndNo_Location, StartNo_Product, EndNo_Product, StartType_Product, EndType_Product, Company, Name_Create, Combine, StartZone_Customer, EndZone_Customer }; base.Rows.Add(getRow); return getRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { GetDataTable getDataTable = (GetDataTable)base.Clone(); getDataTable.InitVars(); return getDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new GetDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnStartDate = base.Columns["StartDate"]; columnEndDate = base.Columns["EndDate"]; columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"]; columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"]; columnStartNo_Customer = base.Columns["StartNo_Customer"]; columnEndNo_Customer = base.Columns["EndNo_Customer"]; columnStartNo_Principal = base.Columns["StartNo_Principal"]; columnEndNo_Principal = base.Columns["EndNo_Principal"]; columnStartNo_Location = base.Columns["StartNo_Location"]; columnEndNo_Location = base.Columns["EndNo_Location"]; columnStartNo_Product = base.Columns["StartNo_Product"]; columnEndNo_Product = base.Columns["EndNo_Product"]; columnStartType_Product = base.Columns["StartType_Product"]; columnEndType_Product = base.Columns["EndType_Product"]; columnCompany = base.Columns["Company"]; columnName_Create = base.Columns["Name_Create"]; columnCombine = base.Columns["Combine"]; columnStartZone_Customer = base.Columns["StartZone_Customer"]; columnEndZone_Customer = base.Columns["EndZone_Customer"]; } [DebuggerNonUserCode] private void InitClass() { columnStartDate = new DataColumn("StartDate", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnStartDate); columnEndDate = new DataColumn("EndDate", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnEndDate); 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); columnStartNo_Principal = new DataColumn("StartNo_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Principal); columnEndNo_Principal = new DataColumn("EndNo_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Principal); columnStartNo_Location = new DataColumn("StartNo_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Location); columnEndNo_Location = new DataColumn("EndNo_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Location); 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); columnStartType_Product = new DataColumn("StartType_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartType_Product); columnEndType_Product = new DataColumn("EndType_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndType_Product); columnCompany = new DataColumn("Company", typeof(string), null, MappingType.Element); base.Columns.Add(columnCompany); columnName_Create = new DataColumn("Name_Create", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Create); columnCombine = new DataColumn("Combine", typeof(bool), null, MappingType.Element); base.Columns.Add(columnCombine); columnStartZone_Customer = new DataColumn("StartZone_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartZone_Customer); columnEndZone_Customer = new DataColumn("EndZone_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndZone_Customer); } [DebuggerNonUserCode] public GetRow NewGetRow() { return (GetRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new GetRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(GetRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.GetRowChanged != null) { this.GetRowChanged(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.GetRowChanging != null) { this.GetRowChanging(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.GetRowDeleted != null) { this.GetRowDeleted(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.GetRowDeleting != null) { this.GetRowDeleting(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveGetRow(GetRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsGetFrmSalesStatisticsPrincipal dsGetFrmSalesStatisticsPrincipal = new dsGetFrmSalesStatisticsPrincipal(); 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 = dsGetFrmSalesStatisticsPrincipal.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "GetDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsPrincipal.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 FrmSalesStatisticsPrincipalDataTable : DataTable, IEnumerable { private DataColumn columnNo_Customer; private DataColumn columnShortName_Customer; private DataColumn columnPrincipal; private DataColumn columnCurrency; private DataColumn columnTaxCurrency; private DataColumn columnNo; private DataColumn columnAmount; private DataColumn columnGoodsAmount; private DataColumn columnTaxAmount; private DataColumn columnLocalAmount; private DataColumn columnNo_Principal; private DataColumn columnType_Customer; private DataColumn columnZone_Customer; [DebuggerNonUserCode] public DataColumn No_CustomerColumn => columnNo_Customer; [DebuggerNonUserCode] public DataColumn ShortName_CustomerColumn => columnShortName_Customer; [DebuggerNonUserCode] public DataColumn PrincipalColumn => columnPrincipal; [DebuggerNonUserCode] public DataColumn CurrencyColumn => columnCurrency; [DebuggerNonUserCode] public DataColumn TaxCurrencyColumn => columnTaxCurrency; [DebuggerNonUserCode] public DataColumn NoColumn => columnNo; [DebuggerNonUserCode] public DataColumn AmountColumn => columnAmount; [DebuggerNonUserCode] public DataColumn GoodsAmountColumn => columnGoodsAmount; [DebuggerNonUserCode] public DataColumn TaxAmountColumn => columnTaxAmount; [DebuggerNonUserCode] public DataColumn LocalAmountColumn => columnLocalAmount; [DebuggerNonUserCode] public DataColumn No_PrincipalColumn => columnNo_Principal; [DebuggerNonUserCode] public DataColumn Type_CustomerColumn => columnType_Customer; [DebuggerNonUserCode] public DataColumn Zone_CustomerColumn => columnZone_Customer; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalRow this[int index] => (FrmSalesStatisticsPrincipalRow)base.Rows[index]; public event FrmSalesStatisticsPrincipalRowChangeEventHandler FrmSalesStatisticsPrincipalRowChanging; public event FrmSalesStatisticsPrincipalRowChangeEventHandler FrmSalesStatisticsPrincipalRowChanged; public event FrmSalesStatisticsPrincipalRowChangeEventHandler FrmSalesStatisticsPrincipalRowDeleting; public event FrmSalesStatisticsPrincipalRowChangeEventHandler FrmSalesStatisticsPrincipalRowDeleted; [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalDataTable() { base.TableName = "FrmSalesStatisticsPrincipal"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal FrmSalesStatisticsPrincipalDataTable(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 FrmSalesStatisticsPrincipalDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddFrmSalesStatisticsPrincipalRow(FrmSalesStatisticsPrincipalRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalRow AddFrmSalesStatisticsPrincipalRow(string No_Customer, string ShortName_Customer, string Principal, string Currency, string TaxCurrency, string No, decimal Amount, decimal GoodsAmount, decimal TaxAmount, decimal LocalAmount, string No_Principal, string Type_Customer, string Zone_Customer) { FrmSalesStatisticsPrincipalRow frmSalesStatisticsPrincipalRow = (FrmSalesStatisticsPrincipalRow)NewRow(); object[] array2 = frmSalesStatisticsPrincipalRow.ItemArray = new object[13] { No_Customer, ShortName_Customer, Principal, Currency, TaxCurrency, No, Amount, GoodsAmount, TaxAmount, LocalAmount, No_Principal, Type_Customer, Zone_Customer }; base.Rows.Add(frmSalesStatisticsPrincipalRow); return frmSalesStatisticsPrincipalRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { FrmSalesStatisticsPrincipalDataTable frmSalesStatisticsPrincipalDataTable = (FrmSalesStatisticsPrincipalDataTable)base.Clone(); frmSalesStatisticsPrincipalDataTable.InitVars(); return frmSalesStatisticsPrincipalDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new FrmSalesStatisticsPrincipalDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_Customer = base.Columns["No_Customer"]; columnShortName_Customer = base.Columns["ShortName_Customer"]; columnPrincipal = base.Columns["Principal"]; columnCurrency = base.Columns["Currency"]; columnTaxCurrency = base.Columns["TaxCurrency"]; columnNo = base.Columns["No"]; columnAmount = base.Columns["Amount"]; columnGoodsAmount = base.Columns["GoodsAmount"]; columnTaxAmount = base.Columns["TaxAmount"]; columnLocalAmount = base.Columns["LocalAmount"]; columnNo_Principal = base.Columns["No_Principal"]; columnType_Customer = base.Columns["Type_Customer"]; columnZone_Customer = base.Columns["Zone_Customer"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Customer); columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnShortName_Customer); columnPrincipal = new DataColumn("Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnPrincipal); columnCurrency = new DataColumn("Currency", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency); columnTaxCurrency = new DataColumn("TaxCurrency", typeof(string), null, MappingType.Element); base.Columns.Add(columnTaxCurrency); columnNo = new DataColumn("No", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo); columnAmount = new DataColumn("Amount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount); columnGoodsAmount = new DataColumn("GoodsAmount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnGoodsAmount); columnTaxAmount = new DataColumn("TaxAmount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxAmount); columnLocalAmount = new DataColumn("LocalAmount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnLocalAmount); columnNo_Principal = new DataColumn("No_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Principal); columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnType_Customer); columnZone_Customer = new DataColumn("Zone_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnZone_Customer); } [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalRow NewFrmSalesStatisticsPrincipalRow() { return (FrmSalesStatisticsPrincipalRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new FrmSalesStatisticsPrincipalRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(FrmSalesStatisticsPrincipalRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.FrmSalesStatisticsPrincipalRowChanged != null) { this.FrmSalesStatisticsPrincipalRowChanged(this, new FrmSalesStatisticsPrincipalRowChangeEvent((FrmSalesStatisticsPrincipalRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.FrmSalesStatisticsPrincipalRowChanging != null) { this.FrmSalesStatisticsPrincipalRowChanging(this, new FrmSalesStatisticsPrincipalRowChangeEvent((FrmSalesStatisticsPrincipalRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.FrmSalesStatisticsPrincipalRowDeleted != null) { this.FrmSalesStatisticsPrincipalRowDeleted(this, new FrmSalesStatisticsPrincipalRowChangeEvent((FrmSalesStatisticsPrincipalRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.FrmSalesStatisticsPrincipalRowDeleting != null) { this.FrmSalesStatisticsPrincipalRowDeleting(this, new FrmSalesStatisticsPrincipalRowChangeEvent((FrmSalesStatisticsPrincipalRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveFrmSalesStatisticsPrincipalRow(FrmSalesStatisticsPrincipalRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsGetFrmSalesStatisticsPrincipal dsGetFrmSalesStatisticsPrincipal = new dsGetFrmSalesStatisticsPrincipal(); 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 = dsGetFrmSalesStatisticsPrincipal.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "FrmSalesStatisticsPrincipalDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsPrincipal.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 GetRow : DataRow { private GetDataTable tableGet; [DebuggerNonUserCode] public DateTime StartDate { get { try { return (DateTime)base[tableGet.StartDateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartDate' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartDateColumn] = value; } } [DebuggerNonUserCode] public DateTime EndDate { get { try { return (DateTime)base[tableGet.EndDateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndDate' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndDateColumn] = value; } } [DebuggerNonUserCode] public string StartNo_SaleBill { get { try { return (string)base[tableGet.StartNo_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string EndNo_SaleBill { get { try { return (string)base[tableGet.EndNo_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Customer { get { try { return (string)base[tableGet.StartNo_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_CustomerColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Customer { get { try { return (string)base[tableGet.EndNo_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_CustomerColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Principal { get { try { return (string)base[tableGet.StartNo_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Principal' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Principal { get { try { return (string)base[tableGet.EndNo_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Principal' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Location { get { try { return (string)base[tableGet.StartNo_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Location' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_LocationColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Location { get { try { return (string)base[tableGet.EndNo_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Location' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_LocationColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Product { get { try { return (string)base[tableGet.StartNo_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_ProductColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Product { get { try { return (string)base[tableGet.EndNo_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_ProductColumn] = value; } } [DebuggerNonUserCode] public string StartType_Product { get { try { return (string)base[tableGet.StartType_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartType_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartType_ProductColumn] = value; } } [DebuggerNonUserCode] public string EndType_Product { get { try { return (string)base[tableGet.EndType_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndType_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndType_ProductColumn] = value; } } [DebuggerNonUserCode] public string Company { get { try { return (string)base[tableGet.CompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Company' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.CompanyColumn] = value; } } [DebuggerNonUserCode] public string Name_Create { get { try { return (string)base[tableGet.Name_CreateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Create' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.Name_CreateColumn] = value; } } [DebuggerNonUserCode] public bool Combine { get { try { return (bool)base[tableGet.CombineColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Combine' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.CombineColumn] = value; } } [DebuggerNonUserCode] public string StartZone_Customer { get { try { return (string)base[tableGet.StartZone_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartZone_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartZone_CustomerColumn] = value; } } [DebuggerNonUserCode] public string EndZone_Customer { get { try { return (string)base[tableGet.EndZone_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndZone_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndZone_CustomerColumn] = value; } } [DebuggerNonUserCode] internal GetRow(DataRowBuilder rb) : base(rb) { tableGet = (GetDataTable)base.Table; } [DebuggerNonUserCode] public bool IsStartDateNull() { return IsNull(tableGet.StartDateColumn); } [DebuggerNonUserCode] public void SetStartDateNull() { base[tableGet.StartDateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndDateNull() { return IsNull(tableGet.EndDateColumn); } [DebuggerNonUserCode] public void SetEndDateNull() { base[tableGet.EndDateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_SaleBillNull() { return IsNull(tableGet.StartNo_SaleBillColumn); } [DebuggerNonUserCode] public void SetStartNo_SaleBillNull() { base[tableGet.StartNo_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_SaleBillNull() { return IsNull(tableGet.EndNo_SaleBillColumn); } [DebuggerNonUserCode] public void SetEndNo_SaleBillNull() { base[tableGet.EndNo_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_CustomerNull() { return IsNull(tableGet.StartNo_CustomerColumn); } [DebuggerNonUserCode] public void SetStartNo_CustomerNull() { base[tableGet.StartNo_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_CustomerNull() { return IsNull(tableGet.EndNo_CustomerColumn); } [DebuggerNonUserCode] public void SetEndNo_CustomerNull() { base[tableGet.EndNo_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_PrincipalNull() { return IsNull(tableGet.StartNo_PrincipalColumn); } [DebuggerNonUserCode] public void SetStartNo_PrincipalNull() { base[tableGet.StartNo_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_PrincipalNull() { return IsNull(tableGet.EndNo_PrincipalColumn); } [DebuggerNonUserCode] public void SetEndNo_PrincipalNull() { base[tableGet.EndNo_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_LocationNull() { return IsNull(tableGet.StartNo_LocationColumn); } [DebuggerNonUserCode] public void SetStartNo_LocationNull() { base[tableGet.StartNo_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_LocationNull() { return IsNull(tableGet.EndNo_LocationColumn); } [DebuggerNonUserCode] public void SetEndNo_LocationNull() { base[tableGet.EndNo_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_ProductNull() { return IsNull(tableGet.StartNo_ProductColumn); } [DebuggerNonUserCode] public void SetStartNo_ProductNull() { base[tableGet.StartNo_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_ProductNull() { return IsNull(tableGet.EndNo_ProductColumn); } [DebuggerNonUserCode] public void SetEndNo_ProductNull() { base[tableGet.EndNo_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartType_ProductNull() { return IsNull(tableGet.StartType_ProductColumn); } [DebuggerNonUserCode] public void SetStartType_ProductNull() { base[tableGet.StartType_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndType_ProductNull() { return IsNull(tableGet.EndType_ProductColumn); } [DebuggerNonUserCode] public void SetEndType_ProductNull() { base[tableGet.EndType_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCompanyNull() { return IsNull(tableGet.CompanyColumn); } [DebuggerNonUserCode] public void SetCompanyNull() { base[tableGet.CompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_CreateNull() { return IsNull(tableGet.Name_CreateColumn); } [DebuggerNonUserCode] public void SetName_CreateNull() { base[tableGet.Name_CreateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCombineNull() { return IsNull(tableGet.CombineColumn); } [DebuggerNonUserCode] public void SetCombineNull() { base[tableGet.CombineColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartZone_CustomerNull() { return IsNull(tableGet.StartZone_CustomerColumn); } [DebuggerNonUserCode] public void SetStartZone_CustomerNull() { base[tableGet.StartZone_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndZone_CustomerNull() { return IsNull(tableGet.EndZone_CustomerColumn); } [DebuggerNonUserCode] public void SetEndZone_CustomerNull() { base[tableGet.EndZone_CustomerColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsPrincipalRow : DataRow { private FrmSalesStatisticsPrincipalDataTable tableFrmSalesStatisticsPrincipal; [DebuggerNonUserCode] public string No_Customer { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.No_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.No_CustomerColumn] = value; } } [DebuggerNonUserCode] public string ShortName_Customer { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.ShortName_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.ShortName_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Principal { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Principal' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.PrincipalColumn] = value; } } [DebuggerNonUserCode] public string Currency { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.CurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.CurrencyColumn] = value; } } [DebuggerNonUserCode] public string TaxCurrency { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.TaxCurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrency' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.TaxCurrencyColumn] = value; } } [DebuggerNonUserCode] public string No { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.NoColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.NoColumn] = value; } } [DebuggerNonUserCode] public decimal Amount { get { try { return (decimal)base[tableFrmSalesStatisticsPrincipal.AmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.AmountColumn] = value; } } [DebuggerNonUserCode] public decimal GoodsAmount { get { try { return (decimal)base[tableFrmSalesStatisticsPrincipal.GoodsAmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'GoodsAmount' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.GoodsAmountColumn] = value; } } [DebuggerNonUserCode] public decimal TaxAmount { get { try { return (decimal)base[tableFrmSalesStatisticsPrincipal.TaxAmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxAmount' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.TaxAmountColumn] = value; } } [DebuggerNonUserCode] public decimal LocalAmount { get { try { return (decimal)base[tableFrmSalesStatisticsPrincipal.LocalAmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LocalAmount' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.LocalAmountColumn] = value; } } [DebuggerNonUserCode] public string No_Principal { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.No_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Principal' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.No_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string Type_Customer { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.Type_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Type_Customer' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.Type_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Zone_Customer { get { try { return (string)base[tableFrmSalesStatisticsPrincipal.Zone_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Zone_Customer' in table 'FrmSalesStatisticsPrincipal' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsPrincipal.Zone_CustomerColumn] = value; } } [DebuggerNonUserCode] internal FrmSalesStatisticsPrincipalRow(DataRowBuilder rb) : base(rb) { tableFrmSalesStatisticsPrincipal = (FrmSalesStatisticsPrincipalDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_CustomerNull() { return IsNull(tableFrmSalesStatisticsPrincipal.No_CustomerColumn); } [DebuggerNonUserCode] public void SetNo_CustomerNull() { base[tableFrmSalesStatisticsPrincipal.No_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsShortName_CustomerNull() { return IsNull(tableFrmSalesStatisticsPrincipal.ShortName_CustomerColumn); } [DebuggerNonUserCode] public void SetShortName_CustomerNull() { base[tableFrmSalesStatisticsPrincipal.ShortName_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsPrincipalNull() { return IsNull(tableFrmSalesStatisticsPrincipal.PrincipalColumn); } [DebuggerNonUserCode] public void SetPrincipalNull() { base[tableFrmSalesStatisticsPrincipal.PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyNull() { return IsNull(tableFrmSalesStatisticsPrincipal.CurrencyColumn); } [DebuggerNonUserCode] public void SetCurrencyNull() { base[tableFrmSalesStatisticsPrincipal.CurrencyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrencyNull() { return IsNull(tableFrmSalesStatisticsPrincipal.TaxCurrencyColumn); } [DebuggerNonUserCode] public void SetTaxCurrencyNull() { base[tableFrmSalesStatisticsPrincipal.TaxCurrencyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNoNull() { return IsNull(tableFrmSalesStatisticsPrincipal.NoColumn); } [DebuggerNonUserCode] public void SetNoNull() { base[tableFrmSalesStatisticsPrincipal.NoColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmountNull() { return IsNull(tableFrmSalesStatisticsPrincipal.AmountColumn); } [DebuggerNonUserCode] public void SetAmountNull() { base[tableFrmSalesStatisticsPrincipal.AmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsGoodsAmountNull() { return IsNull(tableFrmSalesStatisticsPrincipal.GoodsAmountColumn); } [DebuggerNonUserCode] public void SetGoodsAmountNull() { base[tableFrmSalesStatisticsPrincipal.GoodsAmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxAmountNull() { return IsNull(tableFrmSalesStatisticsPrincipal.TaxAmountColumn); } [DebuggerNonUserCode] public void SetTaxAmountNull() { base[tableFrmSalesStatisticsPrincipal.TaxAmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLocalAmountNull() { return IsNull(tableFrmSalesStatisticsPrincipal.LocalAmountColumn); } [DebuggerNonUserCode] public void SetLocalAmountNull() { base[tableFrmSalesStatisticsPrincipal.LocalAmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_PrincipalNull() { return IsNull(tableFrmSalesStatisticsPrincipal.No_PrincipalColumn); } [DebuggerNonUserCode] public void SetNo_PrincipalNull() { base[tableFrmSalesStatisticsPrincipal.No_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsType_CustomerNull() { return IsNull(tableFrmSalesStatisticsPrincipal.Type_CustomerColumn); } [DebuggerNonUserCode] public void SetType_CustomerNull() { base[tableFrmSalesStatisticsPrincipal.Type_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsZone_CustomerNull() { return IsNull(tableFrmSalesStatisticsPrincipal.Zone_CustomerColumn); } [DebuggerNonUserCode] public void SetZone_CustomerNull() { base[tableFrmSalesStatisticsPrincipal.Zone_CustomerColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class GetRowChangeEvent : EventArgs { private GetRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public GetRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public GetRowChangeEvent(GetRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsPrincipalRowChangeEvent : EventArgs { private FrmSalesStatisticsPrincipalRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsPrincipalRowChangeEvent(FrmSalesStatisticsPrincipalRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private GetDataTable tableGet; private FrmSalesStatisticsPrincipalDataTable tableFrmSalesStatisticsPrincipal; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] public GetDataTable Get => tableGet; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] [Browsable(false)] public FrmSalesStatisticsPrincipalDataTable FrmSalesStatisticsPrincipal => tableFrmSalesStatisticsPrincipal; [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [Browsable(true)] [DebuggerNonUserCode] public override SchemaSerializationMode SchemaSerializationMode { get { return _schemaSerializationMode; } set { _schemaSerializationMode = value; } } [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataTableCollection Tables => base.Tables; [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsGetFrmSalesStatisticsPrincipal() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsGetFrmSalesStatisticsPrincipal(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["Get"] != null) { base.Tables.Add(new GetDataTable(dataSet.Tables["Get"])); } if (dataSet.Tables["FrmSalesStatisticsPrincipal"] != null) { base.Tables.Add(new FrmSalesStatisticsPrincipalDataTable(dataSet.Tables["FrmSalesStatisticsPrincipal"])); } 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() { dsGetFrmSalesStatisticsPrincipal dsGetFrmSalesStatisticsPrincipal = (dsGetFrmSalesStatisticsPrincipal)base.Clone(); dsGetFrmSalesStatisticsPrincipal.InitVars(); dsGetFrmSalesStatisticsPrincipal.SchemaSerializationMode = SchemaSerializationMode; return dsGetFrmSalesStatisticsPrincipal; } [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["Get"] != null) { base.Tables.Add(new GetDataTable(dataSet.Tables["Get"])); } if (dataSet.Tables["FrmSalesStatisticsPrincipal"] != null) { base.Tables.Add(new FrmSalesStatisticsPrincipalDataTable(dataSet.Tables["FrmSalesStatisticsPrincipal"])); } 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) { tableGet = (GetDataTable)base.Tables["Get"]; if (initTable && tableGet != null) { tableGet.InitVars(); } tableFrmSalesStatisticsPrincipal = (FrmSalesStatisticsPrincipalDataTable)base.Tables["FrmSalesStatisticsPrincipal"]; if (initTable && tableFrmSalesStatisticsPrincipal != null) { tableFrmSalesStatisticsPrincipal.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsGetFrmSalesStatisticsPrincipal"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsGetFrmSalesStatisticsPrincipal.xsd"; base.Locale = new CultureInfo("en-US"); base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableGet = new GetDataTable(); base.Tables.Add(tableGet); tableFrmSalesStatisticsPrincipal = new FrmSalesStatisticsPrincipalDataTable(); base.Tables.Add(tableFrmSalesStatisticsPrincipal); } [DebuggerNonUserCode] private bool ShouldSerializeGet() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeFrmSalesStatisticsPrincipal() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsGetFrmSalesStatisticsPrincipal dsGetFrmSalesStatisticsPrincipal = new dsGetFrmSalesStatisticsPrincipal(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsGetFrmSalesStatisticsPrincipal.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsPrincipal.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; } } }