예제 #1
0
        private void ShowSettingsExecute(object parameter)
        {
            SettingsViewModel viewModel = new SettingsViewModel(_application);

            SettingsVisible?.Invoke(this, viewModel);
            ActiveMatrix?.Reload();
        }
예제 #2
0
        private void ToggleElementExpandedExecute(object parameter)
        {
            ActiveMatrix.SelectTreeItem(ActiveMatrix.HoveredTreeItem);
            if ((SelectedProviderTreeItem != null) && (SelectedProviderTreeItem.IsExpandable))
            {
                SelectedProviderTreeItem.IsExpanded = !SelectedProviderTreeItem.IsExpanded;
            }

            ActiveMatrix.Reload();
        }
예제 #3
0
 private void OnActionPerformed(object sender, EventArgs e)
 {
     UndoText = $"Undo {_application.GetUndoActionDescription()}";
     RedoText = $"Redo {_application.GetRedoActionDescription()}";
     ActiveMatrix?.Reload();
 }