Пример #1
0
        private void buttonOk_Click(object sender, EventArgs e)
        {
            node.Nodes.Add("", textBoxName.Text, RessourceManager.GetExtension(textBoxPath.Text));
            node.Nodes[node.Nodes.Count - 1].Tag = Path.AbsoluteToRelative(textBoxPath.Text);
            node.Nodes[node.Nodes.Count - 1].ContextMenuStrip = contextMenu;

            Dispose();
        }