public static void ShowSelect() { UI.FrmSTable frmX = null; frmX = new FrmSelectCell(); frmX.InitFormParameters(); frmX.ShowDialog(); frmX.Dispose(); }
public static void ShowSelect() { FrmSTable table = null; table = new FrmSelectCell(); table.InitFormParameters(); table.ShowDialog(); table.Dispose(); }
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); }
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); }