コード例 #1
0
ファイル: Create.cs プロジェクト: ttydang/StudentManagement
 public Create()
 {
     InitializeComponent();
     this.Business         = new StudentManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
コード例 #2
0
 public Update(int id)
 {
     InitializeComponent();
     this.Business         = new StudentManagement();
     this.Student_Id       = id;
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
     this.Load            += UpdateStudentForm_Load;
 }
コード例 #3
0
 public IndexStudentForm()
 {
     InitializeComponent();
     this.Business                 = new StudentManagement();
     this.Load                    += IndexStudentForm_Load;
     this.btnCreate.Click         += btnCreate_Click;
     this.btnDelete.Click         += btnDelete_Click;
     this.grdStudents.DoubleClick += grdStudents_DoubleClick;
 }