Re: How to create those kind of usercontrols in Net
Tech-Archive recommends: Fix windows errors by optimizing your registry
What you are describing is not a user control, it is a component. Just
inherit from the Component class, and you will have a non-visual control
that can be used in the designer.
"Josue Avila Mendoza" <JosueAvilaMendoza@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:82C53408-5C80-4691-882D-7D76E4285929@xxxxxxxxxxxxxxxx
> Hi:
> I need to build a user control which has some kind of behavior like the
> timer or data connection or the errorvalidator; you know those control do
> not
> represent any shape into the form they are just assigned into a bar at the
> bottom of our designer;
>
> How can I do this? Which property into my user control designer attributes
> do I have to set?
>
> Thank you very much for your help; I really appreciate.
>
.
Relevant Pages
- Re: Weird UserControl behavior
... What happens is that the controls inside the usercontrol ... Change the Component class to inherit from System.Windows.Forms.TextBox. ... Add the Component to the User Control ... If you believe this is a bug you should report it to the .NET ... (microsoft.public.dotnet.languages.vb) - Re: Weird UserControl behavior
... What happens is that the controls inside the usercontrol ... Change the Component class to inherit from System.Windows.Forms.TextBox. ... The IDE will complain that the class already inherits from Component. ... Add the Component to the User Control ... (microsoft.public.dotnet.languages.vb) - Weird UserControl behavior
... What happens is that the controls inside the usercontrol are being created on the form in addition to the copy of the usercontrol. ... Change the Component class to inherit from System.Windows.Forms.TextBox. ... The IDE will complain that the class already inherits from Component. ... Add the Component to the User Control ... (microsoft.public.dotnet.languages.vb) - Control Comparision primer?
... Component Class, User Control, Custom Control, Inherited User Control and ... (microsoft.public.dotnet.languages.vb.controls) - User Control and Namespace question
... Created a new Windows control library User control project. ... Can open file in designer and see user Control on which I can place other ... Visual Studio requires that designers use the first class in the ... (microsoft.public.dotnet.languages.vb) |
|