ARCed.Scintilla.SnippetChooser.OnVisibleChanged C# (CSharp) Method

OnVisibleChanged() protected method

protected OnVisibleChanged ( EventArgs e ) : void
e EventArgs
return void
		protected override void OnVisibleChanged(EventArgs e)
		{
			base.OnVisibleChanged(e);

			this.txtSnippet.Text = string.Empty;
			this.SetPosition();

			if (Visible)
			{
				this.txtSnippet.Focus();
				this.txtSnippet.AutoComplete.Show(0, this._snippetList);
			}
			else
				this.Scintilla.Focus();
		}