2 Replies - 8927 Views - Last Post: 12 October 2005 - 07:45 PM Rate Topic: -----

#1 BidSki  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 30-June 05

Creating Forms at run-time in VC#

Posted 09 October 2005 - 01:34 AM

Hi

I am not sure if this would be the right place to ask this question, but here goes.

Does anybody know if it is possible to create VC# forms an run-time.
.
If possible could someone point me in the direction of a tutorial or
give a small piece of sample code???

Thanks In Adavance
BidSki
Is This A Good Question/Topic? 0
  • +

Replies To: Creating Forms at run-time in VC#

#2 Videege  Icon User is offline

  • rÍvant.toujours
  • member icon

Reputation: 6
  • View blog
  • Posts: 1,413
  • Joined: 25-March 03

Re: Creating Forms at run-time in VC#

Posted 09 October 2005 - 04:19 PM

In essence you create all your forms at runtime, its just that most of them you predesign in the handy little editor and it hides the code away under "Form-Generated Code" or whatever. All you have to do is write this same kind of code wherever you need it and bam, you have a form.

some simple instruction: here.
Was This Post Helpful? 0
  • +
  • -

#3 sontek  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 283
  • Joined: 13-September 01

Re: Creating Forms at run-time in VC#

Posted 12 October 2005 - 07:45 PM

Form form = new Form();
form.Show();

would create a form... And you could always add controls to it with form.Controls.Add(whatever)

If that is what you're asking for. :pirate:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1