DevExpress title bar skin in WinForm environment
First step: Add DLL files
In the Debug directory, add:
Devexpress.bonusskins.v12.2.dll
Devexpress.utils.v12.2.dll
devexpress.data.v12.2
Step Two: Referencing
Devexpress.bonusskins.v12.2.dll
Devexpress.utils.v12.2.dll
devexpress.data.v12.2
Step Three: The application's main entry point registration code
//Below is registered skin, must be before the Run method
Devexpress.skins. Skinmanager. Enableformskins ();
Devexpress.userskins. bonusskins. Register ();
Fourth step: Create form Forms
The public partial class Form1 : Form
Change to public partial class Form1 : xtraform
Fifth step: Adding controls
1. Add the Defaultlookandfeel control, which is under the Dx.12.2:components toolbar by default.
2. Add a ComboBox control.
3.comboBox Adding selection Events
private voidComboBox1_SelectedIndexChanged (ObjectSenderEventArgsE
{
This. DefaultLookAndFeel1.LookAndFeel.UseDefaultLookAndFeel =false;
This. DefaultLookAndFeel1.LookAndFeel.UseWindowsXPTheme =false;
This. DefaultLookAndFeel1.LookAndFeel.Style =devexpress.lookandfeel.Lookandfeelstyle. Skin;
stringSkinname = This. comboBox1.SelectedItem.ToString ();
This. defaultLookAndFeel1.LookAndFeel.SkinName = Skinname;
}
1. DevExpress Style
2. DevExpress Dark Style
3. VS2010
4. Seven Classic
5. Office Blue
6. Office Black
7. Office Silver
8. Office
9. Coffee
Ten. Liquid SkyOne
. London Liquid Sky
Glass Oceans
Stardust.
Xmas Blue
Valentine.
Mcskin.
Summer.
Pumpkin.
Dark Side
Springtime.
Foggy.
. High Contrast
Seven.
. SharpSharp
PlusThe
Asphalt World
Whiteprint.
Caramel.
. Money Twins
Lilian.
imaginary.A
. Black
. Office Blue
Office Black
Office Silver
Office-Green
PNs. Office PinkA
. Blue
Darkroom.
Blueprint.
Metropolis Dark
Metropolis.
42 Form Styles for DevExpress