Example #1
0
 protected virtual void OnCommandEntering(CommandEnteringEventArgs e)
 {
     if (CommandEntering != null)
     {
         CommandEntering(this, e);
     }
 }
Example #2
0
        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);
            }
        }
Example #3
0
        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);
            }
        }
Example #4
0
 protected virtual void OnCommandEntering(CommandEnteringEventArgs e)
 {
     if (CommandEntering != null)
         CommandEntering(this,e);
 }