public static int intFalg = 0; //控件方法状态 public HY_Bomlist() { InitializeComponent(); hybombll = new HY_BomlistBLL(); hybomdel = new HY_BomDetailsBLL(); valid = new HYWJ.HY_System.OperateAndValidate(); }
private LL.Main.HY_System.OperateAndValidate valid; //实例化数据验证类 #endregion Fields #region Constructors public HY_Bomlist() { InitializeComponent(); hybombll = new HY_BomlistBLL(); hybomdel = new HY_BomDetailsBLL(); valid = new LL.Main.HY_System.OperateAndValidate(); }
public HY_BomSo() { InitializeComponent(); hybombll = new HY_BomlistBLL(); }
public HY_BOMListInventory() { InitializeComponent(); hybombll = new HY_BomlistBLL(); }
private void d_SKID_TextChanged(object sender, EventArgs e) { if (this.d_SKID.Text != string.Empty) { string skid = this.d_SKID.Text; HY_BLL.HY_BomlistBLL hybombll = new HY_BomlistBLL(); SqlDataReader sdr = hybombll.f_BomlistSelect(skid); while (sdr.Read()) { this.d_CID.Text = sdr["b_CID"].ToString(); this.d_CustomerID.Text = sdr["b_CustomerID"].ToString(); this.d_SPerson.Text = sdr["b_SPerson"].ToString(); this.d_SDate.Text = sdr["b_SDate"].ToString(); this.label1.Text = sdr["b_ModClass"].ToString(); } } }
//自定义绑定数据 private void requistionDate() { this.dataGridViewBOM.AutoGenerateColumns = false;// 关闭自动创建列 HY_BLL.HY_BomlistBLL hybombll = new HY_BomlistBLL(); string sql = "select * from HY_BomInfo order by b_ID desc"; this.dataGridViewBOM.DataSource = hybombll.ExecuteQuery(sql); }
private string mainvalue; //传给子窗体的值 #endregion Fields #region Constructors public HY_BOMListInventory() { InitializeComponent(); hybombll = new HY_BomlistBLL(); }