예제 #1
0
 public Create_Form()
 {
     InitializeComponent();
     this.Business         = new LogicLayer();
     this.Load            += Create_Form_Load;
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
예제 #2
0
 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;
 }
예제 #3
0
 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;
 }
예제 #5
0
 //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;
 }
예제 #6
0
 public SortForm()
 {
     this.Business = new LogicLayer();
     InitializeComponent();
     this.Load += SortForm_Load;
 }
예제 #7
0
 public UpdateForm(int id)
 {
     InitializeComponent();
     this.Business = new LogicLayer();
     this.Load    += UpdateForm_Load;
 }