PC Review


Reply
Thread Tools Rate Thread

dynamic add control to a form

 
 
Thanh-Nhan Le
Guest
Posts: n/a
 
      1st Sep 2006
Hi,

How can I dynamic add a usercontrol to a form in runtime? Is there anyway?

Thanks
Nhan


 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      1st Sep 2006
HI,

Of course, just take a look at the code generated by the designer, you can
write the same code yourself.



--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


"Thanh-Nhan Le" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> How can I dynamic add a usercontrol to a form in runtime? Is there anyway?
>
> Thanks
> Nhan
>



 
Reply With Quote
 
Thanh-Nhan Le
Guest
Posts: n/a
 
      1st Sep 2006
Of course, thanks. It is simpler then I think. (I'm from VB6 world).



"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
schrieb im Newsbeitrag news:(E-Mail Removed)...
> HI,
>
> Of course, just take a look at the code generated by the designer, you can
> write the same code yourself.
>
>
>
> --
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
>
> "Thanh-Nhan Le" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>>
>> How can I dynamic add a usercontrol to a form in runtime? Is there
>> anyway?
>>
>> Thanks
>> Nhan
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic reference to control in other form Mr. Smith Microsoft Access Form Coding 3 13th Apr 2009 04:37 AM
Dynamic Form Control RT215 Microsoft Access Forms 3 11th Nov 2008 03:26 AM
Dynamic form control properties codeslinger73@gmail.com Microsoft Dot NET 3 26th Nov 2006 04:43 PM
Loading Dynamic User Control Error: "The control must be placed inside a form tag with runat=server" Help Please Second time posting. davidr@sharpesoft.com Microsoft ASP .NET 0 31st Aug 2006 06:26 PM
Dynamic form name - referring to control =?Utf-8?B?YXVkcmV5Ym1vcmlu?= Microsoft Access Form Coding 2 14th Jun 2004 03:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:12 PM.