R
RobcPettit
Hi, I hope I dont make a mess of this question, as Im new to c# my
terminology is a bit of, here goes. Ive started to make a windows
application and Ive added a usercontrol from another program, which
had already been layed out, and Im trying to understand the workings
of this user control. I think its a user control. In the original
project Igot this from, in then solution explorer I click on
usercontrol to display the design and in properties it refers to
system.windows.forms.usercontrol. The control represents a row, and in
the control is a label and 6 buttons all in a line. When I use this in
my program I can get it to do what I want and understand the
programming side. Its the design Im struggling with. For instance Ive
added 6 more labels to to the control. The original label was set to
fill, so I had to alter this to add my labels, then put the original
label back to fill. This is the bit that confusses me, the original
label fills to the original buttons, completly ignoring my labels. The
6 buttons seem to be loked together;
Original row;
Label(fills
to......................)button,button,button,button,button,button.
(encassed in usercontrol).
My row;
originalLabel,label,label,label,label,button,button,button,button,button,button.
(encassed in usercontrol).
originalLabel still fills to................
When I use this in my program I see all my labels and the original
label and buttons. Can anybody make sense of this question and give me
some advice. Ive googled plenty, and although there alot on
usercontrols I havent found anything to help.
Regards Robert
terminology is a bit of, here goes. Ive started to make a windows
application and Ive added a usercontrol from another program, which
had already been layed out, and Im trying to understand the workings
of this user control. I think its a user control. In the original
project Igot this from, in then solution explorer I click on
usercontrol to display the design and in properties it refers to
system.windows.forms.usercontrol. The control represents a row, and in
the control is a label and 6 buttons all in a line. When I use this in
my program I can get it to do what I want and understand the
programming side. Its the design Im struggling with. For instance Ive
added 6 more labels to to the control. The original label was set to
fill, so I had to alter this to add my labels, then put the original
label back to fill. This is the bit that confusses me, the original
label fills to the original buttons, completly ignoring my labels. The
6 buttons seem to be loked together;
Original row;
Label(fills
to......................)button,button,button,button,button,button.
(encassed in usercontrol).
My row;
originalLabel,label,label,label,label,button,button,button,button,button,button.
(encassed in usercontrol).
originalLabel still fills to................
When I use this in my program I see all my labels and the original
label and buttons. Can anybody make sense of this question and give me
some advice. Ive googled plenty, and although there alot on
usercontrols I havent found anything to help.
Regards Robert