Пример #1
0
 public FormChucVu()
 {
     InitializeComponent();
     cv = new ClassChucVu();
     FormChucVu_Load();
     txtmachucvu.Enabled = false;
 }
Пример #2
0
 private void butxoa_Click(object sender, EventArgs e)
 {
     if (ClassChucVu.KiemTraXoaCV(txtmachucvu.Text) == true)
     {
         cv.XoaCV(txtmachucvu.Text);
         FormChucVu_Load();
         ResetForm();
     }
 }
Пример #3
0
 private void butsua_Click(object sender, EventArgs e)
 {
     if (ClassChucVu.KiemTraThemVaSuaCV(txttenchucvu.Text) == true)
     {
         cv.SuaCV(txtmachucvu.Text, txttenchucvu.Text);
         FormChucVu_Load();
         ResetForm();
     }
 }