Esempio n. 1
0
        private void OpenVehicleLookupForm()
        {
            var vehicleLookupForm = new VehicleLookupForm();

            vehicleLookupForm.ShowDialog();
            comboVehicleType.SelectedItem = vehicleLookupForm.SelectedVehicleIdForLookup;
        }
Esempio n. 2
0
        private void OpenVehicleLookupForm()
        {
            var vehicleLookupForm = new VehicleLookupForm();

            vehicleLookupForm.mainForm = mainForm;
            vehicleLookupForm.ShowDialog();
            txtboxVehicle.Text = vehicleLookupForm.SelectedVehicleIdForLookup.ToString();
        }