UserControl

  • Thread starter Thread starter Boris Zatulovsky via .NET 247
  • Start date Start date
B

Boris Zatulovsky via .NET 247

Hello everybody,

I'm new to .Net and i have a question:
I'm creating several text files(from XML)
with extension .VB that have the same code as
Windows generate for UserControl
plus code for all controls that I need on my UserControl(example):
"Friend WithEvents pctLayout As New System.Windows.Forms.PictureBox"...

What I want to do is to create a UserControl in run-time
from that file and add it to my MainForm .. the MainForm
would then show and hide the controls when needed.
Is it possible to do or may be it's easier way?

Any suggestions?
thanks in advance,
 
So you want to compile and then use the code at run time? I don't think
it's an option with the CF.
 
Back
Top