Jump to content

cbox


DotNetBar Ribbon Control Help?


Recommended Posts

Posted

Ok I've started programming recentley and I was using dotnetbar's ribbon control. I made the boder of my form border style none so it was just the ribbon control so it would look better but I noticed that It wouldnt use my icon or make it not be able to maximize like i had made it.

http://i287.photobucket.com/albums/ll130/Random1225_photos/p.png

I opened up Dark Slipstream's hybrid resigner source and realised that his ribbon control was the form. It was like he put the form border style on ribbon control but you cant

http://i287.photobucket.com/albums/ll130/Random1225_photos/pp.png

and If i put the form border style on none it looked like this.

http://i287.photobucket.com/albums/ll130/Random1225_photos/ppp.png

 

I was wondering how you could do that. So if anyone could help It would really be nice.

 

Sorry if this is hard to understand but It was hard to explain.

Posted

Alright, make a new form (test for now),

 

1) import the DevComponents.DotNetBar2.dll from the References area, open the code for the form (make sure it just has the Public / Private Class and End Sub, no other code.

 

2) Add extra spaces at the VERY top, and type:

 

Imports DevComponents.DotNetBar

Imports DevComponents.DotNetBar.Rendering

Imports System.Windows

Imports System.Windows.Forms

 

3)After the Public line, add:

 

i kind of forgot this, if you read this. pm me teamviewer information, and leave it running, when i connect ill talk to you through an open chat/notepad. and fix this line.

 

 

I've gotten this to work a few times, but it may be unsuccessful in some instances.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...