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