System.Windows.Forms.ComboBox.SetControlText C# (CSharp) Method

SetControlText() private method

private SetControlText ( string s, bool suppressTextChanged, bool supressAutoScroll ) : void
s string
suppressTextChanged bool
supressAutoScroll bool
return void
		internal void SetControlText (string s, bool suppressTextChanged, bool supressAutoScroll)
		{
			if (suppressTextChanged)
				process_textchanged_event = false;
			if (supressAutoScroll)
				process_texchanged_autoscroll = false;
			
			textbox_ctrl.StringValue = s;
			//textbox_ctrl.SelectAll ();
			process_textchanged_event = true;
			process_texchanged_autoscroll = true;
		}

Same methods

ComboBox::SetControlText ( string s, bool suppressTextChanged ) : void