예제 #1
0
        private void borrarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Application.OpenForms["GestionVehiculos"] != null)
            {

                Application.OpenForms["GestionVehiculos"].Activate();
            }
            else
            {
                GestionVehiculos F2 = new GestionVehiculos();
                F2.MdiParent = this;
                F2.setTipo("Borrar");
                F2.Show();
            }
        }
예제 #2
0
        private void TButtonVehiculos_Click(object sender, EventArgs e)
        {
            if (Application.OpenForms["GestionVehiculos"] != null)
            {

                Application.OpenForms["GestionVehiculos"].Activate();
            }
            else
            {
                GestionVehiculos F5 = new GestionVehiculos();
                F5.MdiParent = this;
                F5.Show();
                //F5.WindowState = FormWindowState.Maximized;
            }
        }
예제 #3
0
        private void buscarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Application.OpenForms["GestionVehiculos"] != null)
            {

                Application.OpenForms["GestionVehiculos"].Activate();
            }
            else
            {
                GestionVehiculos F2 = new GestionVehiculos();
                F2.MdiParent = this;
                F2.setTipo("Buscar");
                F2.Show();
                //F2.WindowState = FormWindowState.Maximized;
            }
        }