private void OnReplyPostClick(object sender, EventArgs e) { articleList.SelectedIndex = 0; UIArticleItem item = (UIArticleItem)articleList.SelectedItem; Article article = item.Article; postControl = new PopupPostControl(); postControl.closeEventHander += new EventHandler(PostControlCloseHandler); postControl.ShowReply(article.Board_name, article); ApplicationBar.IsVisible = false; }
private void OnNewPostClick(object sender, EventArgs e) { Article article = null; postControl = new PopupPostControl(); postControl.ShowReply(currentData.Name, article); }