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] [XmlRoot("dsUIFrmUnStrikeInvoiceDetail")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedDataSetSchema")] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] [ToolboxItem(true)] public class dsUIFrmUnStrikeInvoiceDetail : DataSet { public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e); public delegate void FrmUnStrikeInvoiceDetailRowChangeEventHandler(object sender, FrmUnStrikeInvoiceDetailRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class UIDataTable : DataTable, IEnumerable { private DataColumn columnStartNo_Customer; private DataColumn columnEndNo_Customer; private DataColumn columnCompany_Name; private DataColumn columnCompany_Flag; [DebuggerNonUserCode] public DataColumn StartNo_CustomerColumn => columnStartNo_Customer; [DebuggerNonUserCode] public DataColumn EndNo_CustomerColumn => columnEndNo_Customer; [DebuggerNonUserCode] public DataColumn Company_NameColumn => columnCompany_Name; [DebuggerNonUserCode] public DataColumn Company_FlagColumn => columnCompany_Flag; [DebuggerNonUserCode] [Browsable(false)] 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(string StartNo_Customer, string EndNo_Customer, string Company_Name, bool Company_Flag) { UIRow uIRow = (UIRow)NewRow(); object[] array2 = uIRow.ItemArray = new object[4] { StartNo_Customer, EndNo_Customer, Company_Name, Company_Flag }; 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() { columnStartNo_Customer = base.Columns["StartNo_Customer"]; columnEndNo_Customer = base.Columns["EndNo_Customer"]; columnCompany_Name = base.Columns["Company_Name"]; columnCompany_Flag = base.Columns["Company_Flag"]; } [DebuggerNonUserCode] private void InitClass() { 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); columnCompany_Name = new DataColumn("Company_Name", typeof(string), null, MappingType.Element); base.Columns.Add(columnCompany_Name); columnCompany_Flag = new DataColumn("Company_Flag", typeof(bool), null, MappingType.Element); base.Columns.Add(columnCompany_Flag); } [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(); dsUIFrmUnStrikeInvoiceDetail dsUIFrmUnStrikeInvoiceDetail = new dsUIFrmUnStrikeInvoiceDetail(); 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 = dsUIFrmUnStrikeInvoiceDetail.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "UIDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsUIFrmUnStrikeInvoiceDetail.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] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class FrmUnStrikeInvoiceDetailDataTable : DataTable, IEnumerable { private DataColumn columnNo_Customer; private DataColumn columnShortName_Customer; private DataColumn columnCompany_Customer; private DataColumn columnBillPregetMoney; private DataColumn columnBillTogetMoney; private DataColumn columnBillType; private DataColumn columnBillNo; private DataColumn columnBillDate; private DataColumn columnBillStrikeMoney; private DataColumn columnBillUnStrikeMoney; [DebuggerNonUserCode] public DataColumn No_CustomerColumn => columnNo_Customer; [DebuggerNonUserCode] public DataColumn ShortName_CustomerColumn => columnShortName_Customer; [DebuggerNonUserCode] public DataColumn Company_CustomerColumn => columnCompany_Customer; [DebuggerNonUserCode] public DataColumn BillPregetMoneyColumn => columnBillPregetMoney; [DebuggerNonUserCode] public DataColumn BillTogetMoneyColumn => columnBillTogetMoney; [DebuggerNonUserCode] public DataColumn BillTypeColumn => columnBillType; [DebuggerNonUserCode] public DataColumn BillNoColumn => columnBillNo; [DebuggerNonUserCode] public DataColumn BillDateColumn => columnBillDate; [DebuggerNonUserCode] public DataColumn BillStrikeMoneyColumn => columnBillStrikeMoney; [DebuggerNonUserCode] public DataColumn BillUnStrikeMoneyColumn => columnBillUnStrikeMoney; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailRow this[int index] => (FrmUnStrikeInvoiceDetailRow)base.Rows[index]; public event FrmUnStrikeInvoiceDetailRowChangeEventHandler FrmUnStrikeInvoiceDetailRowChanging; public event FrmUnStrikeInvoiceDetailRowChangeEventHandler FrmUnStrikeInvoiceDetailRowChanged; public event FrmUnStrikeInvoiceDetailRowChangeEventHandler FrmUnStrikeInvoiceDetailRowDeleting; public event FrmUnStrikeInvoiceDetailRowChangeEventHandler FrmUnStrikeInvoiceDetailRowDeleted; [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailDataTable() { base.TableName = "FrmUnStrikeInvoiceDetail"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal FrmUnStrikeInvoiceDetailDataTable(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 FrmUnStrikeInvoiceDetailDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddFrmUnStrikeInvoiceDetailRow(FrmUnStrikeInvoiceDetailRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailRow AddFrmUnStrikeInvoiceDetailRow(string No_Customer, string ShortName_Customer, string Company_Customer, decimal BillPregetMoney, decimal BillTogetMoney, string BillType, string BillNo, DateTime BillDate, decimal BillStrikeMoney, decimal BillUnStrikeMoney) { FrmUnStrikeInvoiceDetailRow frmUnStrikeInvoiceDetailRow = (FrmUnStrikeInvoiceDetailRow)NewRow(); object[] array2 = frmUnStrikeInvoiceDetailRow.ItemArray = new object[10] { No_Customer, ShortName_Customer, Company_Customer, BillPregetMoney, BillTogetMoney, BillType, BillNo, BillDate, BillStrikeMoney, BillUnStrikeMoney }; base.Rows.Add(frmUnStrikeInvoiceDetailRow); return frmUnStrikeInvoiceDetailRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { FrmUnStrikeInvoiceDetailDataTable frmUnStrikeInvoiceDetailDataTable = (FrmUnStrikeInvoiceDetailDataTable)base.Clone(); frmUnStrikeInvoiceDetailDataTable.InitVars(); return frmUnStrikeInvoiceDetailDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new FrmUnStrikeInvoiceDetailDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_Customer = base.Columns["No_Customer"]; columnShortName_Customer = base.Columns["ShortName_Customer"]; columnCompany_Customer = base.Columns["Company_Customer"]; columnBillPregetMoney = base.Columns["BillPregetMoney"]; columnBillTogetMoney = base.Columns["BillTogetMoney"]; columnBillType = base.Columns["BillType"]; columnBillNo = base.Columns["BillNo"]; columnBillDate = base.Columns["BillDate"]; columnBillStrikeMoney = base.Columns["BillStrikeMoney"]; columnBillUnStrikeMoney = base.Columns["BillUnStrikeMoney"]; } [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); columnCompany_Customer = new DataColumn("Company_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnCompany_Customer); columnBillPregetMoney = new DataColumn("BillPregetMoney", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnBillPregetMoney); columnBillTogetMoney = new DataColumn("BillTogetMoney", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnBillTogetMoney); columnBillType = new DataColumn("BillType", typeof(string), null, MappingType.Element); base.Columns.Add(columnBillType); columnBillNo = new DataColumn("BillNo", typeof(string), null, MappingType.Element); base.Columns.Add(columnBillNo); columnBillDate = new DataColumn("BillDate", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnBillDate); columnBillStrikeMoney = new DataColumn("BillStrikeMoney", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnBillStrikeMoney); columnBillUnStrikeMoney = new DataColumn("BillUnStrikeMoney", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnBillUnStrikeMoney); } [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailRow NewFrmUnStrikeInvoiceDetailRow() { return (FrmUnStrikeInvoiceDetailRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new FrmUnStrikeInvoiceDetailRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(FrmUnStrikeInvoiceDetailRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.FrmUnStrikeInvoiceDetailRowChanged != null) { this.FrmUnStrikeInvoiceDetailRowChanged(this, new FrmUnStrikeInvoiceDetailRowChangeEvent((FrmUnStrikeInvoiceDetailRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.FrmUnStrikeInvoiceDetailRowChanging != null) { this.FrmUnStrikeInvoiceDetailRowChanging(this, new FrmUnStrikeInvoiceDetailRowChangeEvent((FrmUnStrikeInvoiceDetailRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.FrmUnStrikeInvoiceDetailRowDeleted != null) { this.FrmUnStrikeInvoiceDetailRowDeleted(this, new FrmUnStrikeInvoiceDetailRowChangeEvent((FrmUnStrikeInvoiceDetailRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.FrmUnStrikeInvoiceDetailRowDeleting != null) { this.FrmUnStrikeInvoiceDetailRowDeleting(this, new FrmUnStrikeInvoiceDetailRowChangeEvent((FrmUnStrikeInvoiceDetailRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveFrmUnStrikeInvoiceDetailRow(FrmUnStrikeInvoiceDetailRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsUIFrmUnStrikeInvoiceDetail dsUIFrmUnStrikeInvoiceDetail = new dsUIFrmUnStrikeInvoiceDetail(); 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 = dsUIFrmUnStrikeInvoiceDetail.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "FrmUnStrikeInvoiceDetailDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsUIFrmUnStrikeInvoiceDetail.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 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 Company_Name { get { try { return (string)base[tableUI.Company_NameColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Company_Name' in table 'UI' is DBNull.", innerException); } } set { base[tableUI.Company_NameColumn] = value; } } [DebuggerNonUserCode] public bool Company_Flag { get { try { return (bool)base[tableUI.Company_FlagColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Company_Flag' in table 'UI' is DBNull.", innerException); } } set { base[tableUI.Company_FlagColumn] = value; } } [DebuggerNonUserCode] internal UIRow(DataRowBuilder rb) : base(rb) { tableUI = (UIDataTable)base.Table; } [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 IsCompany_NameNull() { return IsNull(tableUI.Company_NameColumn); } [DebuggerNonUserCode] public void SetCompany_NameNull() { base[tableUI.Company_NameColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCompany_FlagNull() { return IsNull(tableUI.Company_FlagColumn); } [DebuggerNonUserCode] public void SetCompany_FlagNull() { base[tableUI.Company_FlagColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmUnStrikeInvoiceDetailRow : DataRow { private FrmUnStrikeInvoiceDetailDataTable tableFrmUnStrikeInvoiceDetail; [DebuggerNonUserCode] public string No_Customer { get { try { return (string)base[tableFrmUnStrikeInvoiceDetail.No_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.No_CustomerColumn] = value; } } [DebuggerNonUserCode] public string ShortName_Customer { get { try { return (string)base[tableFrmUnStrikeInvoiceDetail.ShortName_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.ShortName_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Company_Customer { get { try { return (string)base[tableFrmUnStrikeInvoiceDetail.Company_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Company_Customer' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.Company_CustomerColumn] = value; } } [DebuggerNonUserCode] public decimal BillPregetMoney { get { try { return (decimal)base[tableFrmUnStrikeInvoiceDetail.BillPregetMoneyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillPregetMoney' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillPregetMoneyColumn] = value; } } [DebuggerNonUserCode] public decimal BillTogetMoney { get { try { return (decimal)base[tableFrmUnStrikeInvoiceDetail.BillTogetMoneyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillTogetMoney' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillTogetMoneyColumn] = value; } } [DebuggerNonUserCode] public string BillType { get { try { return (string)base[tableFrmUnStrikeInvoiceDetail.BillTypeColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillType' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillTypeColumn] = value; } } [DebuggerNonUserCode] public string BillNo { get { try { return (string)base[tableFrmUnStrikeInvoiceDetail.BillNoColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillNo' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillNoColumn] = value; } } [DebuggerNonUserCode] public DateTime BillDate { get { try { return (DateTime)base[tableFrmUnStrikeInvoiceDetail.BillDateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillDate' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillDateColumn] = value; } } [DebuggerNonUserCode] public decimal BillStrikeMoney { get { try { return (decimal)base[tableFrmUnStrikeInvoiceDetail.BillStrikeMoneyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillStrikeMoney' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillStrikeMoneyColumn] = value; } } [DebuggerNonUserCode] public decimal BillUnStrikeMoney { get { try { return (decimal)base[tableFrmUnStrikeInvoiceDetail.BillUnStrikeMoneyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'BillUnStrikeMoney' in table 'FrmUnStrikeInvoiceDetail' is DBNull.", innerException); } } set { base[tableFrmUnStrikeInvoiceDetail.BillUnStrikeMoneyColumn] = value; } } [DebuggerNonUserCode] internal FrmUnStrikeInvoiceDetailRow(DataRowBuilder rb) : base(rb) { tableFrmUnStrikeInvoiceDetail = (FrmUnStrikeInvoiceDetailDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_CustomerNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.No_CustomerColumn); } [DebuggerNonUserCode] public void SetNo_CustomerNull() { base[tableFrmUnStrikeInvoiceDetail.No_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsShortName_CustomerNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.ShortName_CustomerColumn); } [DebuggerNonUserCode] public void SetShortName_CustomerNull() { base[tableFrmUnStrikeInvoiceDetail.ShortName_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCompany_CustomerNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.Company_CustomerColumn); } [DebuggerNonUserCode] public void SetCompany_CustomerNull() { base[tableFrmUnStrikeInvoiceDetail.Company_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillPregetMoneyNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillPregetMoneyColumn); } [DebuggerNonUserCode] public void SetBillPregetMoneyNull() { base[tableFrmUnStrikeInvoiceDetail.BillPregetMoneyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillTogetMoneyNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillTogetMoneyColumn); } [DebuggerNonUserCode] public void SetBillTogetMoneyNull() { base[tableFrmUnStrikeInvoiceDetail.BillTogetMoneyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillTypeNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillTypeColumn); } [DebuggerNonUserCode] public void SetBillTypeNull() { base[tableFrmUnStrikeInvoiceDetail.BillTypeColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillNoNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillNoColumn); } [DebuggerNonUserCode] public void SetBillNoNull() { base[tableFrmUnStrikeInvoiceDetail.BillNoColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillDateNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillDateColumn); } [DebuggerNonUserCode] public void SetBillDateNull() { base[tableFrmUnStrikeInvoiceDetail.BillDateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillStrikeMoneyNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillStrikeMoneyColumn); } [DebuggerNonUserCode] public void SetBillStrikeMoneyNull() { base[tableFrmUnStrikeInvoiceDetail.BillStrikeMoneyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsBillUnStrikeMoneyNull() { return IsNull(tableFrmUnStrikeInvoiceDetail.BillUnStrikeMoneyColumn); } [DebuggerNonUserCode] public void SetBillUnStrikeMoneyNull() { base[tableFrmUnStrikeInvoiceDetail.BillUnStrikeMoneyColumn] = 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 FrmUnStrikeInvoiceDetailRowChangeEvent : EventArgs { private FrmUnStrikeInvoiceDetailRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailRowChangeEvent(FrmUnStrikeInvoiceDetailRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private UIDataTable tableUI; private FrmUnStrikeInvoiceDetailDataTable tableFrmUnStrikeInvoiceDetail; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] public UIDataTable UI => tableUI; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [Browsable(false)] [DebuggerNonUserCode] public FrmUnStrikeInvoiceDetailDataTable FrmUnStrikeInvoiceDetail => tableFrmUnStrikeInvoiceDetail; [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 dsUIFrmUnStrikeInvoiceDetail() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsUIFrmUnStrikeInvoiceDetail(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["FrmUnStrikeInvoiceDetail"] != null) { base.Tables.Add(new FrmUnStrikeInvoiceDetailDataTable(dataSet.Tables["FrmUnStrikeInvoiceDetail"])); } 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() { dsUIFrmUnStrikeInvoiceDetail dsUIFrmUnStrikeInvoiceDetail = (dsUIFrmUnStrikeInvoiceDetail)base.Clone(); dsUIFrmUnStrikeInvoiceDetail.InitVars(); dsUIFrmUnStrikeInvoiceDetail.SchemaSerializationMode = SchemaSerializationMode; return dsUIFrmUnStrikeInvoiceDetail; } [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["FrmUnStrikeInvoiceDetail"] != null) { base.Tables.Add(new FrmUnStrikeInvoiceDetailDataTable(dataSet.Tables["FrmUnStrikeInvoiceDetail"])); } 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(); } tableFrmUnStrikeInvoiceDetail = (FrmUnStrikeInvoiceDetailDataTable)base.Tables["FrmUnStrikeInvoiceDetail"]; if (initTable && tableFrmUnStrikeInvoiceDetail != null) { tableFrmUnStrikeInvoiceDetail.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsUIFrmUnStrikeInvoiceDetail"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsUIFrmUnStrikeInvoiceDetail.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableUI = new UIDataTable(); base.Tables.Add(tableUI); tableFrmUnStrikeInvoiceDetail = new FrmUnStrikeInvoiceDetailDataTable(); base.Tables.Add(tableFrmUnStrikeInvoiceDetail); } [DebuggerNonUserCode] private bool ShouldSerializeUI() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeFrmUnStrikeInvoiceDetail() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsUIFrmUnStrikeInvoiceDetail dsUIFrmUnStrikeInvoiceDetail = new dsUIFrmUnStrikeInvoiceDetail(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsUIFrmUnStrikeInvoiceDetail.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsUIFrmUnStrikeInvoiceDetail.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; } } }