private void ShowStockAsOnDateDetail(string whid, string productno, DateTime?asOnDate) { try { using (frmQupStockAsOnDate fDetail = new frmQupStockAsOnDate { WH_ID = whid, PRODUCT_NO = productno, AS_ON_DATE = asOnDate }) { fDetail.ShowDialog(this); } } catch (Exception ex) { XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } }
private void ShowStockAsOnDateDetail(string whid, string productno, DateTime?asOnDate) { try { using (frmQupStockAsOnDate fDetail = new frmQupStockAsOnDate()) { fDetail.WH_ID = whid; fDetail.PRODUCT_NO = productno; fDetail.AS_ON_DATE = asOnDate; fDetail.ShowDialog(this); //UiUtility.ShowPopupForm(fDetail, this, true); } } catch (Exception ex) { XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } }