System.Windows.Forms.ComboBox.FindStringExact(string, int)

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 7

1. Example

Project: Krypton
Source File: KryptonComboBox.cs
public int FindStringExact(string str, int startIndex)
        {
            return _comboBox.FindStringExact(str, startIndex);
        }

2. Example

Project: anycmd
Source File: Condition.cs
private void tvwCondition_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)
		{
	/n ..... /n //View Source file for more details /n }

3. Example

Project: poderosa
Source File: SerialLoginDialog.cs
public void ApplyParam(SerialTerminalParam param, SerialTerminalSettings settings) {
            _te/n ..... /n //View Source file for more details /n }

4. Example

Project: ContinuousTests
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();
		}

5. Example

Project: ContinuousTests
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();
		}

6. Example

Project: AutoTest.Net
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();
		}

7. Example

Project: AutoTest.Net
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();
		}

8. Example

Project: anycmd
Source File: Obligations.cs
private void lstObligations_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			if( index/n ..... /n //View Source file for more details /n }