public IndexForm()
 {
     InitializeComponent();
     this.Management              = new LogicLayer();
     this.BtnCreate.Click        += BtnCreate_Click;
     this.BtnDelete.Click        += BtnDelete_Click;
     this.Load                   += IndexForm_Load;
     this.grdStudent.DoubleClick += grdStudent_DoubleClick;
 }
Exemple #2
0
 public UpdateForm(int id)
 {
     InitializeComponent();
     this.Management       = new LogicLayer();
     this.stu_id           = id;
     this.btnCancel.Click += btnCancel_Click;
     this.btnSave.Click   += btnSave_Click;
     this.Load            += UpdateForm_Load;
 }