private toolStripMenuItemInsertSchema_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
Résultat | void |
private void toolStripMenuItemInsertSchema_Click(object sender, EventArgs e)
{
TreeNode tnParent = this.treeView.SelectedNode;
DocSection docSection = (DocSection)tnParent.Tag;
DocSchema docSchema = new DocSchema();
docSection.Schemas.Add(docSchema);
this.treeView.SelectedNode = this.LoadNode(tnParent, docSchema, null, true);
LoadNodeSchema(this.treeView.SelectedNode, docSchema);
toolStripMenuItemEditRename_Click(this, e);
}