예제 #1
0
        private void buscarCliente_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.Name == "BuscarCliente")
                {
                    f.Activate();
                    return;
                }
            }

            BuscarCliente fBuscar = new BuscarCliente();
            fBuscar.MdiParent = this;
            fBuscar.WindowState = FormWindowState.Normal;
            fBuscar.Show();
        }
 private void button3_Click(object sender, EventArgs e)
 {
     BuscarCliente nForm = new BuscarCliente();
     nForm.Show();
     Close();
 }