Ejemplo n.º 1
0
        private void btExit_Click(object sender, EventArgs e)
        {
            string sText = ((Button)sender).Text;

            Log.Trace(sFormText + sText + " Button Clicked", ti.Frm);

            //OM.EqpStat.dLastIDXRPos = ML.MT_GetEncPos(mi.IDXR_XRear);
            //OM.EqpStat.dLastIDXFPos = ML.MT_GetEncPos(mi.IDXF_XFrnt);

            if (Log.ShowMessageModal("Confirm", "Do you want to exit the program ?") != DialogResult.Yes)
            {
                return;
            }
            Log.Trace("Program End", ti.Sts);

            SEQ.Close();
            FrmOperation.Close();
            FrmDevice.Close();
            FrmDeviceSet.Close();
            FrmMaster.Close();
            FrmOption.Close();


            Close();
        }
Ejemplo n.º 2
0
        private void btExit_Click(object sender, EventArgs e)
        {
            if (COracle.bMakingDMC1List)
            {
                Log.ShowMessage("OracleDB", "Please Wait for Finish Making DMC1 List!");
                return;
            }
            if (COracle.bMakingPanelList)
            {
                Log.ShowMessage("OracleDB", "Please Wait for Finish Making PanelID List!");
                return;
            }



            //if (Log.ShowMessageModal("Confirm", "프로그램을 종료하시겠습니까?") != DialogResult.Yes) return;
            if (Log.ShowMessageModal("Confirm", "Are you sure you want to exit the program?") != DialogResult.Yes)
            {
                return;
            }
            SEQ.Close();
            FrmOperation.Close();
            FrmDevice.Close();
            FrmDeviceSet.Close();
            FrmMaster.Close();
            FrmOption.Close();

            Close();
        }
Ejemplo n.º 3
0
        private void btExit_Click(object sender, EventArgs e)
        {
            SEQ.Close();
            FrmOperation.Close();
            FrmDevice.Close();
            FrmDeviceSet.Close();
            FrmMaster.Close();
            FrmOption.Close();


            Close();
        }