コード例 #1
0
        private void btnBackPkg_Click(object sender, EventArgs e)
        {
            this.Close();
            frmPackage form1 = new frmPackage();

            form1.Activate();
            form1.Show();
        }
コード例 #2
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //this.Enabled = false;
            //this.IsMdiContainer = true;
            frmPackage form1 = new frmPackage();

            form1.MdiParent = this;
            //Form2.Enabled = true;
            //Form2.BringToFront();
            //menuMain.Enabled = false;
            form1.Show();
            form1.Activate();
        }