示例#1
0
        /// <summary>
        /// Event: when clicking on the button - go to the asked window.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void goToMotherPage(object sender, RoutedEventArgs e)
        {
            Window motherPage = new MotherWindow();

            motherPage.ShowDialog();
        }
示例#2
0
        private void MotherButton_Click(object sender, RoutedEventArgs e)
        {
            Window motherWindow = new MotherWindow();

            motherWindow.ShowDialog();
        }