Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


How to make your program use the Metro theme (DevComponents) filter_list
Author
Message
How to make your program use the Metro theme (DevComponents) #1
1) Create a New Project
[Image: 2955ea0e71ff9e8eb65c55b8e8d17c7d.png]

2) Select Windows Form Application in the list of options. It can be any .NET Framework I am pretty sure, but I recommend just using whatever is selected by default.
[Image: 4cab1fd29de62384f90805c33e2e9184.png]

3) Name your project anything you want, I will be naming it "Metro" for the tutorial.
[Image: 6b8afa9c49350ca87b53ad19d7f76a04.png]

4) Once your project is created, go ahead and click "My Project" in the Solution Explorer to the right.
[Image: 3b6e5a92c9bb326c04aba61277c20046.png]

5) Click on the References tab.
[Image: 3ba57ee91b5da5d27028a6a8ef836cfc.png]

6) Click "Add" and browse to the location of your "DevComponents.DotNetBar2.dll" which is usually in "C:\Program Files (x86)\DotNetBar for Windows Forms".
[Image: 45e4cbc96ea06e735f2d873c28fd52f0.png]

And it should look something like this in the list of References
[Image: 0e187c94fe72f9623b90f94350e6e22e.png]

7) Next, click the "Show All Files" button in the Solution Explorer. It is not labeled unless you hover over it.
[Image: b0f6688f4e6ff437349b8322607855d1.png]

8) Click the down arrow to the left of "Form1.vb" and then click Form1.Designer.vb
[Image: a3d4ae04602743385231116a2cca3ed6.png]

9) Find this line of code near the top of the whole code
[Image: 376ab836e5ac81b70dab95ba9811e5e5.png]
and then change it to
Quote:Inherits DevComponents.DotNetBar.Metro.MetroForm
[Image: a9abe24a9b4fd6a2372561586d585371.png]

10) You can again click on the "Show All Files" button.
[Image: b0f6688f4e6ff437349b8322607855d1.png]

and then double click on "Form1.vb"
[Image: da1914de564646618bae0d6098a4ad7c.png]

There you go you are now finished!

[Image: 97bc856100d14e51853b9ce3cb522e5a.png]

Also, When your trial expires I released the .dlls in elite so make sure to get ELITE! Smile
[Image: xlbdwZT.png]

Reply

RE: How to make your program use the Metro theme (DevComponents) #2
Nice, I know someone is attempting to create a metro theme at the moment, but I like dotnetbar's better.
[Image: OkXCq.gif]

Reply

RE: How to make your program use the Metro theme (DevComponents) #3
(07-15-2013, 03:49 AM)Hexology Wrote: Nice, I know someone is attempting to create a metro theme at the moment, but I like dotnetbar's better.

Yeah, I released all that in elite. Wink
[Image: xlbdwZT.png]

Reply

RE: How to make your program use the Metro theme (DevComponents) #4
Awesome tutorial. If i were to buy Emerald would i have access to the Elite section also?

Reply

RE: How to make your program use the Metro theme (DevComponents) #5
(07-15-2013, 07:54 AM)ZherkTG Wrote: Awesome tutorial. If i were to buy Emerald would i have access to the Elite section also?

Yes Indeed you would, Ask Sap to be sure of it though.
[Image: xlbdwZT.png]

Reply

RE: How to make your program use the Metro theme (DevComponents) #6
Alright I'll ask, thanks.

Reply

RE: How to make your program use the Metro theme (DevComponents) #7
Omg awesome tutorial mate!!! (L)(L)

Reply

RE: How to make your program use the Metro theme (DevComponents) #8
Wow, I've actually been wondering why Metro wasn't in VB, but now i know Tongue

Thanks for sharing Smile
[Image: tumblr_m4vms28lYu1qj3ir1.gif]

Reply

RE: How to make your program use the Metro theme (DevComponents) #9
Hopefully more people will start using these things since we merged!
[Image: xlbdwZT.png]

Reply







Users browsing this thread: 2 Guest(s)