📄 customerform.designer.cs
字号:
this.btnEdit.UseVisualStyleBackColor = true;
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(278, 156);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 11;
this.btnCancel.Text = "&Cancel";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(387, 156);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(75, 23);
this.btnExit.TabIndex = 12;
this.btnExit.Text = "&Exit";
this.btnExit.UseVisualStyleBackColor = true;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnBack
//
this.btnBack.Location = new System.Drawing.Point(28, 217);
this.btnBack.Name = "btnBack";
this.btnBack.Size = new System.Drawing.Size(75, 23);
this.btnBack.TabIndex = 13;
this.btnBack.Text = "<";
this.btnBack.UseVisualStyleBackColor = true;
this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
//
// btnNext
//
this.btnNext.Location = new System.Drawing.Point(355, 217);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(75, 23);
this.btnNext.TabIndex = 14;
this.btnNext.Text = ">";
this.btnNext.UseVisualStyleBackColor = true;
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// errCustForm
//
this.errCustForm.ContainerControl = this;
//
// tblCustomerBindingSource
//
this.tblCustomerBindingSource.DataMember = "tblCustomer";
//
// tblCustomerBindingSource1
//
this.tblCustomerBindingSource1.DataSource = this.customerDataSet11;
this.tblCustomerBindingSource1.Position = 0;
//
// sqlInsertCommand1
//
this.sqlInsertCommand1.CommandText = "INSERT INTO [tblCustomer] ([CarNo], [Name], [Address], [Make]) VALUES (@CarNo, @N" +
"ame, @Address, @Make)";
this.sqlInsertCommand1.Connection = this.sqlConnection1;
this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
new System.Data.SqlClient.SqlParameter("@CarNo", System.Data.SqlDbType.VarChar, 0, "CarNo"),
new System.Data.SqlClient.SqlParameter("@Name", System.Data.SqlDbType.VarChar, 0, "Name"),
new System.Data.SqlClient.SqlParameter("@Address", System.Data.SqlDbType.VarChar, 0, "Address"),
new System.Data.SqlClient.SqlParameter("@Make", System.Data.SqlDbType.VarChar, 0, "Make")});
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "Data Source=(local);Initial Catalog=CMS;Integrated Security=True";
this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "tblCustomer", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("CarNo", "CarNo"),
new System.Data.Common.DataColumnMapping("Name", "Name"),
new System.Data.Common.DataColumnMapping("Address", "Address"),
new System.Data.Common.DataColumnMapping("Make", "Make")})});
//
// sqlSelectCommand1
//
this.sqlSelectCommand1.CommandText = "SELECT CarNo, Name, Address, Make\r\nFROM tblCustomer";
this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// customerDataSet11
//
this.customerDataSet11.DataSetName = "customerDataSet1";
this.customerDataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// CustomerForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(488, 335);
this.Controls.Add(this.btnNext);
this.Controls.Add(this.btnBack);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnEdit);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.txtDisplayPosition);
this.Controls.Add(this.editMake);
this.Controls.Add(this.editAddress);
this.Controls.Add(this.editName);
this.Controls.Add(this.editCarNo);
this.Controls.Add(this.lblMake);
this.Controls.Add(this.lblName);
this.Controls.Add(this.lblAddress);
this.Controls.Add(this.lblCarNo);
this.Name = "CustomerForm";
this.Text = "CustomerForm";
this.Load += new System.EventHandler(this.CustomerForm_Load);
((System.ComponentModel.ISupportInitialize)(this.tblCustomerBindingSource2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblCustomerBindingSource3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.errCustForm)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblCustomerBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblCustomerBindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.customerDataSet11)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lblCarNo;
private System.Windows.Forms.Label lblAddress;
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.Label lblMake;
private System.Windows.Forms.TextBox editCarNo;
private System.Windows.Forms.TextBox editName;
private System.Windows.Forms.TextBox editAddress;
private System.Windows.Forms.TextBox editMake;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnEdit;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.Button btnBack;
private System.Windows.Forms.Button btnNext;
private System.Windows.Forms.ErrorProvider errCustForm;
// private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
// private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Windows.Forms.TextBox txtDisplayPosition;
private System.Windows.Forms.BindingSource tblCustomerBindingSource3;
private System.Windows.Forms.BindingSource tblCustomerBindingSource2;
private System.Windows.Forms.BindingSource tblCustomerBindingSource;
//private 客户管理项目.customerDataSet1TableAdapters.tblCustomerTableAdapter tblCustomerTableAdapter;
private System.Windows.Forms.BindingSource tblCustomerBindingSource1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlConnection sqlConnection1;
private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private customerDataSet1 customerDataSet11;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
//private System.Windows.Forms.Button Exit;
// private System.Windows.Forms.TextBox txtDisplayPosition;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -