Пример #1
0
        private void btChiTiet_Click(object sender, EventArgs e)
        {
            /* int k = grid1.CurrentCell.RowIndex;
            MessageBox.Show(k.ToString());
            List<LichHoc> list ;
            list = BLichHoc.getAll();
            */
            int k = grid1.CurrentCell.RowIndex;
            MessageBox.Show(k.ToString());
            List<DiemThi> list;
            list = BDiemThi.getAll();

            ChiTIetForm f = new ChiTIetForm(list[k]);
            f.Show();
        }
Пример #2
0
        private void btChiTiet_Click(object sender, EventArgs e)
        {
            /* int k = grid1.CurrentCell.RowIndex;
             * MessageBox.Show(k.ToString());
             * List<LichHoc> list ;
             * list = BLichHoc.getAll();
             */
            int k = grid1.CurrentCell.RowIndex;

            MessageBox.Show(k.ToString());
            List <DiemThi> list;

            list = BDiemThi.getAll();


            ChiTIetForm f = new ChiTIetForm(list[k]);

            f.Show();
        }