Ejemplo n.º 1
0
        /// <summary>
        /// Shows the modal dialog.
        /// </summary>
        /// <param name="owner"></param>
        /// <returns></returns>
        public static SalNumber ModalDialog(Control owner)
        {
            dlgReceiveItem dlg = DialogFactory.CreateInstance <dlgReceiveItem>();
            SalNumber      ret = dlg.ShowDialog(owner);

            return(ret);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Shows the modal dialog.
        /// </summary>
        /// <param name="owner"></param>
        /// <returns></returns>
        public static SalNumber ModalDialog(Control owner, ref SalString sEmployeeID, ref SalString sOldpassword)
        {
            dlgLchChangePassword dlg = DialogFactory.CreateInstance <dlgLchChangePassword>();

            dlg.sEmployeeID  = sEmployeeID;
            dlg.sOldpassword = sOldpassword;
            dlg.sID.Text     = dlg.sEmployeeID;
            SalNumber ret = dlg.ShowDialog(owner);

            return(ret);
        }