Home

SpeakComputers.com | Text-to-Speech Software

Natural sounding TTS voice support | Cepstral TTS voices | Text to MP3 | Natural Readers

Text to Speech Software Text to Speech Voices SpeakComputer Text to Speech Software

ComboBoxEX, DevComponents.

The ComboBoxX control is a replacement for the windows forms comboBox.

Namespace: DevComponents.DotNetBar.Controls
Assembly: DevComponents.DotNetBar2.dll
Using: DevComponents.DotNetBar.Controls;
Declaring: DevComponents.DotNetBar.Controls.ComboBoxEx();

Creating the ComBoxBoxX control.

DevComponents.DotNetBar.Controls.ComboBoxEx comboboxX = new DevComponents.DotNetBar.Controls.ComboBoxEx();
comboboxX.Location = new Point(100, 100);
comboboxX.Size = new Size(200, 2);
comboboxX.DrawMode = DrawMode.OwnerDrawFixed;
comboboxX.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.Controls.Add(comboboxX);

Creating ComboBoxX items and adding them to the ComboBoxX.

DevComponents.Editors.ComboItem cBox1 = new DevComponents.Editors.ComboItem();
cBox1.Text = "Item 1";
comboboxX.Items.Add(cBox1);

Creating the SelectedIndexChanged event.

comboboxX.SelectedIndexChanged += new EventHandler(comboboxX_SelectedIndexChanged);

Responding to the SelectedIndexChanged event.

void comboboxX_SelectedIndexChanged(object sender, EventArgs e)
{
DevComponents.DotNetBar.Controls.ComboBoxEx cbox = (DevComponents.DotNetBar.Controls.ComboBoxEx)sender;
MessageBox.Show(cbox.SelectedItem.ToString());
}

Screenshots - ComBoxBoxX, DevComponents.

ComboBoxEX examples from the DevComponents Windows Forms Programming control set.

Top of page
Text to Speech Speech synthesis Software TTS Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
About Privacy Policy TTS Resouces
Free Text to Speech software
Free Text to Speech Software