コード例 #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
ファイル: UpdateStudent.cs プロジェクト: vuong1234/VUO12
 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;
 }
コード例 #4
0
 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;
 }