コード例 #1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            ThaoTac = "themmoi";
            GUI_ThemGhe themGhe = new GUI_ThemGhe();

            themGhe.ShowDialog();
        }
コード例 #2
0
 private void btnSua_Click(object sender, EventArgs e)
 {
     if (_maGhe <= 0)
     {
         MessageBox.Show("Vui lòng chọn ghế cần sửa!");
     }
     else
     {
         ThaoTac = "sua";
         GUI_ThemGhe SuaGhe = new GUI_ThemGhe();
         SuaGhe.ShowDialog();
     }
 }