//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(); } }
//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(); } }