Exemplo n.º 1
0
        private void btnBanVe2_Click(object sender, EventArgs e)
        {
            string maCB      = getMaCB(dataGridView1);
            BanVe  formBanVe = new BanVe(maCB);

            formBanVe.ShowDialog();
        }
Exemplo n.º 2
0
        private void ptbBanVe_Click(object sender, EventArgs e)
        {
            BanVe formBanVe = new BanVe(getMaCB(gridViewLichCB));

            formBanVe.ShowDialog();
            ptbBanVe.Enabled = false;
        }
Exemplo n.º 3
0
 private void bánVéToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (tabControl1.SelectedTab == tabControl1.TabPages[0])
     {
         BanVe formBanVe = new BanVe(getMaCB(gridViewLichCB));
         formBanVe.ShowDialog();
     }
     else if (tabControl1.SelectedTab == tabControl1.TabPages[1])
     {
         BanVe formBanVe = new BanVe(getMaCB(gridViewTraCuu));
         formBanVe.ShowDialog();
     }
 }
Exemplo n.º 4
0
        private void ptbBanVe2_Click(object sender, EventArgs e)
        {
            BanVe formBanVe = new BanVe(getMaCB(gridViewTraCuu));

            formBanVe.ShowDialog();
        }