Esempio n. 1
0
        private void mnuTestSchedule_Click(object sender, EventArgs e)
        {
            FScd_AddEdit s = new FScd_AddEdit();

            tsMain.Visible     = false;
            s.MdiParent        = this;
            s.OnScheduleClose += new EventHandler(s_OnScheduleClose);
            s.Show();
            s.WindowState = FormWindowState.Maximized;
        }
Esempio n. 2
0
        private void updateMPPlanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FScd_AddEdit s;

            if (CheckIfScheduleOpen() == false)
            {
                s = new FScd_AddEdit();
                tsMain.Visible     = false;
                s.MdiParent        = this;
                s.OnScheduleClose += new EventHandler(s_OnScheduleClose);
                s.Show();
                s.WindowState = FormWindowState.Maximized;
            }
        }