コード例 #1
0
        public void AddNew()
        {
            var NewWindow = new AddStudentWindow();

            NewWindow.Top  = Application.Current.MainWindow.Top;
            NewWindow.Left = Application.Current.MainWindow.Left;
            NewWindow.Show();
        }
コード例 #2
0
        private void BtnAddStudent_Click(object sender, RoutedEventArgs e)
        {
            var addStudentWindow = new AddStudentWindow();

            addStudentWindow.Show();
        }