public newSubject(GroupsWindow _prevWindow, Group _subject) { InitializeComponent(); subject = _subject; prevWindow = _prevWindow; }
private void Button_Click_2(object sender, RoutedEventArgs e) { GroupsWindow groupsWindow = new GroupsWindow(this, groups, students); groupsWindow.Show(); Hide(); }
private void Button_Click_2(object sender, RoutedEventArgs e) { GroupsWindow groupsWindow = new GroupsWindow(mainWindow, groups, students); groupsWindow.Show(); check = true; Close(); }