Change Windows Forms window style

4

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

And now how do I use the CreateParams method to change the title and center it and create a glow effect on a Label?

    
asked by anonymous 27.06.2014 / 18:34

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 seen in:

link

    
27.06.2014 / 19:38