BEurtle.IssueDetail.CommentAdd_Click C# (CSharp) 메소드

CommentAdd_Click() 개인적인 메소드

private CommentAdd_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void
        private void CommentAdd_Click(object sender, EventArgs e)
        {
            Commentary.Panel2.Enabled = true;
            try
            {
                disable_afterselect = true;
                if(commentingupon!=null)
                {
                    Comments.SelectedNode = Comments.SelectedNode.Nodes.Add("*** new reply ***");
                }
                else
                {
                    Comments.SelectedNode = Comments.Nodes.Add("*** new comment ***");
                }
                TurnOnCommentEditing();
            }
            finally
            {
                disable_afterselect = false;
            }
            CommentBody.Document.Body.InnerHtml = "";
            CommentBodyRaw.Text = "";
            CommentAuthor.Text = defaultcreator;
            CommentDate.Text = "";
            CommentBody.Focus();
            CommentBody.Document.ActiveElement.Focus();
        }