コード例 #1
0
ファイル: ReferenceNode.cs プロジェクト: shijiong/ntvsiot
 public override object GetIconHandle(bool open)
 {
     return(ProjectMgr.GetIconHandleByName(CanShowDefaultIcon() ?
                                           ProjectNode.ImageName.Reference :
                                           ProjectNode.ImageName.DanglingReference
                                           ));
 }
コード例 #2
0
ファイル: FolderNode.cs プロジェクト: shijiong/ntvsiot
 public override object GetIconHandle(bool open)
 {
     return(ProjectMgr.GetIconHandleByName(open ?
                                           ProjectNode.ImageName.OpenFolder :
                                           ProjectNode.ImageName.Folder
                                           ));
 }
コード例 #3
0
 public override object GetIconHandle(bool open)
 {
     if (ItemNode.IsExcluded)
     {
         return(ProjectMgr.GetIconHandleByName(open ?
                                               ProjectNode.ImageName.OpenExcludedFolder :
                                               ProjectNode.ImageName.ExcludedFolder
                                               ));
     }
     return(base.GetIconHandle(open));
 }
コード例 #4
0
 public sealed override object GetIconHandle(bool open)
 {
     //We don't want the icon to become an expanded folder 'OpenReferenceFolder'
     //  Thus we always return 'ReferenceFolder'
     return(ProjectMgr.GetIconHandleByName(ProjectNode.ImageName.ReferenceFolder));
 }
コード例 #5
0
ファイル: InterpretersPackageNode.cs プロジェクト: krus/PTVS
 public override object GetIconHandle(bool open)
 {
     return(ProjectMgr.GetIconHandleByName(PythonProjectImageName.InterpretersPackage));
 }
コード例 #6
0
 public override object GetIconHandle(bool open)
 {
     return(ProjectMgr.GetIconHandleByName(ProjectNode.ImageName.XWorld));
 }