Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 3
0
 public void OnClick(DialEventArgs e)
 {
     VsHelpers.ExecuteCommand("Edit.ToggleBookmark");
     e.Action  = "Toggle bookmark";
     e.Handled = true;
 }
Esempio n. 4
0
 public void OnClick(DialEventArgs e)
 {
 }