示例#1
0
 void SSHUi_SendInput(object sender, SendInputEventArgs e)
 {
     if (SendInput != null)
     {
         SendInput(sender, e);
     }
 }
示例#2
0
        protected virtual void OnSendInput(SendInputEventArgs e)
        {
            var Handler = SendInput;

            if (Handler != null)
            {
                Handler(this, e);
            }
        }
示例#3
0
        public void CmdSendCommand_SendCommand(object sender, System.Windows.RoutedEventArgs e)
        {
            //No Command required, of no text is given
            if (CommandText.Length <= 0)
            {
                return;
            }

            var e2 = new SendInputEventArgs();

            e2.SendCommand = CommandText;
            OnSendInput(e2);

            CommandText = "";
        }