Esempio n. 1
0
        private void consultoriosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            Consultorios c = new Consultorios();

            c.ShowDialog();
            this.ShowDialog();
        }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            //this.Size = new Size(482, 336);
            Consultorios c = new Consultorios();

            c.TopLevel = false;
            c.Dock     = DockStyle.Fill;
            content.Controls.Clear();
            content.Controls.Add(c);
            this.content.Tag = c;
            c.Show();
        }