private void lbVer_DoubleClick(object sender, EventArgs e) { if (FrmVer.IsDisposed) { FrmVer = new FormVer(); } FrmVer.Show(); }
public FormMain() { //this.TopMost = true; SEQ.Init(); OM.LoadLastInfo(); InitializeComponent(); m_iActivePage = 0; FrmOperation = new FormOperation(pnBase); FrmDevice = new FormDevice(this); FrmDeviceSet = new FormDeviceSet(pnBase); FrmSPC = new FormSPC(pnBase); FrmOption = new FormOption(pnBase); FrmMaster = new FormMaster(); FrmVccOption = new FormVccOption(); FrmVer = new FormVer(); FrmVer.TopLevel = true; FrmDevice.TopLevel = false; FrmDevice.Parent = pnBase; lbDevice.Text = OM.GetCrntDev().ToString(); lbLotNo.Text = LOT.GetLotNo(); lbName.Text = Eqp.sEqpName; //파일 버전 보여주는 부분 string sFileVersion = System.Windows.Forms.Application.ProductVersion; lbVer.Text = "Ver " + sFileVersion; ShowPage(0);//Operation. //MainSol //SM.IO.SetY((int)yi.ETC_MainAirSol, true); tmUpdate.Enabled = true; }