private void proveedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form formulario in this.MdiChildren)
            {
                if (formulario == objListarProveedor)
                {
                    formulario.Show();
                }
                else
                {
                    formulario.Hide();
                }
            }

            objListarProveedor.MdiParent = this;
            objListarProveedor.Show();
        }
Exemple #2
0
        private void pictureBox13_Click(object sender, EventArgs e)
        {
            ListarProveedor objHistoriaClinica = new ListarProveedor();

            objHistoriaClinica.MdiParent = this.MdiParent;
            this.Hide();
            objHistoriaClinica.Show();
        }