コード例 #1
0
 //Tạo chứng từ nghiệm thu
 private void bbiNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (Form_M0005_Detail_NT formDetail = new Form_M0005_Detail_NT(_systemDAL))
     {
         formDetail.StartPosition = FormStartPosition.CenterParent;
         formDetail.ShowDialog();
     }
 }
コード例 #2
0
 //Xem chứng từ nghiệm thu MMTB
 private void gridControl_DoubleClick(object sender, EventArgs e)
 {
     //String param_DocNo = advBandedGridView1.GetFocusedDataRow()["DocNo_Confirm"].ToString();
     using (Form_M0005_Detail_NT formDetail = new Form_M0005_Detail_NT(advBandedGridView1.GetFocusedDataRow()["DocNo"].ToString(), _systemDAL))
     {
         formDetail.StartPosition = FormStartPosition.CenterScreen;
         formDetail.ShowDialog();
     }
 }