예제 #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();
        }