Example #1
0
        private void thêmKỳThiToolStripMenuItem_Click_2(object sender, EventArgs e)
        {
            if (!Auth.HavePermissions(new string[] { Permission.AddExam }))
            {
                MessageBox.Show("Tài khoản không có quền truy cập", "Cảnh báo", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            AddExamForm addExamForm = new AddExamForm();

            addExamForm.ShowDialog();
        }
Example #2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddExamForm addExamForm = new AddExamForm();

            addExamForm.ShowDialog();
        }