Child form

This is a discussion on Child form within the C# Programming forums, part of the General Programming Boards category; I have a form but want it to start a child form when I press a certain button. The result ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    41

    Child form

    I have a form but want it to start a child form when I press a certain button. The result do I intend to return through a Singleton.

    How do I do this (the form part of it)?

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Code:
    private void button_Click(/*args*/)
    {
         Form childForm = new Form();
         childForm.Show();
    }
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  2. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 07:53 AM
  3. Windows Form App as parent, Directx as child??
    By yetti82 in forum C++ Programming
    Replies: 3
    Last Post: 05-29-2006, 03:04 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. Using informaion from a database in a child of a form
    By Robert602 in forum Windows Programming
    Replies: 1
    Last Post: 01-27-2002, 02:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21