Exemple #1
0
        private void btn_OEE_Click(object sender, EventArgs e)
        {
            //_frmPU_OEE.Show();
            FRM_SMT_PU_OEE fr = new FRM_SMT_PU_OEE();

            fr.Show();
            this.Hide();
        }
Exemple #2
0
        void DWMYClick(string ButtonCap, string ButtonCD)
        {
            //MessageBox.Show(ButtonCap + "    " + ButtonCD);
            switch (ButtonCD)
            {
            case "C":
                this.Close();
                break;

            case "M":
                this.Close();
                Form fc = Application.OpenForms["FRM_SMT_IP_OEE"];
                if (fc != null)
                {
                    fc.Show();
                }
                else
                {
                    FRM_SMT_PU_OEE f = new FRM_SMT_PU_OEE();
                    f.Show();
                }
                break;

            case "Y":
                this.Close();
                Form fc1 = Application.OpenForms["FRM_SMT_OS_OEE_YEAR"];
                if (fc1 != null)
                {
                    fc1.Show();
                }
                else
                {
                    FRM_SMT_IP_OEE_YEAR f1 = new FRM_SMT_IP_OEE_YEAR();
                    f1.Show();
                }
                break;
            }
        }