📄 tdsflight.designer.cs
字号:
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FlightIDColumn {
get {
return this.columnFlightID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FlightNoColumn {
get {
return this.columnFlightNo;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FlightDateColumn {
get {
return this.columnFlightDate;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn WeekColumn {
get {
return this.columnWeek;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn LeaveTimeColumn {
get {
return this.columnLeaveTime;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ArriveTimeColumn {
get {
return this.columnArriveTime;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn OriginalAddressColumn {
get {
return this.columnOriginalAddress;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ObjectAddressColumn {
get {
return this.columnObjectAddress;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn PlaneTypeColumn {
get {
return this.columnPlaneType;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn APriceColumn {
get {
return this.columnAPrice;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn BPriceColumn {
get {
return this.columnBPrice;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CPriceColumn {
get {
return this.columnCPrice;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn AgioRatioColumn {
get {
return this.columnAgioRatio;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CommentColumn {
get {
return this.columnComment;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BSAFlightRow this[int index] {
get {
return ((BSAFlightRow)(this.Rows[index]));
}
}
public event BSAFlightRowChangeEventHandler BSAFlightRowChanging;
public event BSAFlightRowChangeEventHandler BSAFlightRowChanged;
public event BSAFlightRowChangeEventHandler BSAFlightRowDeleting;
public event BSAFlightRowChangeEventHandler BSAFlightRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddBSAFlightRow(BSAFlightRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BSAFlightRow AddBSAFlightRow(string FlightNo, string FlightDate, string Week, string LeaveTime, string ArriveTime, string OriginalAddress, string ObjectAddress, string PlaneType, decimal APrice, decimal BPrice, decimal CPrice, decimal AgioRatio, string Comment) {
BSAFlightRow rowBSAFlightRow = ((BSAFlightRow)(this.NewRow()));
rowBSAFlightRow.ItemArray = new object[] {
null,
FlightNo,
FlightDate,
Week,
LeaveTime,
ArriveTime,
OriginalAddress,
ObjectAddress,
PlaneType,
APrice,
BPrice,
CPrice,
AgioRatio,
Comment};
this.Rows.Add(rowBSAFlightRow);
return rowBSAFlightRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BSAFlightRow FindByFlightID(int FlightID) {
return ((BSAFlightRow)(this.Rows.Find(new object[] {
FlightID})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
BSAFlightDataTable cln = ((BSAFlightDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new BSAFlightDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnFlightID = base.Columns["FlightID"];
this.columnFlightNo = base.Columns["FlightNo"];
this.columnFlightDate = base.Columns["FlightDate"];
this.columnWeek = base.Columns["Week"];
this.columnLeaveTime = base.Columns["LeaveTime"];
this.columnArriveTime = base.Columns["ArriveTime"];
this.columnOriginalAddress = base.Columns["OriginalAddress"];
this.columnObjectAddress = base.Columns["ObjectAddress"];
this.columnPlaneType = base.Columns["PlaneType"];
this.columnAPrice = base.Columns["APrice"];
this.columnBPrice = base.Columns["BPrice"];
this.columnCPrice = base.Columns["CPrice"];
this.columnAgioRatio = base.Columns["AgioRatio"];
this.columnComment = base.Columns["Comment"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnFlightID = new System.Data.DataColumn("FlightID", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFlightID);
this.columnFlightNo = new System.Data.DataColumn("FlightNo", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFlightNo);
this.columnFlightDate = new System.Data.DataColumn("FlightDate", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFlightDate);
this.columnWeek = new System.Data.DataColumn("Week", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnWeek);
this.columnLeaveTime = new System.Data.DataColumn("LeaveTime", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnLeaveTime);
this.columnArriveTime = new System.Data.DataColumn("ArriveTime", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnArriveTime);
this.columnOriginalAddress = new System.Data.DataColumn("OriginalAddress", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnOriginalAddress);
this.columnObjectAddress = new System.Data.DataColumn("ObjectAddress", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnObjectAddress);
this.columnPlaneType = new System.Data.DataColumn("PlaneType", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnPlaneType);
this.columnAPrice = new System.Data.DataColumn("APrice", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnAPrice);
this.columnBPrice = new System.Data.DataColumn("BPrice", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnBPrice);
this.columnCPrice = new System.Data.DataColumn("CPrice", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnCPrice);
this.columnAgioRatio = new System.Data.DataColumn("AgioRatio", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnAgioRatio);
this.columnComment = new System.Data.DataColumn("Comment", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnComment);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnFlightID}, true));
this.columnFlightID.AutoIncrement = true;
this.columnFlightID.AllowDBNull = false;
this.columnFlightID.ReadOnly = true;
this.columnFlightID.Unique = true;
this.columnFlightNo.AllowDBNull = false;
this.columnFlightNo.MaxLength = 16;
this.columnFlightDate.AllowDBNull = false;
this.columnFlightDate.MaxLength = 10;
this.columnWeek.MaxLength = 10;
this.columnLeaveTime.AllowDBNull = false;
this.columnLeaveTime.MaxLength = 5;
this.columnArriveTime.AllowDBNull = false;
this.columnArriveTime.MaxLength = 5;
this.columnOriginalAddress.AllowDBNull = false;
this.columnOriginalAddress.MaxLength = 16;
this.columnObjectAddress.AllowDBNull = false;
this.columnObjectAddress.MaxLength = 16;
this.columnPlaneType.AllowDBNull = false;
this.columnPlaneType.MaxLength = 16;
this.columnAPrice.AllowDBNull = false;
this.columnBPrice.AllowDBNull = false;
this.columnCPrice.AllowDBNull = false;
this.columnComment.MaxLength = 100;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BSAFlightRow NewBSAFlightRow() {
return ((BSAFlightRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new BSAFlightRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(BSAFlightRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.BSAFlightRowChanged != null)) {
this.BSAFlightRowChanged(this, new BSAFlightRowChangeEvent(((BSAFlightRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.BSAFlightRowChanging != null)) {
this.BSAFlightRowChanging(this, new BSAFlightRowChangeEvent(((BSAFlightRow)(e.Row)), e.Action));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -