System.Windows.Forms.ToolStripMenuItem.ProcessMnemonic C# (CSharp) Méthode

ProcessMnemonic() protected méthode

protected ProcessMnemonic ( char charCode ) : bool
charCode char
Résultat bool
		protected internal override bool ProcessMnemonic (char charCode)
		{
			if (!this.Selected)
				this.Parent.ChangeSelection (this);
				
			if (this.HasDropDownItems) {
				ToolStripManager.SetActiveToolStrip (this.Parent, true);
				this.ShowDropDown ();
				this.DropDown.SelectNextToolStripItem (null, true);
			} else
				this.PerformClick ();
			
			return true;
		}