Exemple #1
0
 // restore the focus on the current window (or every keypress from now on will be sent to the HostControl
 // this method should be called everytime we send a command to the CmdExeApi
 public CmdExeGui selectThis()
 {
     CmdExeApi.selectWindow(HostControl.Handle);
     consoleInTextBox.focus();
     return(this);
 }
Exemple #2
0
 // restore the focus on the current window (or every keypress from now on will be sent to the HostControl
 // this method should be called everytime we send a command to the CmdExeApi
 public CmdExeGui selectThis()
 {
     CmdExeApi.selectWindow(this.Handle);
     return(this);
 }