Search Forum
(57415 Postings)
Search Site/Articles

Archived Articles
712 Articles

C# Books
C# Consultants
What Is C#?
Download Compiler
Code Archive
Archived Articles
Advertise
Contribute
C# Jobs
Beginners Tutorial
C# Contractors
C# Consulting
Links
C# Manual
Contact Us
Legal

GoDiagram for .NET from Northwoods Software www.nwoods.com


              
Printable Version

How to add Visual Styles to your C# Application (the easy way...)
By Gildeoni Nogueira Santos

On my attempt to create new controls i have discovered one interesting thing about a property called "FlatStyle" that is found on some controls like the Button, RadioButton, CheckBox and so on. When we set that property to "System" the control is rendered by the running operating system. Accidentally i had set the "FlatStyle" property of the CheckBox control to "System" with an application manifest file into application's directory, and what I discovered? There's no need to create an entire control from the ground up. Now I'm trying to do an approach similar to that Visual C++ does, using a manifest file as a resource file without the need of a manifest file into application's directory. Some times the life seems to be ironic Good programming for you all.

MyVisualStyleApp2.zip