System.Windows.Forms.TextBox.AppendAutoCompleteMatch C# (CSharp) Method

AppendAutoCompleteMatch() private method

private AppendAutoCompleteMatch ( int index ) : void
index int
return void
		void AppendAutoCompleteMatch (int index)
		{
			Text = auto_complete_original_text + auto_complete_matches [index].Substring (auto_complete_original_text.Length);
			SelectionStart = auto_complete_original_text.Length;
			SelectionLength = auto_complete_matches [index].Length - auto_complete_original_text.Length;
		}