コード例 #1
0
        /**
         * @brief event for managing the shortcuts
         */
        private void numberTextBox_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.Key)
            {
            case Key.Enter:
                Solve();
                pressedEnter = true;
                break;

            case Key.I:
                HelpWindow settings = new HelpWindow();
                settings.ShowDialog();
                break;

            case Key.C:
                numberTextBox.Clear();
                FocusManager.SetFocusedElement(this, numberTextBox);
                break;
            }
        }
コード例 #2
0
        private void Button_Help_Click(object sender, RoutedEventArgs e)
        {
            HelpWindow helpWindow = new HelpWindow();

            helpWindow.Show();
        }
コード例 #3
0
        /**
         * @brief event for opening the Help window
         */
        private void helpButton_Click(object sender, RoutedEventArgs e)
        {
            HelpWindow help = new HelpWindow();

            help.ShowDialog();
        }
        public void Button_Help(object sender, RoutedEventArgs e)
        {
            HelpWindow helpWindow = new HelpWindow();

            helpWindow.ShowDialog();
        }
コード例 #5
0
        private void Button_Click_Help(object sender, RoutedEventArgs e)
        {
            HelpWindow modalHelpWindow = new HelpWindow();

            modalHelpWindow.ShowDialog();
        }