Beispiel #1
0
        private ProjectTreeNode NewProjectNode(DocumentationProject project)
        {
            ProjectTreeNode projectNode = new ProjectTreeNode(project, projectContextMenuStrip);

            UpdateSidebars(project.Sidebars, projectNode);

            return(projectNode);
        }
Beispiel #2
0
 private void AddSidebarIntoProject(ProjectTreeNode projectNode, SidebarTreeNode sidebarTreeNode)
 {
     projectNode.Nodes.Add(sidebarTreeNode);
     treeView1.SelectedNode       = sidebarTreeNode;
     weblidityFormCloser1.IsDirty = true;
 }
Beispiel #3
0
        private void newSidebarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProjectTreeNode projectNode = (ProjectTreeNode)treeView1.TopNode;

            AddSidebarIntoProject(projectNode, NewSidebarNode(NewSidebar()));
        }