Change Windows Forms window style
How do I change the style of my window to a RibbonForm. Being that in a matter of Colors is already quiet. See 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?
4
1 answers
Use a 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 noted in:
Http://www.codeproject.com/Articles/364272/Easily-Add-a-Ribbon-into-a-WinForms-Application-Cs
3
Author: Dorathoto, 2014-06-27 17:38:31