Ejemplo n.º 1
0
 private void MainWindow_PreviewKeyDown(object sender, KeyEventArgs e)
 {
     // Alt + CTRL + Shift + G = show beta features
     if (e.Key == Key.G && Keyboard.IsKeyDown(Key.LeftCtrl) && Keyboard.IsKeyDown(Key.LeftShift) && Keyboard.IsKeyDown(Key.LeftAlt))
     {
         BetaFeaturesPage p = new BetaFeaturesPage();
         p.ShowAsWindow();
     }
     else if (e.Key == Key.F && (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl)))
     {
         SolutionFindAndReplace();
     }
 }
Ejemplo n.º 2
0
        private void xBetaFeaturesIcon_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            BetaFeaturesPage p = new BetaFeaturesPage();

            p.ShowAsWindow();
        }