/// <summary>
        /// Snap toolbox selection back to regular pointer after using a custom connect action.
        /// </summary>
        private void OnConnectActionDeactivated(object sender, DslDiagrams::DiagramEventArgs e)
        {
            DslDiagrams::DiagramView activeView = this.ActiveDiagramView;

            if (activeView != null && activeView.Toolbox != null)
            {
                activeView.Toolbox.SelectedToolboxItemUsed();
            }
        }
Example #2
0
 /// <summary>
 /// Snap toolbox selection back to regular pointer after using a custom toolbox action.
 /// </summary>
 private void OnToolboxActionDeactivated(object sender, DslDiagrams::DiagramEventArgs e)
 {
     OnMouseActionDeactivated();
 }