Here are the examples of the csharp api class System.Windows.Forms.ComboBox.FindStringExact(string, int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
8 Examples
0
1. Example
Project: Krypton
Source File: KryptonComboBox.cs
Source File: KryptonComboBox.cs
public int FindStringExact(string str, int startIndex) { return _comboBox.FindStringExact(str, startIndex); }
0
2. Example
Project: anycmd
Source File: Condition.cs
Source File: Condition.cs
private void tvwCondition_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e) { /n ..... /n //View Source file for more details /n }
0
3. Example
Project: poderosa
Source File: SerialLoginDialog.cs
Source File: SerialLoginDialog.cs
public void ApplyParam(SerialTerminalParam param, SerialTerminalSettings settings) { _te/n ..... /n //View Source file for more details /n }
0
4. Example
Project: ContinuousTests
Source File: ProjectEditor.cs
Source File: ProjectEditor.cs
private void configComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; RuntimeFramework framework = selectedConfig.RuntimeFramework; RuntimeType runtime = RuntimeType.Any; Version version = RuntimeFramework.DefaultVersion; if (framework != null) { runtime = framework.Runtime; version = framework.ClrVersion; } int index = runtimeComboBox.FindStringExact(runtime.ToString(), 0); if ( index < 0 ) index = 0; runtimeComboBox.SelectedIndex = index; if (framework == null || framework.AllowAnyVersion) runtimeVersionComboBox.SelectedIndex = 0; else runtimeVersionComboBox.Text = version.ToString(); applicationBaseTextBox.Text = selectedConfig.RelativeBasePath; configFileTextBox.Text = selectedConfig.ConfigurationFile; switch ( selectedConfig.BinPathType ) { case BinPathType.Auto: autoBinPathRadioButton.Checked = true; break; case BinPathType.Manual: manualBinPathRadioButton.Checked = true; privateBinPathTextBox.Text = selectedConfig.PrivateBinPath; break; default: noBinPathRadioButton.Checked = true; break; } assemblyListBox_Populate(); }
0
5. Example
Project: ContinuousTests
Source File: ProjectEditor.cs
Source File: ProjectEditor.cs
private void configComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; RuntimeFramework framework = selectedConfig.RuntimeFramework; RuntimeType runtime = RuntimeType.Any; Version version = RuntimeFramework.DefaultVersion; if (framework != null) { runtime = framework.Runtime; version = framework.ClrVersion; } int index = runtimeComboBox.FindStringExact(runtime.ToString(), 0); if ( index < 0 ) index = 0; runtimeComboBox.SelectedIndex = index; if (framework == null || framework.AllowAnyVersion) runtimeVersionComboBox.SelectedIndex = 0; else runtimeVersionComboBox.Text = version.ToString(); applicationBaseTextBox.Text = selectedConfig.RelativeBasePath; configFileTextBox.Text = selectedConfig.ConfigurationFile; switch ( selectedConfig.BinPathType ) { case BinPathType.Auto: autoBinPathRadioButton.Checked = true; break; case BinPathType.Manual: manualBinPathRadioButton.Checked = true; privateBinPathTextBox.Text = selectedConfig.PrivateBinPath; break; default: noBinPathRadioButton.Checked = true; break; } assemblyListBox_Populate(); }
0
6. Example
Project: AutoTest.Net
Source File: ProjectEditor.cs
Source File: ProjectEditor.cs
private void configComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; RuntimeFramework framework = selectedConfig.RuntimeFramework; RuntimeType runtime = RuntimeType.Any; Version version = RuntimeFramework.DefaultVersion; if (framework != null) { runtime = framework.Runtime; version = framework.ClrVersion; } int index = runtimeComboBox.FindStringExact(runtime.ToString(), 0); if ( index < 0 ) index = 0; runtimeComboBox.SelectedIndex = index; if (framework == null || framework.AllowAnyVersion) runtimeVersionComboBox.SelectedIndex = 0; else runtimeVersionComboBox.Text = version.ToString(); applicationBaseTextBox.Text = selectedConfig.RelativeBasePath; configFileTextBox.Text = selectedConfig.ConfigurationFile; switch ( selectedConfig.BinPathType ) { case BinPathType.Auto: autoBinPathRadioButton.Checked = true; break; case BinPathType.Manual: manualBinPathRadioButton.Checked = true; privateBinPathTextBox.Text = selectedConfig.PrivateBinPath; break; default: noBinPathRadioButton.Checked = true; break; } assemblyListBox_Populate(); }
0
7. Example
Project: AutoTest.Net
Source File: ProjectEditor.cs
Source File: ProjectEditor.cs
private void configComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; RuntimeFramework framework = selectedConfig.RuntimeFramework; RuntimeType runtime = RuntimeType.Any; Version version = RuntimeFramework.DefaultVersion; if (framework != null) { runtime = framework.Runtime; version = framework.ClrVersion; } int index = runtimeComboBox.FindStringExact(runtime.ToString(), 0); if ( index < 0 ) index = 0; runtimeComboBox.SelectedIndex = index; if (framework == null || framework.AllowAnyVersion) runtimeVersionComboBox.SelectedIndex = 0; else runtimeVersionComboBox.Text = version.ToString(); applicationBaseTextBox.Text = selectedConfig.RelativeBasePath; configFileTextBox.Text = selectedConfig.ConfigurationFile; switch ( selectedConfig.BinPathType ) { case BinPathType.Auto: autoBinPathRadioButton.Checked = true; break; case BinPathType.Manual: manualBinPathRadioButton.Checked = true; privateBinPathTextBox.Text = selectedConfig.PrivateBinPath; break; default: noBinPathRadioButton.Checked = true; break; } assemblyListBox_Populate(); }
0
8. Example
Project: anycmd
Source File: Obligations.cs
Source File: Obligations.cs
private void lstObligations_SelectedIndexChanged(object sender, System.EventArgs e) { if( index/n ..... /n //View Source file for more details /n }