src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerTreeControl.cs
/// <summary>
///     Overriden to run the default action specified by the currently selected branch.
/// </summary>
/// <param name="e"></param>
Overriden to run the default action specified by the currently selected branch.
Overriden to run the default action specified by the currently selected branch .
protected override void OnDoubleClick(DoubleClickEventArgs e)
        {
            if (e.HitInfo.HitTarget == VirtualTreeHitTargets.OnItemIcon)
            {
                var branch = e.ItemInfo.Branch as ITreeGridDesignerBranch;
                if (branch != null
                    && Site != null
                    && e.ItemInfo.Row != -1)
                {
                    if (DoDefaultAction(branch, e.ItemInfo.Row))
                    {
                        return;
                    }
                }
            }
            base.OnDoubleClick(e);
        }
protected override void OnDoubleClick ( DoubleClickEventArgs e ) { if ( e . HitInfo . HitTarget == VirtualTreeHitTargets . OnItemIcon ) { var branch = e . ItemInfo . Branch as ITreeGridDesignerBranch ; if ( branch != null && Site != null && e . ItemInfo . Row != - 1 ) { if ( DoDefaultAction ( branch , e . ItemInfo . Row ) ) { return ; } } } base . OnDoubleClick ( e ) ; }
Overriden to run the default action specified by the currently selected branch.
Overriden to run the default action specified by the currently selected branch .
e
DoubleClickEventArgs
None