2
Answers

how to create a unvisible user control?

Photo of gerirox

gerirox

20y
2.3k
1
Hello Maybe someone has a good idea how to solve this problem. In VS i coded a user control. I derived it from the class usercontrol. The user control has no graphical output. My problem now: The user control should work like a timer or a oledbconnection-usercontrol not like a button oder label becaus my user control as it has no graphical output to the user. But if i add a reference my usercontrol i see the control in the toolbox of the Visual-Studio IDE. Now if it pull the the form I see a grey box in the form. How can I arrange the the usercontrol is only visible in the footer like e.g. a timer-usercontrol, a oledbconnetion-usercontrol? For any ideas, I would be very happy. Thank you in advance Geri

Answers (2)

0
Photo of gerirox
NA 3 0 20y
Hello Simon Thank you for the hit. Now it works fine. Best regards Geri
0
Photo of shimtanny
NA 440 0 20y
Hi You have to create a component. Derive your user component from System.ComponentModel.Component. Simon
Next Recommended Forum