private void _treeView_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Node != null) { var manager = (TreeNodeManager)e.Node.Tag; var projectItem = manager.Item as INiProjectItem; if (projectItem != null) { Checked.Execute(Site, () => { INiWindowFrame unused; ErrorUtil.ThrowOnFailure(projectItem.Open(out unused)); }); } } }
public void PerformFind(FindAction action) { Checked.Execute(_view, () => PerformFindChecked(action)); }