Ejemplo n.º 1
0
 public ttViecPhu(string _id_rowindex, qlViecPhu _ql)
 {
     InitializeComponent();
     SetDefault();
     ql = _ql;
     if (!string.IsNullOrEmpty(_id_rowindex))
     {
         idViecPhu = _id_rowindex.Split('_').GetValue(0).ToString();
         rowindex = _id_rowindex.Split('_').GetValue(1).ToString();
         btThem.Text = "Cập nhật";
         DataTable dt = DA.Load_ViecPhu(new string[] { idViecPhu });
         txtTenViec.Text = dt.Rows[0][1].ToString();
     }
 }
Ejemplo n.º 2
0
 private void btViecPhu_Click(object sender, EventArgs e)
 {
     ActiveForm.Hide();
     var ql = new qlViecPhu();
     ql.Show();
 }