예제 #1
0
 private void button_huy_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Bạn có chắc chắn muốn hủy vé chuyến bay này không?", "Xác nhận lại thông tin", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         busVechuyenbay.HuyVE(label_maVe.Text);
         ThanhToanHoaDon_Load(sender, e);
         if (UIParent is Banve)
         {
             Banve frm = UIParent as Banve;
             frm.SetNew();
         }
     }
 }
예제 #2
0
        private void bánVéĐặtVéTraCứuChuyếnBayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Banve frm = new Banve(_manv);

            frm.ShowDialog();
        }