Пример #1
0
 private void Workspace_CommandExecuted(object sender, CadCommandExecutedEventArgs e)
 {
     selecting = false;
     ClearSnapPoints();
     SetCursorVisibility();
     SetSelectionLineVisibility(Visibility.Collapsed);
 }
Пример #2
0
 private void WorkspaceCommandExecuted(object sender, CadCommandExecutedEventArgs e)
 {
     Dispatcher.BeginInvoke((Action)(() =>
     {
         inputLine.Text = "";
     }));
 }
Пример #3
0
        protected virtual void OnCommandExecuted(CadCommandExecutedEventArgs e)
        {
            var executed = CommandExecuted;

            if (executed != null)
            {
                executed(this, e);
            }
        }
Пример #4
0
 void Workspace_CommandExecuted(object sender, CadCommandExecutedEventArgs e)
 {
     TakeFocus();
 }
Пример #5
0
 void Workspace_CommandExecuted(object sender, CadCommandExecutedEventArgs e)
 {
     Workspace.SelectedEntities.Clear();
     SetPrompt("Command");
 }
Пример #6
0
 private void Workspace_CommandExecuted(object sender, CadCommandExecutedEventArgs e)
 {
     selecting = false;
     SetCursorVisibility();
     UpdateSelectionRectangle(null);
 }