private void NewGroupCreated(NewGroupEvent newGroup) { lock (this) { if (newGroup != null) { if (!this.Contains(newGroup.GroupCreated)) { this.AddGroup(newGroup.GroupCreated); } } } }
internal void GroupCreated(NewGroupEvent group) { DataSync.Instance.SyncMessages(); Messenger.Default.Register<SyncEvent>(this, this.GroupSynced); }
private void GroupCreated(NewGroupEvent groupEvent) { if (groupEvent.GroupCreated != null) { this.createdGroup = groupEvent.GroupCreated; } else { foreach (var b in this.ApplicationBar.Buttons) { ((ApplicationBarIconButton)b).IsEnabled = true; } this.ApplicationBar.IsVisible = true; } }