protected override void HasBeenActivated() { base.HasBeenActivated(); RunningJobs = crypCloudCore.GetJoblist(); RunningJobs.CollectionChanged += RunningJobs_CollectionChanged; RaisePropertyChanged("RunningJobs"); if (RunningJobs.Count > 0) { selectedJob = RunningJobs.First(); RaisePropertyChanged("SelectedJob"); } Contacts = crypCloudCore.GetContacts(); RaisePropertyChanged("Contacts"); Username = CrypCloudCore.Instance.GetUsername(); RaisePropertyChanged("Username"); RaisePropertyChanged("UserCanCreateJob"); }