public void OnPopupClosed(EntryPopupClosedArgs e) { var handler = PopupClosed; if (handler != null) { handler(this, e); } }
private void PostComment(object o, EntryPopupClosedArgs closedArgs) { if (closedArgs.Button == "OK") { App.Database.SaveComment(new Comment(App.CurrentUser.Id, Issue.Id, closedArgs.Text)); Comments = new ObservableCollection <Comment>(App.Database.GetComments(Issue.Id)); IssuesListView.ItemsSource = Comments; } }