Example #1
0
        private SendKeystrokesControl CreateGUI()
        {
            SendKeystrokesControl sendKeystrokesControl = new SendKeystrokesControl();

            sendKeystrokesControl.Loaded += (s, o) =>
            {
                TypedGUI.UseSendInputCheckBox.IsChecked = _useSendInput;
                TypedGUI.TxtSendKeys.Text = _keystrokes;
            };
            return(sendKeystrokesControl);
        }
Example #2
0
 private SendKeystrokesControl CreateGUI()
 {
     SendKeystrokesControl sendKeystrokesControl = new SendKeystrokesControl();
     sendKeystrokesControl.Loaded += (s, o) =>
     {
         TypedGUI.UseSendInputCheckBox.IsChecked = _useSendInput;
         TypedGUI.TxtSendKeys.Text = _keystrokes;
     };
     return sendKeystrokesControl;
 }