Пример #1
0
 private void SetFocus()
 {
     this.Focus();
     ClientInterface.SendCommand(new ConsoleCommand("GotFocus"));
 }
Пример #2
0
 protected override void OnLostFocus(System.Windows.RoutedEventArgs e)
 {
     base.OnLostFocus(e);
     ClientInterface.SendCommand(new ConsoleCommand("LostFocus"));
 }
Пример #3
0
 public void Run()
 {
     ClientInterface.Start(m_commandLine);
 }
Пример #4
0
 public void Stop()
 {
     ClientInterface.Release();
 }
Пример #5
0
        protected override HandleRef BuildWindowCore(HandleRef hwndParent)
        {
            IntPtr windowHandle = ClientInterface.InitalizeWindow(hwndParent.Handle);

            return(new HandleRef(this, windowHandle));
        }