public Create_Form() { InitializeComponent(); this.Business = new LogicLayer(); this.Load += Create_Form_Load; this.btnSave.Click += btnSave_Click; this.btnCancel.Click += btnCancel_Click; }
public IndexForm() { InitializeComponent(); this.Business = new LogicLayer(); this.Load += IndexForm_Load; this.btnCreate.Click += btnCreate_Click; this.btnDelete.Click += btnDelete_Click; this.grdStudent.DoubleClick += grdStudent_DoubleClick; }
public UpdateStudent(int id) { InitializeComponent(); this.StudentId = id; this.Business = new LogicLayer(); this.Load += UpdateStudent_Load; this.btnCancel.Click += btnCancel_Click; this.btnSave.Click += btnSave_Click; }
public CreateFacultyForm() { InitializeComponent(); this.Business = new LogicLayer(); this.Load += CreateFacultyForm_Load; this.grdFaculty.CellClick += GrdFaculty_CellClick; this.btnAddFaculty.Click += BtnAddFaculty_Click; this.btnUpdateFaculty.Click += BtnUpdateFaculty_Click; this.btnDeleteFaculty.Click += BtnDeleteFaculty_Click; this.btnCancel.Click += BtnCancel_Click; }
//private Student studentview; public IndexForm() { InitializeComponent(); this.Business = new LogicLayer(); this.Load += IndexForm_Load; this.btnAdd.Click += btnCreate_Click; this.btnDelete.Click += btnDelete_Click; this.grdStudent.DoubleClick += grdStudents_DoubleClick; this.btnStatistic.Click += BtnStatistic_Click; txtSearch.Text = "Please enter code"; txtSearch.ForeColor = Color.Gray; this.txtSearch.Leave += TxtSearch_Leave; this.txtSearch.Enter += TxtSearch_Enter; this.btnSearch.Click += BtnSearch_Click; this.btnAddClass.Click += BtnAddClass_Click; this.btnAddFaculty.Click += BtnAddFaculty_Click; this.btnSortForm.Click += BtnSortForm_Click; }
public SortForm() { this.Business = new LogicLayer(); InitializeComponent(); this.Load += SortForm_Load; }
public UpdateForm(int id) { InitializeComponent(); this.Business = new LogicLayer(); this.Load += UpdateForm_Load; }