예제 #1
0
 private void Button_bh_quaylai_Click(object sender, EventArgs e)
 {
     if (exit == false)
     {
         DialogResult thongbao;
         thongbao = (MessageBox.Show("Bạn chưa thanh toán hóa đơn ! \n Bạn có muốn lưu ?", "Chú ý", MessageBoxButtons.YesNo, MessageBoxIcon.Warning));
         if (thongbao == DialogResult.Yes)
         {
             MessageBox.Show("Vui lòng nhấn nút thanh toán !");
         }
         else
         {
             this.Hide();
             HeThong ht = new HeThong();
             ht.ShowDialog();
         }
     }
     else
     {
         this.Hide();
         HeThong ht = new HeThong();
         ht.ShowDialog();
     }
 }