Пример #1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            var f = new frmQTHTChiTiet(student.IDStudent, pathHistoryDataFile);

            if (f.ShowDialog() == DialogResult.OK)
            {
                updateData();
            }
        }
Пример #2
0
        private void BtnEdit_Click(object sender, EventArgs e)
        {
            var history = bdsQTHT.Current as HistoryLearning;

            if (history != null)
            {
                var f = new frmQTHTChiTiet(student.IDStudent, pathHistoryDataFile, history);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    updateData();
                }
            }
        }