Exemple #1
0
        private static void FirstNamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TeacherViewModel teacher = (TeacherViewModel)d;

            teacher.FirstName = NameUtils.FormatPascal(teacher.FirstName);
            GenerateLoginPassword(teacher);
        }
Exemple #2
0
        private static void NamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            LevelViewModel level = (LevelViewModel)d;

            level.Name = NameUtils.FormatPascal(level.Name);
        }
Exemple #3
0
        private static void NamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            SubjectViewModel subject = (SubjectViewModel)d;

            subject.Name = NameUtils.FormatPascal(subject.Name);
        }
        private static void FirstNamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            StudentViewModel student = (StudentViewModel)d;

            student.FirstName = NameUtils.FormatPascal(student.FirstName);
        }