private void qrupRedakteEtToolStripMenuItem_Click(object sender, EventArgs e) { StudentsForm studentsForm = new StudentsForm(); studentsForm.Show(); this.Hide(); }
private void Button4_Click(object sender, System.EventArgs e) { var studentsForm = new StudentsForm(); studentsForm.ShowDialog(); studentsForm.Dispose(); }
public StudentsController(StorageContext context, StudentsForm form) { _context = context; _form = form; _form.RefreshData += RefreshDataHandler; _form.ChangeData += ChangeItemHandler; _form.AddItem += AddItemHandler; }
private void OpenStudentsHandler() { var studForm = new StudentsForm(); var studController = new StudentsController(_context, studForm); _form.Hide(); studForm.ShowDialog(); _form.Show(); }
public StudentsController(StudentsForm view, StorageContext context) { _view = view; _view.Load += LoadHandler; _view.RefreshData += RefreshDataHandler; _view.AddData += AddDataHandler; _view.ChangeData += ChangeDataHandler; _view.DeleteData += DeleteDataHandler; _context = context; }
public void ShowStudentsWindowHandler() { StudentsForm studentsForm = new StudentsForm(); _ = new StudentsController(studentsForm, _context); _view.Hide(); studentsForm.ShowDialog(); _view.Show(); }
public static void ShowFormHocSinh() { if (m_StudentsForm == null || m_StudentsForm.IsDisposed) { m_StudentsForm = new StudentsForm(); m_StudentsForm.MdiParent = MainForm.ActiveForm; m_StudentsForm.Show(); } else { m_StudentsForm.Activate(); } }
private void btnStudentManage_Click(object sender, EventArgs e) { StudentsForm frm = new StudentsForm(); frm.ShowDialog(); }
private void ftsMenuItemShowStudents_Click(object sender, EventArgs e) { StudentsForm.Show(); }