[help]DotNetBar help

Posts 1–8 of 8 · Page 1 of 1
[help]DotNetBar help
I'm trying to make my first Pro-Program, but i want to know how do i add This:



on a vb.net form? I already added the dll i just want ot know how to add it to look like that (Not buttons inside but the skin)
Set your form borderstyle to None. And add a dotnetbar Ribbon Control to your form.
Quote Originally Posted by Jason View Post
Set your form borderstyle to None. And add a dotnetbar Ribbon Control to your form.
the user couldn't resize the program during runtime
go to the form design code and change the inheritance to Inheritance DevComponents.DotNetBar.RibbonForm
Something like that i wrote on memory
Jason, you have become my VB.Net hero.
Quote Originally Posted by o0OpurezO0o View Post
Jason, you have become my VB.Net hero.
Since when was I not
Since the Dawn of Time.
Or do it the way your supposed to and inherit it.

If you have referenced the dll, in your solutions explorer click the button on top that (if you hover over) says "Show all files"



Looks like the one on top there that is pushed down (if you don't know)

Then expand in tree view form1 (of solution explorer) you will see a form1.designer.vb file , double click it.

under

[highlight=vbnet]
Partial Class Form1
[/highlight]

You will see

[highlight=vbnet]
Inherits Systems.Windows.Forms.Form
[/highlight]

Change that line to

For DevComponents inheritance without ribbon control
[highlight=vb.net]
Inherits DevComponents.DotNetBar.Office2007Form
[/highlight]

Or

For DevComponents with Ribbon
[highlight=vbnet]
Inherits DevComponents.DotNetBar.Office2007RibbonForm
[/highlight]

This is the way it supposed to done, and the way it will work, go have fun

(plus it is the cleanest method as far as design goes)
Yeah I do that as well, forgot to mention it in this post because I got confused between the guy that PM'd me about it and this thread.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us