CodePudding user response:
Don't write code a little dream...CodePudding user response:
You don't put to share control don't tabcontrol inside? Don't on the tabcontrol you wouldn't write code,,,,,,,,CodePudding user response:
You do so more tired, want to set the control into a common control, and then call when have to set the position, the incoming data, it is better to directly copy control in the past,CodePudding user response:
To make a user control, then can in the toolbox, drag let go well where it is neededCodePudding user response:
Made a control, public share in two TAB to addCodePudding user response:
Make it public control referenceCodePudding user response:
Make the same into a public space, when generated from the toolbox onto the interfaceCodePudding user response:
Switch to which the label is the control move to public which TAB, and then set the position.CodePudding user response:
Make a user controlCodePudding user response:
Utility into a form, and then added to the TAB and use it every timeCodePudding user response:
About layout change, divided into upper and lower orWrite user control of the public, on top or on the left, or right below show log
Of course, you can also choose to write a, with an attribute controls whether show log
CodePudding user response:
The same things can get into user controls