Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Stylesheet in WinForm
 

Stylesheet in WinForm

Hi,

I want to implment styles in winform application. I found below link:

http://www.codeproject.com/cs/miscctrl/WinFormStyleSheet.asp

My question is how can I add another control (lable/textbox) within single file (ErrorLabel.cs in example) andalso disposing control?

also what are alternative ways to use stylesheet in winform appliation? Right now, Iam using a methodwhich find control on form and applying style accordingly.

Thanks

ptenter  Wednesday, May 16, 2007 6:41 AM

Hi, you can build your form class, and inherit form it .

or you can set application setting

Please check this article

http://msdn2.microsoft.com/en-us/library/a65txexh(VS.80).aspx

Hope it helps

Gavin Jin - MSFT  Wednesday, May 23, 2007 6:54 AM

Hi, you can build your form class, and inherit form it .

or you can set application setting

Please check this article

http://msdn2.microsoft.com/en-us/library/a65txexh(VS.80).aspx

Hope it helps

Gavin Jin - MSFT  Wednesday, May 23, 2007 6:54 AM

You can use google to search for other answers

Custom Search

More Threads

• Parent Property
• Inherited Form
• TypeConverter - Exception - Unable to cast type x to type x
• VS Designer Removing Control.Add declarations
• Floating toolbar interface
• Visual inheritance in derived Forms
• Making a dataGridView with more "columns"
• Ambient Properties Question
• How To Use Resources in Visual Basic .NET
• ToolStripManager.Merge: Merged MenuItems Disappear...