コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: KevinMech/QuizMe
        /// <summary>
        /// Display list form when edit button is clicked
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">event</param>
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            ListWindow window = new ListWindow();

            window.Show();
        }
コード例 #2
0
        /// <summary>
        /// Return to previous window when this window closes
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">event</param>
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            ListWindow listWindow = new ListWindow();

            listWindow.Show();
        }