示例#1
0
 public static void ShowSelect()
 {
     UI.FrmSTable frmX = null;
     frmX = new FrmSelectCell();
     frmX.InitFormParameters();
     frmX.ShowDialog();
     frmX.Dispose();
 }
示例#2
0
        public static void ShowSelect()
        {
            FrmSTable table = null;

            table = new FrmSelectCell();
            table.InitFormParameters();
            table.ShowDialog();
            table.Dispose();
        }
示例#3
0
        public static string GetCell(WMSAppInfo objApp, WMSUserInfo objUser, int nState)
        {
            string        sResult = "";
            FrmSelectCell frmX    = new FrmSelectCell();

            frmX.AppInformation  = objApp;
            frmX.UserInformation = objUser;
            if (nState < frmX.cmb_nState.Items.Count)
            {
                frmX.cmb_nState.SelectedIndex = nState;
            }
            frmX.ShowDialog();
            if (frmX.BIsResult)
            {
                sResult = frmX.SelResult;
            }
            else
            {
                sResult = "";
            }
            frmX.Dispose();
            return(sResult);
        }
示例#4
0
        public static string GetCell(WMSAppInfo objApp, WMSUserInfo objUser, int nState)
        {
            string        selResult = "";
            FrmSelectCell cell      = new FrmSelectCell {
                AppInformation  = objApp,
                UserInformation = objUser
            };

            if (nState < cell.cmb_nState.Items.Count)
            {
                cell.cmb_nState.SelectedIndex = nState;
            }
            cell.ShowDialog();
            if (cell.BIsResult)
            {
                selResult = cell.SelResult;
            }
            else
            {
                selResult = "";
            }
            cell.Dispose();
            return(selResult);
        }