예제 #1
0
 private void btn_Sua_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(tempIdRoom))
     {
         Frm_PhongModified _Frm_PhongModified = new Frm_PhongModified();
         _Frm_PhongModified.tempIdRoom  = tempIdRoom;
         _Frm_PhongModified.tempRType   = tempRType;
         _Frm_PhongModified.tempRPrice  = tempRPrice;
         _Frm_PhongModified.tempRStatus = tempRStatus;
         _Frm_PhongModified.Show(this);
         HienThiDuLieuLenDGV();
     }
     else
     {
         MessageBox.Show("Bạn chưa chọn thông tin khách hàng cần sửa!!!");
     }
 }
예제 #2
0
        private void btn_Them_Click(object sender, EventArgs e)
        {
            Frm_PhongModified _Frm_PhongModified = new Frm_PhongModified();

            _Frm_PhongModified.ShowDialog();
        }