Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Vb.net] How To Make Your vb.net application nice loocking. [TUT]
#1
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.

Reply
#2
How many skins are there? Does this add a dll to your project?
~ Digital-Punk
Reply
#3
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.
Reply
#4
Oh, well in that case Im gonna check this out thanks for the share and info.
~ Digital-Punk
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Support Forums .NET Threads Compilation Fragma 64 23,917 11-06-2019, 11:35 PM
Last Post: alexathomson
  How to hook the keyboard. [VB.NET] [TuT] Vorfin 92 60,881 09-23-2019, 11:55 AM
Last Post: Jamimartin
  [VB.NET] Advanced MessageBox Control BlackSpider 14 12,064 03-04-2015, 11:22 PM
Last Post: longwest
  [Preview] Windows 7 Tools [VB.NET] ƃu∀ ıʞƃu∀ 4 3,637 10-14-2014, 11:55 AM
Last Post: 'Onam
  VB.Net Make a Real AntiVirus (AV) - Part 1 goranpilkic 27 29,876 08-25-2014, 12:43 AM
Last Post: dark_move

Forum Jump:


Users browsing this thread: 1 Guest(s)