private DialogResult WfOpenAdmi611s(YREditType pEditType, vw_admi611s pAdmi611s, out DataRow pdrAdmi611s) { try { pdrAdmi611s = null; FrmAdmi611s frm = new FrmAdmi611s(pEditType, pAdmi611s); frm.LoginInfo = this.LoginInfo; frm.ShowDialog(this); DialogResult = frm.DialogResult; if (DialogResult == DialogResult.Yes) { pdrAdmi611s = frm.TabMaster.DtSource.Rows[0]; } return(DialogResult); } catch (Exception ex) { throw ex; } }
public FrmAdmi611s(YREditType pYREditType, vw_admi611s pVwAdmi611s) { InitializeComponent(); this._srcFormState = pYREditType; this._srcVwAdmi611s = pVwAdmi611s; }