private void vehiculoToolStripMenuItem_Click(object sender, EventArgs e) { frmDM_Vehiculo o = new frmDM_Vehiculo(null); o.MdiParent = this; o.Show(); }
private void btnGoVehiculo_Click(object sender, EventArgs e) { eVEHICULO o = new eVEHICULO(); o.VEH_placa = this.cmbVehiculo.SelectedValue != null?this.cmbVehiculo.SelectedValue.ToString() : ""; frmDM_Vehiculo o2 = new frmDM_Vehiculo(o); o2.MdiParent = this.MdiParent; o2.Show(); }