Support Forums
[Vb.net] How To Make Your vb.net application nice loocking. [TUT] - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: [Vb.net] How To Make Your vb.net application nice loocking. [TUT] (/showthread.php?tid=22697)



[Vb.net] How To Make Your vb.net application nice loocking. [TUT] - CodingWorm - 10-14-2011

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.




RE: [Vb.net] How To Make Your vb.net application nice loocking. [TUT] - Digital-Punk - 10-14-2011

How many skins are there? Does this add a dll to your project?


RE: [Vb.net] How To Make Your vb.net application nice loocking. [TUT] - CodingWorm - 10-14-2011

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.


RE: [Vb.net] How To Make Your vb.net application nice loocking. [TUT] - Digital-Punk - 10-14-2011

Oh, well in that case Im gonna check this out thanks for the share and info.