thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

Showing child form shows 2 forms #89

Open kl4s3k opened 7 years ago

kl4s3k commented 7 years ago

To replicate:

  1. Create a Windows Forms project (inherit MetroForm)

  2. Add another windows form (inherit MetroForm)

  3. From the first form, create an instance of the second form with properties:

    TopLevel = false; Parent = this;

  4. Show the second form

Result:

The second form is shown, along with another, regular windows form with nothing but a black background and no title.

Picture of result:

https://i.imgur.com/xf9Vzop.png