//public GradeValue _selGV { get; set; } //public static string MV { get; set; } public MainWindowViewModel() { storage = new Storage(); Groups = storage.getGroups(); Students = storage.getStudents(); Subjects = storage.getSubjects(); Semesters = storage.getSemesters(); Realisations = storage.getRealisations(); Registrations = storage.getRegistrations(); Grades = storage.getGrades(); GradeValues = null; GVGrades = null; IndexValid = NameValid = SurnameValid = true; GNameValid = true; SubNameValid = UrlValid = ConspectValid = true; SemNameValid = true; GradeNameValid = MaxValueValid = true; DateValid = ValueValid = true; }