📄 dataset1.designer.cs
字号:
else {
this.ReadXml(reader);
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.table图书类型 = ((图书类型DataTable)(base.Tables["图书类型"]));
if ((initTable == true)) {
if ((this.table图书类型 != null)) {
this.table图书类型.InitVars();
}
}
this.table图书信息 = ((图书信息DataTable)(base.Tables["图书信息"]));
if ((initTable == true)) {
if ((this.table图书信息 != null)) {
this.table图书信息.InitVars();
}
}
this.table出版社 = ((出版社DataTable)(base.Tables["出版社"]));
if ((initTable == true)) {
if ((this.table出版社 != null)) {
this.table出版社.InitVars();
}
}
this.table管理员信息 = ((管理员信息DataTable)(base.Tables["管理员信息"]));
if ((initTable == true)) {
if ((this.table管理员信息 != null)) {
this.table管理员信息.InitVars();
}
}
this.table图书注销 = ((图书注销DataTable)(base.Tables["图书注销"]));
if ((initTable == true)) {
if ((this.table图书注销 != null)) {
this.table图书注销.InitVars();
}
}
this.table图书征订 = ((图书征订DataTable)(base.Tables["图书征订"]));
if ((initTable == true)) {
if ((this.table图书征订 != null)) {
this.table图书征订.InitVars();
}
}
this.table读者信息 = ((读者信息DataTable)(base.Tables["读者信息"]));
if ((initTable == true)) {
if ((this.table读者信息 != null)) {
this.table读者信息.InitVars();
}
}
this.table读者类型 = ((读者类型DataTable)(base.Tables["读者类型"]));
if ((initTable == true)) {
if ((this.table读者类型 != null)) {
this.table读者类型.InitVars();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://tempuri.org/DataSet1.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.table图书类型 = new 图书类型DataTable();
base.Tables.Add(this.table图书类型);
this.table图书信息 = new 图书信息DataTable();
base.Tables.Add(this.table图书信息);
this.table出版社 = new 出版社DataTable();
base.Tables.Add(this.table出版社);
this.table管理员信息 = new 管理员信息DataTable();
base.Tables.Add(this.table管理员信息);
this.table图书注销 = new 图书注销DataTable();
base.Tables.Add(this.table图书注销);
this.table图书征订 = new 图书征订DataTable();
base.Tables.Add(this.table图书征订);
this.table读者信息 = new 读者信息DataTable();
base.Tables.Add(this.table读者信息);
this.table读者类型 = new 读者类型DataTable();
base.Tables.Add(this.table读者类型);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize图书类型() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize图书信息() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize出版社() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize管理员信息() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize图书注销() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize图书征订() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize读者信息() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize读者类型() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
DataSet1 ds = new DataSet1();
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void 图书类型RowChangeEventHandler(object sender, 图书类型RowChangeEvent e);
public delegate void 图书信息RowChangeEventHandler(object sender, 图书信息RowChangeEvent e);
public delegate void 出版社RowChangeEventHandler(object sender, 出版社RowChangeEvent e);
public delegate void 管理员信息RowChangeEventHandler(object sender, 管理员信息RowChangeEvent e);
public delegate void 图书注销RowChangeEventHandler(object sender, 图书注销RowChangeEvent e);
public delegate void 图书征订RowChangeEventHandler(object sender, 图书征订RowChangeEvent e);
public delegate void 读者信息RowChangeEventHandler(object sender, 读者信息RowChangeEvent e);
public delegate void 读者类型RowChangeEventHandler(object sender, 读者类型RowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class 图书类型DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn column类型编号;
private System.Data.DataColumn column类型名称;
private System.Data.DataColumn column可借天数;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书类型DataTable() {
this.TableName = "图书类型";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 图书类型DataTable(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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected 图书类型DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 类型编号Column {
get {
return this.column类型编号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 类型名称Column {
get {
return this.column类型名称;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 可借天数Column {
get {
return this.column可借天数;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书类型Row this[int index] {
get {
return ((图书类型Row)(this.Rows[index]));
}
}
public event 图书类型RowChangeEventHandler 图书类型RowChanging;
public event 图书类型RowChangeEventHandler 图书类型RowChanged;
public event 图书类型RowChangeEventHandler 图书类型RowDeleting;
public event 图书类型RowChangeEventHandler 图书类型RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Add图书类型Row(图书类型Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书类型Row Add图书类型Row(string 类型编号, string 类型名称, int 可借天数) {
图书类型Row row图书类型Row = ((图书类型Row)(this.NewRow()));
row图书类型Row.ItemArray = new object[] {
类型编号,
类型名称,
可借天数};
this.Rows.Add(row图书类型Row);
return row图书类型Row;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -