Click here to Skip to main content
15,898,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi !
plese help me for this subject:
How do I change skinform in DevExpress forms by c#cod ??
thanks
Posted

C#
private void button1_Click(object sender, EventArgs e)
        {
            this.LookAndFeel.UseDefaultLookAndFeel=false;
            this.LookAndFeel.SetSkinStyle("DevExpress Dark Style");
        }
 
Share this answer
 
v2
Comments
amirpooya 12-Jul-13 6:36am    
your Solution good but my ribbonControl on this form unAvailable to Following your Solution
Add the references of the DevExpress's Skin DLLs. Then you use the skin you want:
e.g.

C#
LookAndFeel.SetSkinStyle("Office 2010 Silver");
 
Share this answer
 
v2
Comments
amirpooya 12-Jul-13 6:38am    
any way ,
i coudent to find Skin DLLs position for add
amirpooya 12-Jul-13 6:40am    
finded !@@
amirpooya 12-Jul-13 6:45am    
your Solution good but my ribbonControl on this form unAvailable to Following your Solution
berrymaria 12-Jul-13 20:17pm    
Use the BarAndDockingController component to change the Ribbon skin. You can use the DefaultLookAndFeel component to change the skin used in the entire application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900