private void NewRootBtn_Click(object sender, EventArgs e) { var roots = new Roots(false); var result = roots.ShowDialog(); if (result == DialogResult.OK) { RegistryHelpers.AddSubkeys(CurrentNode.Node); } }
private void RootsTreeView_BeforeExpand(object sender, TreeViewCancelEventArgs e) { RegistryHelpers.AddSubkeys(e.Node); }