Support Forums

Full Version: [Vb.net] How To Make Your vb.net application nice loocking. [TUT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First Download Devexpress Trial Here.

Install DevExpress To The Your Computer.

Now Make New VB.net Project in visual studio.

- After Making New Project Right click on the project under solution item and select add reference.

Step 1

- In the Add reference box select .NET and add following references.
Code:
-DevExpress.Data
-DevExpress.Utils
-DevExpress.OfficeSkins
-DevExpress.BonusSkins
-DevExpress.XtraEditors

[Image: Step%2525202.jpg]

- Now On Solution Explorer Click On Show all files.and Expand The Form1 and Double Click on the Form1.Designer.vb

- Then Change The Inheritance of the form as following.

Code:
Partial Class Form1
              Inherits DevExpress.XtraEditors.XtraForm

[Image: Step%2525203.jpg]

- After Changing The Inheritance Go to Code View And Generate Method New()(Overloading Form1.)and Write Following Code :

Code:
Public Sub New()

        ' This call is required by the designer.
        InitializeComponent()
        DevExpress.Skins.SkinManager.EnableFormSkins()
        DevExpress.UserSkins.BonusSkins.Register()
        DevExpress.UserSkins.OfficeSkins.Register()
        ' Add any initializatSion after the InitializeComponent() call.

    End Sub

[Image: Step%2525204.jpg]

- Then Under The Form1's LookAndFeel Property Set UseDefaultLookAndFill = False

Final Step

- And Select Your Skin Which Yo want to apply under skin name property.

- Then Run Your Project You Can See The New Applied Skin At Run Time.

[Image: Ex1.jpg]

[Image: Ex2.jpg]

- Now You Can Apply Skin Which You Want.

- If You Have Any Problem Post Here.

- Happy Coding.

How many skins are there? Does this add a dll to your project?
There are nearly 40 skins in this dlls. and yes it's add dlls to your project but you can use assembly binder to hide dlls.
Oh, well in that case Im gonna check this out thanks for the share and info.