예제 #1
0
파일: FormMain.cs 프로젝트: zoro-008/Works
 private void lbVer_DoubleClick(object sender, EventArgs e)
 {
     if (FrmVersion.IsDisposed)
     {
         FrmVersion = new FormVersion();
     }
     FrmVersion.Owner = this;
     FrmVersion.Show();
 }
예제 #2
0
파일: FormMain.cs 프로젝트: zoro-008/Works
        public FormMain()
        {
            //this.TopMost = true;
            InitializeComponent();

            SEQ.Init(pnBase.Width, pnBase.Height);
            OM.LoadLastInfo();

            //UsbNotification.RegisterUsbDeviceNotification(this.Handle);
            m_iActivePage = 0;

            FrmOperation       = new FormOperation(pnBase);
            FrmDevice          = new FormDevice(this, pnBase);
            FrmDeviceSet       = new FormDeviceSet(pnBase);
            FrmSPC             = new FormSPC(pnBase);
            FrmOption          = new FormOption(pnBase);
            FrmMaster          = new FormMaster(      );
            FrmVersion         = new FormVersion(      );
            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 = "Version " + sFileVersion;

            ShowPage(0);//Operation.

            this.Size = new Size(1280, 1024);

            //MainSol
            //ML.IO.SetY((int)yi.ETC_MainAirSol, true);

            tmUpdate.Enabled = true;
        }