Change style of Windows Forms window

Asked

Viewed 2,344 times

4

How do I change the style of my window to a Ribbonform. Being that in matter of colors is already quiet. See the image:

A Janela do aplicativo ficou assim!

And now how I use the method CreateParams to change the title and center it and create a Glow effect on a label?

  • guy got a few flaws but that’s the least.

  • Welcome to [en.so]. You can [Dit] your question to add new information, like the one in the comment above. If you want to know a little more about the features, I recommend a [tour] tour and a [help]

1 answer

3


use dll System.Windows.Forms.Ribbon35.dll

and at startup:

private void InitializeComponent()
{
    ribbon1 = new System.Windows.Forms.Ribbon();
    this.components = new System.ComponentModel.Container();
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    this.Text = "Form1";
    this.Controls.Add(ribbon1);
}
private System.Windows.Forms.Ribbon ribbon1; 

More details can be found at:

http://www.codeproject.com/Articles/364272/Easily-Add-a-Ribbon-into-a-WinForms-Application-Cs

  • ah yes I know.

  • and has one this Form is a standard System.Windows.Forms

  • But the problem with using System.Windows.Forms.Ribbon.35 does not work on Orbstyle=2007

Browser other questions tagged

You are not signed in. Login or sign up in order to post.