Esempio n. 1
0
        private void button_trandau_Click(object sender, System.EventArgs e)
        {
            FrmChonKetQua chonKetQua = new FrmChonKetQua();

            chonKetQua.ShowDialog();
            if (FrmChonKetQua.ok)
            {
                txt_doi1.Text         = FrmChonKetQua.tendoi1;
                txt_doi2.Text         = FrmChonKetQua.tendoi2;
                txt_banthangdoi1.Text = FrmChonKetQua.sobanthangdoi1;
                txt_banthangdoi2.Text = FrmChonKetQua.sobanthangdoi2;
                thoiluong             = FrmChonKetQua.thoiluong;
                matrandau             = FrmChonKetQua.matrandau;
                string[] madoitemp = LayMaDoi(matrandau);
                madoi1 = madoitemp[0];
                madoi2 = madoitemp[1];
                LoadDataGV();
                Status("chon");
                FilltextCauThu(FrmChonKetQua.mamua, madoi1, madoi2);
                FilltextLoaiBanThang();
            }
        }
 private void button_trandau_Click(object sender, System.EventArgs e)
 {
     FrmChonKetQua chonKetQua = new FrmChonKetQua();
     chonKetQua.ShowDialog();
     if (FrmChonKetQua.ok)
     {
         txt_doi1.Text = FrmChonKetQua.tendoi1;
         txt_doi2.Text = FrmChonKetQua.tendoi2;
         txt_banthangdoi1.Text = FrmChonKetQua.sobanthangdoi1;
         txt_banthangdoi2.Text = FrmChonKetQua.sobanthangdoi2;
         thoiluong = FrmChonKetQua.thoiluong;
         matrandau = FrmChonKetQua.matrandau;
         string[] madoitemp = LayMaDoi(matrandau);
         madoi1 = madoitemp[0];
         madoi2 = madoitemp[1];
         LoadDataGV();
         Status("chon");
         FilltextCauThu(FrmChonKetQua.mamua, madoi1, madoi2);
         FilltextLoaiBanThang();
     }
 }