Beispiel #1
0
 private void btn_Them_HSX_Click(object sender, EventArgs e)
 {
     Dialog.DAL_HangSX dAL_HangSX = new Dialog.DAL_HangSX();
     dAL_HangSX.ShowDialog();
     try
     {
         dgv_HangSX.DataSource = Entities_Data.HangSanXuat_Data.Get_HangSanXuatList();
     }
     catch (Exception) { }
 }
Beispiel #2
0
        private void Sua_HSX()
        {
            if (Get_IdNCC() != null)
            {
                Dialog.DAL_HangSX hangSX = new Dialog.DAL_HangSX(int.Parse(Get_IdHSX()));
                hangSX.ShowDialog();

                try
                {
                    dgv_HangSX.DataSource = Entities_Data.HangSanXuat_Data.Get_HangSanXuatList();
                }
                catch (Exception) { }
            }
        }