示例#1
0
        private void tela1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Tela2 tl2 = new Tela2();

            tl2.MdiParent = this;
            tl2.Show();
            this.toolStripStatusLabel1.Text = "Tela1";
        }
        private void tela2ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Tela2 tl2 = new Tela2();

            tl2.MdiParent = this;
            tl2.Show();
            this.tela2ToolStripMenuItem.Text = "Tela2";
        }