private void RadioButtonMom_Checked(object sender, RoutedEventArgs e) { LoadInfo(Const.Woman); RadioButtonGenderMan.IsEnabled = false; RadioButtonGenderWoman.IsEnabled = false; LabelGroupAndPlacework.Content = "Работа:"; InfoPhotosEditing.Default(Session.CurrentInfo.Photos); LabelImageAvatar.Content = InfoPhotosEditing.GetNameSelectedPhoto(Session.CurrentInfo.Photos); }
private void ButtonImageNext_Click(object sender, RoutedEventArgs e) { ImageAvatar.ImageSource = InfoPhotosEditing.SelectPhoto(true, (bool)RadioButtonStudent.IsChecked, Session.CurrentInfo.Photos); LabelImageAvatar.Content = InfoPhotosEditing.GetNameSelectedPhoto(Session.CurrentInfo.Photos); }