Ejemplo n.º 1
0
 public static int intFalg = 0;                   //控件方法状态
 public HY_Bomlist()
 {
     InitializeComponent();
     hybombll = new HY_BomlistBLL();
     hybomdel = new HY_BomDetailsBLL();
     valid    = new HYWJ.HY_System.OperateAndValidate();
 }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 public HY_BomSo()
 {
     InitializeComponent();
     hybombll = new HY_BomlistBLL();
 }
 public HY_BOMListInventory()
 {
     InitializeComponent();
     hybombll = new HY_BomlistBLL();
 }
Ejemplo n.º 5
0
 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();
         }
     }
 }
Ejemplo n.º 6
0
 public HY_BomSo()
 {
     InitializeComponent();
     hybombll = new HY_BomlistBLL();
 }
Ejemplo n.º 7
0
 //自定义绑定数据
 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);
 }
Ejemplo n.º 8
0
        private string mainvalue; //传给子窗体的值

        #endregion Fields

        #region Constructors

        public HY_BOMListInventory()
        {
            InitializeComponent();
            hybombll = new HY_BomlistBLL();
        }