Ejemplo n.º 1
0
        private void CairoDesktopWindow_MouseUp(object sender, MouseButtonEventArgs e)
        {
            switch (e.ChangedButton)
            {
            case MouseButton.Left:
                break;

            case MouseButton.Right:
                // Handled by CairoDesktopWindow_MouseRightButtonUp
                break;

            case MouseButton.Middle:
                break;

            case MouseButton.XButton1:
                NavigationManager.NavigateBackward();
                break;

            case MouseButton.XButton2:
                NavigationManager.NavigateForward();
                break;
            }
        }
Ejemplo n.º 2
0
 public void NavigateBackward()
 {
     navigationManager.NavigateBackward();
 }