Thread: Child form

  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,071
    Code:
    private void button_Click(/*args*/)
    {
         Form childForm = new Form();
         childForm.Show();
    }
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

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, 03:49 PM