protected virtual void OnCommandEntering(CommandEnteringEventArgs e) { if (CommandEntering != null) { CommandEntering(this, e); } }
private void txtInput_TextChanged(object sender, EventArgs e) { // Fire the CommandEntering event first CommandEnteringEventArgs commandEnteringArgs = new CommandEnteringEventArgs(txtInput.Text); OnCommandEntering(commandEnteringArgs); if (commandEnteringArgs.ToolTip != "") { HideToolTip(); ShowToolTip(commandEnteringArgs.ToolTip); } }
private void txtInput_TextChanged(object sender, EventArgs e) { // Fire the CommandEntering event first CommandEnteringEventArgs commandEnteringArgs = new CommandEnteringEventArgs(txtInput.Text); OnCommandEntering(commandEnteringArgs); if (commandEnteringArgs.ToolTip != "") { HideToolTip(); ShowToolTip(commandEnteringArgs.ToolTip); } }
protected virtual void OnCommandEntering(CommandEnteringEventArgs e) { if (CommandEntering != null) CommandEntering(this,e); }