コード例 #1
0
        private void EditStudent_Click(object sender, RoutedEventArgs e)
        {
            EditStudentWindow editStudentInfo = new EditStudentWindow();

            editStudentInfo.ShowDialog();
            this.Close();
            //show edit student window
        }
コード例 #2
0
        private void closebtn_Click(object sender, RoutedEventArgs e)
        {
            //close window
            EditStudentWindow editStudentWindow = new EditStudentWindow();

            editStudentWindow.Show();
            Close();
        }