Пример #1
0
 public UpdateBookForm(int id)
 {
     InitializeComponent();
     this.BookId           = id;
     this.Business         = new LogicLayer();
     this.Load            += UpdateBookForm_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.btnAdd.Click        += btnAdd_Click;
     this.btnDelete.Click     += btnDelete_Click;
     this.grdBook.DoubleClick += grdBook_DoubleClick;
     this.btnSearch.Click     += btnSearch_Click;
     this.btnBack.Click       += btnBack_Click;
 }