Click here to Skip to main content
15,845,565 members
Please Sign up or sign in to vote.
1.71/5 (7 votes)
See more:
Hi,

how do we create a share them for all page in windows forms application? this them impliment with skin or schema or stylesheet,also this them include button,menu,combobox,textbox and...
please help :)
Posted
Updated 22-Nov-10 19:22pm
v2
Comments
JF2015 23-Nov-10 0:23am    
Ok, I tried but I can't even guess what you really want - please fix your spelling/grammar to allow us to understand your question
Sunasara Imdadhusen 23-Nov-10 2:09am    
Good question!!
R. Erasmus 23-Nov-10 6:45am    
I'd start by learning how to speak english.
Toli Cuturicu 23-Nov-10 10:20am    
:-o

how do we create a share them for all page in windows forms application?

You create a infrastructure or framework dll that you reference in your winforms application - that way you have a centralized point where you build your own custom controls / components etc.

this them impliment with skin or schema or stylesheet

Winforms doesnt bother with schema, stylesheets.
you are looking for control properties - you can specify color settings etc as globals in your infrastructure where controls can inherit from
global::

also this them include button,menu,combobox,textbox and...

You can override the default controls - for instance if you want a tectbox with a limited amount of text for input like a,b,c,d,e,f and 0-9
you can place it in your custom framework then inherit from it

TextCustomControl = new TextCustomControl();
and not TextBox TextBox1 = new Textbox();

if all else fails - drink a oxford dictionary.
 
Share this answer
 
What you're after is called skinning - google for that and you'll find plenty of results.

Here's one[^] on this site that may help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900