Esempio n. 1
0
 //Nội dung hiển thị khi click nút "Thêm mới"
 private void BbiNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (Form_M0004_Detail formDetail = new Form_M0004_Detail(AddNew, _systemDAL))
     {
         formDetail.ShowDialog();
         formDetail.StartPosition = FormStartPosition.CenterParent;
         Setting_Init_Form();
     }
 }
Esempio n. 2
0
 //Nội dung hiển thị khi click nút "Chỉnh sửa"
 private void BbiEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (Form_M0004_Detail formDetail = new Form_M0004_Detail(gridView.GetFocusedDataRow(), _systemDAL))
     {
         formDetail.ShowDialog();
         formDetail.StartPosition = FormStartPosition.CenterParent;
         Setting_Init_Form();
     }
 }
Esempio n. 3
0
 //Nội dung hiển thị khi double click trên lưới
 private void GridControl_DoubleClick(object sender, EventArgs e)
 {
     using (Form_M0004_Detail formDetail = new Form_M0004_Detail(gridView.GetFocusedDataRow(), _systemDAL))
     {
         formDetail.ShowDialog();
         formDetail.StartPosition = FormStartPosition.CenterParent;
         Setting_Init_Form();
     }
 }