void mniPrivateComment_Click(object sender, EventArgs e) { if (_senderNode == null || _senderNode.Tag == null) { return; } BaseTreeListTag nodeTag = _senderNode.Tag as BaseTreeListTag; if (nodeTag == null) { return; } string existingPrivateComment = nodeTag.GetPrivateComment(); if (UserInput.Get("Insert/Edit Private Comment (for '" + _senderNode.GetDisplayText(_mainForm.GetTreeListBuilder().GetPolicyColumn()) + "')", out existingPrivateComment, existingPrivateComment, true) != DialogResult.Cancel) { nodeTag.SetPrivateComment(existingPrivateComment); } }