Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7583211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:37:33+00:00 2026-05-30T18:37:33+00:00

hello i am working on a small uni project. nad the problem is that

  • 0

hello i am working on a small uni project. nad the problem is that when i click on a button it has to show a child form in a MDI Container.

but that isnt working. all the properties are set right.

the mdi container itself contains a splitcontainer and some buttons,text fields , labels etc.

the code to a button is as follows

    private void ChangeRecipe_Click(object sender, EventArgs e)
    {
        Form rec = new recipe();
        rec.MdiParent = this;
        rec.Show();
    }

this is how i am calling it but i dont see any forms being displayed inside or outside the container.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:37:33+00:00Added an answer on May 30, 2026 at 6:37 pm

    The window is there, you just can’t see it. It is behind your SplitContainer.

    MDI child windows are parented to the MDI client window, the dark gray window inside the parent. You cannot put any controls on the MDI parent unless you dock them to an edge. Which makes the MDI client window shrink and fit the remaining space. That pretty much kills the idea of using a splitter. No workaround for this, by design for MDI.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello Ruby/Rails/Merb developers! Im currently working on a web project that will have a
Hello i am working about a articles script i have a small problem in
First question here so hello everyone. The requirement I'm working on is a small
Hello I am working with a simulator that uses rcS scripts to boot, this
Hello I have this list that i am working on. When i move the
I'm working on a small site that I would like to change a little
I am working on a small project. I wish to add an anchor tag
Hello all I'm working on a little project where I'm adding controls to a
Hello there i've written a small functions that takes two lists and compares them
I am having a weird problem with a small restlet service that I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.