📄 probuy.cs
字号:
this.textProviderID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProviderID.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProviderID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProBuy, "ProBuy.ProviderID"));
this.textProviderID.Location = new System.Drawing.Point(72, 120);
this.textProviderID.Name = "textProviderID";
this.textProviderID.Size = new System.Drawing.Size(120, 23);
this.textProviderID.TabIndex = 10;
this.textProviderID.Text = "";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.textRemark);
this.groupBox2.Location = new System.Drawing.Point(248, 136);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(184, 72);
this.groupBox2.TabIndex = 9;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "信息备注";
//
// textRemark
//
this.textRemark.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textRemark.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProBuy, "ProBuy.ProBuyReamark"));
this.textRemark.Location = new System.Drawing.Point(16, 16);
this.textRemark.Multiline = true;
this.textRemark.Name = "textRemark";
this.textRemark.Size = new System.Drawing.Size(152, 48);
this.textRemark.TabIndex = 0;
this.textRemark.Text = "";
//
// label5
//
this.label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label5.Location = new System.Drawing.Point(240, 56);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 23);
this.label5.TabIndex = 4;
this.label5.Text = "进货单价";
//
// label4
//
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label4.Location = new System.Drawing.Point(240, 24);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 23);
this.label4.TabIndex = 3;
this.label4.Text = "进货数量";
//
// label3
//
this.label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label3.Location = new System.Drawing.Point(240, 120);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(48, 23);
this.label3.TabIndex = 2;
this.label3.Text = "经手人";
//
// label2
//
this.label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label2.Location = new System.Drawing.Point(8, 192);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 23);
this.label2.TabIndex = 1;
this.label2.Text = "商品单位";
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label1.Location = new System.Drawing.Point(8, 128);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 23);
this.label1.TabIndex = 0;
this.label1.Text = "供应商编号";
//
// label6
//
this.label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label6.Location = new System.Drawing.Point(240, 88);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 16);
this.label6.TabIndex = 5;
this.label6.Text = "进货日期";
//
// btnExit
//
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnExit.Location = new System.Drawing.Point(416, 224);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(64, 24);
this.btnExit.TabIndex = 43;
this.btnExit.Text = "退出";
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnCancel
//
this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnCancel.Location = new System.Drawing.Point(240, 224);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(64, 24);
this.btnCancel.TabIndex = 44;
this.btnCancel.Text = "取消";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
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", "ProBuy", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("ProBuyID", "ProBuyID"),
new System.Data.Common.DataColumnMapping("ProductID", "ProductID"),
new System.Data.Common.DataColumnMapping("ProductName", "ProductName"),
new System.Data.Common.DataColumnMapping("ProviderID", "ProviderID"),
new System.Data.Common.DataColumnMapping("ProviderName", "ProviderName"),
new System.Data.Common.DataColumnMapping("ProBuyUnit", "ProBuyUnit"),
new System.Data.Common.DataColumnMapping("ProBuyNumber", "ProBuyNumber"),
new System.Data.Common.DataColumnMapping("ProBuyPrice", "ProBuyPrice"),
new System.Data.Common.DataColumnMapping("ProBuyDate", "ProBuyDate"),
new System.Data.Common.DataColumnMapping("ProBuyPeople", "ProBuyPeople"),
new System.Data.Common.DataColumnMapping("ProBuyReamark", "ProBuyReamark")})});
this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
//
// sqlDeleteCommand1
//
this.sqlDeleteCommand1.CommandText = @"DELETE FROM ProBuy WHERE (ProBuyID = @Original_ProBuyID) AND (ProBuyDate = @Original_ProBuyDate OR @Original_ProBuyDate IS NULL AND ProBuyDate IS NULL) AND (ProBuyNumber = @Original_ProBuyNumber OR @Original_ProBuyNumber IS NULL AND ProBuyNumber IS NULL) AND (ProBuyPeople = @Original_ProBuyPeople OR @Original_ProBuyPeople IS NULL AND ProBuyPeople IS NULL) AND (ProBuyPrice = @Original_ProBuyPrice OR @Original_ProBuyPrice IS NULL AND ProBuyPrice IS NULL) AND (ProBuyReamark = @Original_ProBuyReamark OR @Original_ProBuyReamark IS NULL AND ProBuyReamark IS NULL) AND (ProBuyUnit = @Original_ProBuyUnit OR @Original_ProBuyUnit IS NULL AND ProBuyUnit IS NULL) AND (ProductID = @Original_ProductID OR @Original_ProductID IS NULL AND ProductID IS NULL) AND (ProductName = @Original_ProductName OR @Original_ProductName IS NULL AND ProductName IS NULL) AND (ProviderID = @Original_ProviderID OR @Original_ProviderID IS NULL AND ProviderID IS NULL) AND (ProviderName = @Original_ProviderName OR @Original_ProviderName IS NULL AND ProviderName IS NULL)";
this.sqlDeleteCommand1.Connection = this.sqlConnection1;
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyID", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyDate", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyNumber", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyNumber", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyPeople", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyPeople", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyPrice", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyPrice", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyReamark", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyReamark", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyUnit", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyUnit", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProviderID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProviderID", System.Data.DataRowVersion.Original, null));
this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProviderName", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProviderName", System.Data.DataRowVersion.Original, null));
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "packet size=4096;integrated security=SSPI;data source=localhost;persist security " +
"info=False;initial catalog=Sell";
//
// sqlInsertCommand1
//
this.sqlInsertCommand1.CommandText = @"INSERT INTO ProBuy(ProBuyID, ProductID, ProductName, ProviderID, ProviderName, ProBuyUnit, ProBuyNumber, ProBuyPrice, ProBuyDate, ProBuyPeople, ProBuyReamark) VALUES (@ProBuyID, @ProductID, @ProductName, @ProviderID, @ProviderName, @ProBuyUnit, @ProBuyNumber, @ProBuyPrice, @ProBuyDate, @ProBuyPeople, @ProBuyReamark); SELECT ProBuyID, ProductID, ProductName, ProviderID, ProviderName, ProBuyUnit, ProBuyNumber, ProBuyPrice, ProBuyDate, ProBuyPeople, ProBuyReamark FROM ProBuy WHERE (ProBuyID = @ProBuyID)";
this.sqlInsertCommand1.Connection = this.sqlConnection1;
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyID", System.Data.SqlDbType.VarChar, 5, "ProBuyID"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.VarChar, 5, "ProductID"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.VarChar, 20, "ProductName"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProviderID", System.Data.SqlDbType.VarChar, 5, "ProviderID"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProviderName", System.Data.SqlDbType.VarChar, 50, "ProviderName"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyUnit", System.Data.SqlDbType.VarChar, 5, "ProBuyUnit"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyNumber", System.Data.SqlDbType.Int, 4, "ProBuyNumber"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyPrice", System.Data.SqlDbType.Float, 8, "ProBuyPrice"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyDate", System.Data.SqlDbType.DateTime, 8, "ProBuyDate"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyPeople", System.Data.SqlDbType.VarChar, 20, "ProBuyPeople"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyReamark", System.Data.SqlDbType.VarChar, 50, "ProBuyReamark"));
//
// sqlSelectCommand1
//
this.sqlSelectCommand1.CommandText = "SELECT ProBuyID, ProductID, ProductName, ProviderID, ProviderName, ProBuyUnit, Pr" +
"oBuyNumber, ProBuyPrice, ProBuyDate, ProBuyPeople, ProBuyReamark FROM ProBuy";
this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// sqlUpdateCommand1
//
this.sqlUpdateCommand1.CommandText = "UPDATE ProBuy SET ProBuyID = @ProBuyID, ProductID = @ProductID, ProductName = @Pr" +
"oductName, ProviderID = @ProviderID, ProviderName = @ProviderName, ProBuyUnit = " +
"@ProBuyUnit, ProBuyNumber = @ProBuyNumber, ProBuyPrice = @ProBuyPrice, ProBuyDat" +
"e = @ProBuyDate, ProBuyPeople = @ProBuyPeople, ProBuyReamark = @ProBuyReamark WH" +
"ERE (ProBuyID = @Original_ProBuyID) AND (ProBuyDate = @Original_ProBuyDate OR @O" +
"riginal_ProBuyDate IS NULL AND ProBuyDate IS NULL) AND (ProBuyNumber = @Original" +
"_ProBuyNumber OR @Original_ProBuyNumber IS NULL AND ProBuyNumber IS NULL) AND (P" +
"roBuyPeople = @Original_ProBuyPeople OR @Original_ProBuyPeople IS NULL AND ProBu" +
"yPeople IS NULL) AND (ProBuyPrice = @Original_ProBuyPrice OR @Original_ProBuyPri" +
"ce IS NULL AND ProBuyPrice IS NULL) AND (ProBuyReamark = @Original_ProBuyReamark" +
" OR @Original_ProBuyReamark IS NULL AND ProBuyReamark IS NULL) AND (ProBuyUnit =" +
" @Original_ProBuyUnit OR @Original_ProBuyUnit IS NULL AND ProBuyUnit IS NULL) AN" +
"D (ProductID = @Original_ProductID OR @Original_ProductID IS NULL AND ProductID " +
"IS NULL) AND (ProductName = @Original_ProductName OR @Original_ProductName IS NU" +
"LL AND ProductName IS NULL) AND (ProviderID = @Original_ProviderID OR @Original_" +
"ProviderID IS NULL AND ProviderID IS NULL) AND (ProviderName = @Original_Provide" +
"rName OR @Original_ProviderName IS NULL AND ProviderName IS NULL); SELECT ProBuy" +
"ID, ProductID, ProductName, ProviderID, ProviderName, ProBuyUnit, ProBuyNumber, " +
"ProBuyPrice, ProBuyDate, ProBuyPeople, ProBuyReamark FROM ProBuy WHERE (ProBuyID" +
" = @ProBuyID)";
this.sqlUpdateCommand1.Connection = this.sqlConnection1;
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyID", System.Data.SqlDbType.VarChar, 5, "ProBuyID"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.VarChar, 5, "ProductID"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.VarChar, 20, "ProductName"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProviderID", System.Data.SqlDbType.VarChar, 5, "ProviderID"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProviderName", System.Data.SqlDbType.VarChar, 50, "ProviderName"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyUnit", System.Data.SqlDbType.VarChar, 5, "ProBuyUnit"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyNumber", System.Data.SqlDbType.Int, 4, "ProBuyNumber"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyPrice", System.Data.SqlDbType.Float, 8, "ProBuyPrice"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyDate", System.Data.SqlDbType.DateTime, 8, "ProBuyDate"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyPeople", System.Data.SqlDbType.VarChar, 20, "ProBuyPeople"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ProBuyReamark", System.Data.SqlDbType.VarChar, 50, "ProBuyReamark"));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyID", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyDate", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyNumber", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyNumber", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyPeople", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyPeople", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyPrice", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyPrice", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyReamark", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyReamark", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProBuyUnit", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProBuyUnit", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProviderID", System.Data.SqlDbType.VarChar, 5, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProviderID", System.Data.DataRowVersion.Original, null));
this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ProviderName", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ProviderName", System.Data.DataRowVersion.Original, null));
//
// ProBuy
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(504, 397);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnModify);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.dataGrid1);
this.Controls.Add(this.btnApply);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.btnCancel);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ProBuy";
this.Text = "商品进货";
this.Load += new System.EventHandler(this.ProBuy_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.objDataSetProBuy)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
public void ErrorHandle(System.Exception E)
{
MessageBox.Show(E.ToString());
}
private void TextEnableControl(bool valid)
{
if(valid)
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -