MDI Form in .Net ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Miaaa Mukherjee
    New Member
    • Feb 2007
    • 31

    MDI Form in .Net ???

    I want to know how the MDI Forms of VB-6 are created in .Net 2005 ??

    Is it possible to create the MDI forms in .Net or we can create using only the left side menus ??

    Pls suggest me
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by Miaaa Mukherjee
    I want to know how the MDI Forms of VB-6 are created in .Net 2005 ??

    Is it possible to create the MDI forms in .Net or we can create using only the left side menus ??

    Pls suggest me
    In C#, you can just set the IsMDIContainer property on a form. Later, you can assign child forms to render inside it by setting their MDIParent to your container.

    Comment

    • george1106
      New Member
      • Oct 2006
      • 14

      #3
      talking in a sample.. you should put in the IsMDIParent = true

      and when you make instances of the parent children, you whould write

      Form forma2 = new Form();
      forma2.MdiParen t = this;
      forma2.Show();

      that should work. :D

      Comment

      Working...