예제 #1
0
        private void btnBanVe2_Click(object sender, EventArgs e)
        {
            string maCB      = getMaCB(dataGridView1);
            BanVe  formBanVe = new BanVe(maCB);

            formBanVe.ShowDialog();
        }
예제 #2
0
        private void ptbBanVe_Click(object sender, EventArgs e)
        {
            BanVe formBanVe = new BanVe(getMaCB(gridViewLichCB));

            formBanVe.ShowDialog();
            ptbBanVe.Enabled = false;
        }
예제 #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();
     }
 }
예제 #4
0
        private void ptbBanVe2_Click(object sender, EventArgs e)
        {
            BanVe formBanVe = new BanVe(getMaCB(gridViewTraCuu));

            formBanVe.ShowDialog();
        }