コード例 #1
0
ファイル: Form_M01_Request.cs プロジェクト: hungdq1991/MMTB
 //IT xác nhận chứng từ
 private void BbiIT_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (Form_M01_Request_Detail formDetail = new Form_M01_Request_Detail(_systemDAL))
     {
         formDetail.StartPosition = FormStartPosition.CenterParent;
         formDetail.ShowDialog();
     }
 }
コード例 #2
0
ファイル: Form_M01_Request.cs プロジェクト: hungdq1991/MMTB
 //Xem chứng từ yêu cầu
 private void gridControl_DoubleClick(object sender, EventArgs e)
 {
     //String param_DocNo = advBandedGridView1.GetFocusedDataRow()["DocNo_Confirm"].ToString();
     using (Form_M01_Request_Detail formDetail = new Form_M01_Request_Detail(advBandedGridView1.GetFocusedDataRow()["DocNo"].ToString(), _systemDAL))
     {
         formDetail.StartPosition = FormStartPosition.CenterScreen;
         formDetail.ShowDialog();
     }
 }