dsmain.designer.cs
来自「C#简单练习进销存代码」· CS 代码 · 共 748 行 · 第 1/3 页
CS
748 行
xs.Add(dsSchema);
return type;
}
public delegate void IN020RowChangeEventHandler(object sender, IN020RowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class IN020DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnC_DATE;
private global::System.Data.DataColumn columnPR_NAME;
private global::System.Data.DataColumn columnRE_NAME;
private global::System.Data.DataColumn columnPRICE;
private global::System.Data.DataColumn columnQTY;
private global::System.Data.DataColumn columnTA;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IN020DataTable() {
this.TableName = "IN020";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal IN020DataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected IN020DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn C_DATEColumn {
get {
return this.columnC_DATE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PR_NAMEColumn {
get {
return this.columnPR_NAME;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn RE_NAMEColumn {
get {
return this.columnRE_NAME;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PRICEColumn {
get {
return this.columnPRICE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn QTYColumn {
get {
return this.columnQTY;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TAColumn {
get {
return this.columnTA;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IN020Row this[int index] {
get {
return ((IN020Row)(this.Rows[index]));
}
}
public event IN020RowChangeEventHandler IN020RowChanging;
public event IN020RowChangeEventHandler IN020RowChanged;
public event IN020RowChangeEventHandler IN020RowDeleting;
public event IN020RowChangeEventHandler IN020RowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddIN020Row(IN020Row row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IN020Row AddIN020Row(System.DateTime C_DATE, string PR_NAME, string RE_NAME, decimal PRICE, int QTY, decimal TA) {
IN020Row rowIN020Row = ((IN020Row)(this.NewRow()));
object[] columnValuesArray = new object[] {
C_DATE,
PR_NAME,
RE_NAME,
PRICE,
QTY,
TA};
rowIN020Row.ItemArray = columnValuesArray;
this.Rows.Add(rowIN020Row);
return rowIN020Row;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
IN020DataTable cln = ((IN020DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new IN020DataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnC_DATE = base.Columns["C_DATE"];
this.columnPR_NAME = base.Columns["PR_NAME"];
this.columnRE_NAME = base.Columns["RE_NAME"];
this.columnPRICE = base.Columns["PRICE"];
this.columnQTY = base.Columns["QTY"];
this.columnTA = base.Columns["TA"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnC_DATE = new global::System.Data.DataColumn("C_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnC_DATE);
this.columnPR_NAME = new global::System.Data.DataColumn("PR_NAME", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPR_NAME);
this.columnRE_NAME = new global::System.Data.DataColumn("RE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRE_NAME);
this.columnPRICE = new global::System.Data.DataColumn("PRICE", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPRICE);
this.columnQTY = new global::System.Data.DataColumn("QTY", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQTY);
this.columnTA = new global::System.Data.DataColumn("TA", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTA);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IN020Row NewIN020Row() {
return ((IN020Row)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new IN020Row(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(IN020Row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.IN020RowChanged != null)) {
this.IN020RowChanged(this, new IN020RowChangeEvent(((IN020Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.IN020RowChanging != null)) {
this.IN020RowChanging(this, new IN020RowChangeEvent(((IN020Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.IN020RowDeleted != null)) {
this.IN020RowDeleted(this, new IN020RowChangeEvent(((IN020Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.IN020RowDeleting != null)) {
this.IN020RowDeleting(this, new IN020RowChangeEvent(((IN020Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveIN020Row(IN020Row row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
Dataset1 ds = new Dataset1();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?