Exemple #1
0
        public void OnRotate(RotationDirection direction, DialEventArgs e)
        {
            if (direction == RotationDirection.Right)
            {
                VsHelpers.ExecuteCommand("View.NavigateForward");
            }
            else
            {
                VsHelpers.ExecuteCommand("View.NavigateBackward");
            }

            e.Handled = true;
        }
Exemple #2
0
        public void OnRotate(RotationDirection direction, DialEventArgs e)
        {
            if (direction == RotationDirection.Right)
            {
                VsHelpers.ExecuteCommand("Edit.NextBookmark");
                e.Action = "Go to next bookmark";
            }
            else
            {
                VsHelpers.ExecuteCommand("Edit.PreviousBookmark");
                e.Action = "Go to previous bookmark";
            }

            e.Handled = true;
        }
Exemple #3
0
 public void OnClick(DialEventArgs e)
 {
     VsHelpers.ExecuteCommand("Edit.ToggleBookmark");
     e.Action  = "Toggle bookmark";
     e.Handled = true;
 }
Exemple #4
0
 public void OnClick(DialEventArgs e)
 {
 }