예제 #1
0
 /// <summary>
 ///
 /// </summary>
 private void RenameNode(Object sender, EventArgs e)
 {
     if (tree.SelectedNode is ProjectNode)
     {
         string label = tree.SelectedNode.Text;
         int    index = label.IndexOf("(" + project.LanguageDisplayName + ")");
         if (index != -1)
         {
             tree.SelectedNode.Text = label.Remove(index).Trim();
         }
     }
     tree.ForceLabelEdit();
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 private void RenameNode(Object sender, EventArgs e)
 {
     tree.ForceLabelEdit();
 }