C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Tips » Visual Studio »

.NET Windows Forms -Using XP Themes


Posted Date: 22 Jun 2009    Resource Type: Tips    Category: Visual Studio
Author: Viji RAJKUMARMember Level: Diamond    
Rating: 1 out of 5Points: 5



To use XP Themes in Windows forms, we need to do the following.

1. Set the Theme property of Computer to Windows XP
  • Right click On Deskop
  • Select Properties
  • Select Themes -> Windows XP

    2. Set FlatStyle property of the control to System.
    For Example, Button's FlatStyle property to System.

    3. Call EnableVisualStyles in the Constructor of the Form


    Public Sub New ()

    Application.EnableVisualStyles()

    End Sub



    For more details, visit http://vijirajkumar.blogspot.com/2009/07/using-xp-themes.html



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    .NET Windows Forms -Using XP Themes  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Comment/ Un-Comment your code
    Previous Resource: .NET Windows Forms - Hide the display in task bar
    Return to Discussion Resource Index
    Post New Resource
    Category: Visual Studio


    Post resources and earn money!
     
    More Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use