Exemple #1
0
 private void setupButton_Click(object sender, System.EventArgs e)
 {
     if (interfaceComboBox.SelectedIndex == 0)
     {
         OBDPrefsElm prefsElm = new OBDPrefsElm(mPrefs);
         prefsElm.ShowDialog();
     }
     else
     {
         OBDPrefsMultiplex prefsMultiplex = new OBDPrefsMultiplex(mPrefs);
         prefsMultiplex.ShowDialog();
     }
 }
Exemple #2
0
		private void setupButton_Click(object sender, System.EventArgs e)
		{
			if (interfaceComboBox.SelectedIndex == 0)
			{
				OBDPrefsElm prefsElm = new OBDPrefsElm(mPrefs);
				prefsElm.ShowDialog();
			}
			else
			{
				OBDPrefsMultiplex prefsMultiplex = new OBDPrefsMultiplex(mPrefs);
				prefsMultiplex.ShowDialog();
			}
		}