Click here to Skip to main content
15,922,155 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: how can I adjust the brightness / contrast / color of a usb camera programatically while recording Video Pin
Dave Sexton11-Sep-08 7:40
Dave Sexton11-Sep-08 7:40 
GeneralRe: how can I adjust the brightness / contrast / color of a usb camera programatically while recording Video Pin
balaji_vbr15-Sep-08 20:27
balaji_vbr15-Sep-08 20:27 
GeneralRe: how can I adjust the brightness / contrast / color of a usb camera programatically while recording Video Pin
Dave Sexton16-Sep-08 2:38
Dave Sexton16-Sep-08 2:38 
Questionhow to have an image button column in my datagridview ? Pin
devboycpp7-Sep-08 12:35
devboycpp7-Sep-08 12:35 
AnswerRe: how to have an image button column in my datagridview ? Pin
John_Adams7-Sep-08 22:20
John_Adams7-Sep-08 22:20 
QuestionMaking a menu in console app c# Pin
CaptainKrtek7-Sep-08 9:14
CaptainKrtek7-Sep-08 9:14 
AnswerRe: Making a menu in console app c# Pin
nelsonpaixao9-Sep-08 14:47
nelsonpaixao9-Sep-08 14:47 
QuestionUser Controls and embedded Controls in it Pin
WolfgangRoth7-Sep-08 5:20
WolfgangRoth7-Sep-08 5:20 
Hello,
i am using VS 2003 and/or VS 2005
In C# i want to the accomplish following task:

i want to have a user control that supports multiple checkboxes in it.
the number of checkboxes and the text of these boxes should be dynamically changed.
Depending on the layout of the user control these checkboxes should be aligned horizontally or vertically.


i.e. I say control shall have 8 checkboxes and each checkbox shall have its on descriptive Text.
then these checkboxes should layout themselves left to right or top to bottom depending on ratio height to width of the user control.

I managed to build that user control, but i dont really know where to add / delete the checkboxes
in design time.

At the moment, i create the array that holds the checkboxes in the constructor (both runtime and design time).

Depending on the number of desired checkboxes, which is set via a property i dynamically grow or shrink this array.

I dont know where i should add these checkboxes to the usercontrol. When i add them in the Paint method, i have to delete them before i add them new.

Maybe someone can help me with an easy example.

Greetings Wolfgang
AnswerRe: User Controls and embedded Controls in it Pin
LionAM7-Sep-08 11:12
LionAM7-Sep-08 11:12 
GeneralRe: User Controls and embedded Controls in it Pin
WolfgangRoth7-Sep-08 21:12
WolfgangRoth7-Sep-08 21:12 
GeneralRe: User Controls and embedded Controls in it Pin
LionAM8-Sep-08 12:04
LionAM8-Sep-08 12:04 
AnswerRe: User Controls and embedded Controls in it Pin
dan!sh 8-Sep-08 4:45
professional dan!sh 8-Sep-08 4:45 
GeneralRe: User Controls and embedded Controls in it Pin
WolfgangRoth8-Sep-08 6:05
WolfgangRoth8-Sep-08 6:05 
Questiondivision Context Menu of MDI Child from Context Menu of the parent form Pin
serega2007us6-Sep-08 6:02
serega2007us6-Sep-08 6:02 
QuestionHow to Mute Audio while Recording Video Pin
balaji_vbr5-Sep-08 0:58
balaji_vbr5-Sep-08 0:58 
Questionusercontrol is not working correctly in the application Pin
gtag5-Sep-08 0:07
gtag5-Sep-08 0:07 
AnswerRe: usercontrol is not working correctly in the application Pin
N a v a n e e t h6-Sep-08 0:28
N a v a n e e t h6-Sep-08 0:28 
QuestionRe: usercontrol is not working correctly in the application [modified] Pin
gtag7-Sep-08 20:31
gtag7-Sep-08 20:31 
AnswerRe: usercontrol is not working correctly in the application Pin
gtag8-Sep-08 19:11
gtag8-Sep-08 19:11 
QuestionHow do you hide parts of a usercontrol from the toolbar. Pin
frappydan4-Sep-08 17:43
frappydan4-Sep-08 17:43 
AnswerRe: How do you hide parts of a usercontrol from the toolbar. Pin
Frank Horn5-Sep-08 3:02
Frank Horn5-Sep-08 3:02 
QuestionHow do you add a control to a usercontrol during design time? [modified] Pin
frappydan4-Sep-08 17:39
frappydan4-Sep-08 17:39 
AnswerRe: How do you add a control to a usercontrol during design time? Pin
Frank Horn5-Sep-08 3:13
Frank Horn5-Sep-08 3:13 
AnswerRe: How do you add a control to a usercontrol during design time? Pin
Frank Horn5-Sep-08 4:04
Frank Horn5-Sep-08 4:04 
Questionlong disposing of a WinForm component ressources Pin
kekranx4-Sep-08 2:27
kekranx4-Sep-08 2:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.