Example #1
0
        partial void Connection_Click(NSObject sender)
        {
            ToggleConnect();
            var statement = EditorBox.GetSelectedOrAllText();

            ResultTextBox.SetText(statement);
        }
Example #2
0
 private void EditorBox_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.F5)
     {
         _viewModel.Input = EditorBox.GetSelectedOrAllText();
         _viewModel.ExecuteCommand.Execute(sender);
     }
 }
Example #3
0
 public override void KeyUp(NSEvent e)
 {
     if (e.KeyCode == 96)
     {
         var command = EditorBox.GetSelectedOrAllText();
         Model.StatusText = command;
         _communicator.StartExecute(command, QueryFinished);
     }
 }