I want to create a auto complete tools using combobox.
So i just add some items to my combobox .And set these items as a source of my combobox.
In form_load
i do this:
private void frmInvoice_Load(object sender, EventArgs e)
{
comboBox1.AutoCompleteMode=AutoCompleteMode.Append;
comboBox1.AutoCompleteSource = AutoCompleteSource.CustomSource;
}
But it doesn't work and when i type a letter the whole word doesn't appear in combobox.Why ?
i follow this link :http://www.c-sharpcorner.com/UploadFile/mahesh/AutoCompletion02012006113508AM/AutoCompletion.aspx
best regards.