/// <summary> /// Fired when the comment box is done opening. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void CommentBox_OnBoxOpened(object sender, CommentBoxOnOpenedArgs e) { var openBoxContext = (OpenCommentBox)e.Context; if (openBoxContext != null) { // Replace the context e.Context = openBoxContext.Context; openBoxContext.CommentBoxOpened(sender, e); } }
/// <summary> /// Fired when the comment box is open. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ReplyBox_OnBoxOpened(object sender, CommentBoxOnOpenedArgs e) { // Scroll the message we are responding into view. ui_messageList.ScrollIntoView((Message)e.Context); }