示例#1
0
        private void displayChartToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmGraphs FrmGraphsMDIChild = new FrmGraphs();

            // Set the Parent Form of the Child window.
            FrmGraphsMDIChild.MdiParent = this;
            // Display the new form.
            FrmGraphsMDIChild.Show();
            FrmGraphsMDIChild.BringToFront();
        }
示例#2
0
        private void DashBoardMenu_Load(object sender, EventArgs e)
        {
            FrmGraphs FrmGraphsMDIChild = new FrmGraphs();

            // Set the Parent Form of the Child window.
            FrmGraphsMDIChild.MdiParent = this;
            // Display the new form.
            FrmGraphsMDIChild.Show();
            FrmGraphsMDIChild.BringToFront();
            toolStrip1.Visible = false;
        }