public void Fill(ProfileDTO profile) { //UserContext.Current.RefreshUserData(); profileInfo = UserContext.Current.ProfileInformation.Clone(); this.profile = profile.StandardClone(); chkAutomaticUpdateMeasurements.IsChecked = this.profile.Settings.AutomaticUpdateMeasurements; usrCreateProfile1.Fill(profile); usrWymiaryEditor1.Fill(profileInfo.Wymiary); usrProfilePrivacy1.Fill(profile); usrProfileNotifications1.Fill(profile); }