|  | 
| [Bug] Outdated comment | 
| Post Reply   | 
| Author | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  Topic: [Bug] Outdated comment Posted: 14 October 2010 at 10:39am | 
| 
   
    //----------------------------------------------------------------------- // Summary: // Call this member to switch the visual theme of the panes. // Parameters: // theme - New visual theme. Can be any of the values listed in the Remarks section. // Remarks: // theme can be one of the following: // * <b>xtpPaneThemeDefault</b> Enables the default theme. // * <b>xtpPaneThemeVisualStudio2003</b> Enables Visual Studio .NET style theme. // * <b>xtpPaneThemeGrippered</b> Enables Visual Studio 6 style theme. // * <b>xtpPaneThemeOffice2002Visio</b> Enables Visio style theme. // * <b>xtpPaneThemeOffice2003</b> Enables Office 2003 style theme. // * <b>xtpPaneThemeWinNative</b> Enables XP Theme. // * <b>xtpPaneThemeVisualStudio2005Beta1</b> Enables Whidbey theme. //----------------------------------------------------------------------- void SetTheme(XTPDockingPanePaintTheme theme); I would replace this with a simple comment: // Remarks: // See XTPDockingPanePaintTheme enumeration for available themes. | |
| 
     Codejock support
     | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 14 October 2010 at 1:54pm | 
| 
   Hi, Developers can have addins installed that show comment when hover over method. It will give them information what enum can be used. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  Posted: 14 October 2010 at 6:37pm | 
| 
 Then you'll always have to update the comment when you add a new theme. There are a lot missing currently. Developers with an add in like Visual AssistX can quickly go to the declaration of the enum. Also without any addin "Go to definition" will work. | |
| 
     Codejock support
     | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |