Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: Threads and event handlers Pin
Richard Deeming10-Feb-15 10:30
mveRichard Deeming10-Feb-15 10:30 
Question[Solved] I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
bunagee12310-Feb-15 7:14
bunagee12310-Feb-15 7:14 
AnswerRe: I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
Eddy Vluggen10-Feb-15 7:53
professionalEddy Vluggen10-Feb-15 7:53 
GeneralRe: I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
bunagee12310-Feb-15 9:22
bunagee12310-Feb-15 9:22 
GeneralRe: I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
Eddy Vluggen10-Feb-15 11:12
professionalEddy Vluggen10-Feb-15 11:12 
GeneralRe: I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
bunagee12311-Feb-15 1:39
bunagee12311-Feb-15 1:39 
GeneralRe: I'm trying to load random pictures in label tag controls when i load a form (windows forms) Pin
Eddy Vluggen11-Feb-15 7:34
professionalEddy Vluggen11-Feb-15 7:34 
QuestionC# how to let textbox always keep in autocomplete?(Windows Form) Pin
akira3210-Feb-15 1:01
akira3210-Feb-15 1:01 
I use below code to reach the autocomplete in a textbox. But the chance is once, it cannot keep in autocomplete status. When I finish an autocomplete work, and then I cannot key in another autocomplete word. Does somebody know how to let textbox always keep in autocomplete?

C#
private void Form1_Load(object sender, EventArgs e)
		{
			// Create the list to use as the custom source. 
			var source = new AutoCompleteStringCollection();
			source.AddRange(new string[]
                    {
                        "January",
                        "February",
                        "March",
                        "April",
                        "May",
                        "June",
                        "July",
                        "August",
                        "September",
                        "October",
                        "November",
                        "December"
                    });

			// Create and initialize the text box.
			var textBox = new TextBox
			{
				AutoCompleteCustomSource = source,
				AutoCompleteMode =
					AutoCompleteMode.SuggestAppend,
				AutoCompleteSource =
					AutoCompleteSource.CustomSource,
				Location = new Point(20, 20),
				Width = ClientRectangle.Width - 40,
				Visible = true
			};

			// Add the text box to the form.
			Controls.Add(textBox);

		}


modified 10-Feb-15 8:18am.

AnswerRe: C# how to let textbox always keep in autocomplete?(Windows Form) Pin
CHill6010-Feb-15 2:53
mveCHill6010-Feb-15 2:53 
GeneralRe: C# how to let textbox always keep in autocomplete?(Windows Form) Pin
akira3210-Feb-15 16:11
akira3210-Feb-15 16:11 
GeneralRe: C# how to let textbox always keep in autocomplete?(Windows Form) Pin
CHill6011-Feb-15 0:28
mveCHill6011-Feb-15 0:28 
QuestionHow To check all check boxes in repeater when I check the header check box Pin
YASEEN AHMAD9-Feb-15 18:50
YASEEN AHMAD9-Feb-15 18:50 
SuggestionRe: How To check all check boxes in repeater when I check the header check box Pin
Kornfeld Eliyahu Peter9-Feb-15 19:45
professionalKornfeld Eliyahu Peter9-Feb-15 19:45 
QuestionEvent with no handler-method throws exception? Pin
TMattC9-Feb-15 10:56
TMattC9-Feb-15 10:56 
AnswerRe: Event with no handler-method throws exception? Pin
TMattC9-Feb-15 11:00
TMattC9-Feb-15 11:00 
GeneralRe: Event with no handler-method throws exception? Pin
manchanx9-Feb-15 11:03
professionalmanchanx9-Feb-15 11:03 
GeneralRe: Event with no handler-method throws exception? Pin
Pete O'Hanlon9-Feb-15 11:04
mvePete O'Hanlon9-Feb-15 11:04 
Question.net Trust Level to Medium In IIS Pin
ShwetaArora9-Feb-15 4:08
professionalShwetaArora9-Feb-15 4:08 
QuestionJaro - Winkler algorithm Pin
Sire_0079-Feb-15 3:33
Sire_0079-Feb-15 3:33 
AnswerRe: Jaro - Winkler algorithm Pin
Dave Kreskowiak9-Feb-15 3:46
mveDave Kreskowiak9-Feb-15 3:46 
AnswerRe: Jaro - Winkler algorithm Pin
Kornfeld Eliyahu Peter9-Feb-15 3:52
professionalKornfeld Eliyahu Peter9-Feb-15 3:52 
AnswerRe: Jaro - Winkler algorithm Pin
Eddy Vluggen9-Feb-15 5:48
professionalEddy Vluggen9-Feb-15 5:48 
QuestionLaunch WinApplication2 from WinApplication1 Pin
Jassim Rahma9-Feb-15 3:00
Jassim Rahma9-Feb-15 3:00 
AnswerRe: Launch WinApplication2 from WinApplication1 Pin
Pete O'Hanlon9-Feb-15 3:10
mvePete O'Hanlon9-Feb-15 3:10 
AnswerRe: Launch WinApplication2 from WinApplication1 Pin
Dave Kreskowiak9-Feb-15 3:50
mveDave Kreskowiak9-Feb-15 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.