Example #1
0
        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));
                    });
                }
            }
        }
Example #2
0
 public void PerformFind(FindAction action)
 {
     Checked.Execute(_view, () => PerformFindChecked(action));
 }