/// <summary> /// Open new vehicle information form /// </summary> private void vehicleInformationToolStripMenuItem_Click(object sender, EventArgs e) { Form form = new VehicleInformationForm(_bindingSource); form.ShowDialog(); }
/// <summary> /// Method called when the vehicle info selection on the main menu is clicked. Creates an instance of a /// vehicle information form. /// </summary> private void MnuVehicleSalesQuoteVehicleInfo_Click(object sender, EventArgs e) { VehicleInformationForm vehicleInfoForm = new VehicleInformationForm(bindVehicleSelector); vehicleInfoForm.ShowDialog(); }
private void mnuVehicleInformation_Click(object sender, EventArgs e) { VehicleInformationForm vehicleInformationForm = new VehicleInformationForm(bindingSourceVehicles); vehicleInformationForm.ShowDialog(); }