MDIChild forms maximizebox.

  • Thread starter [ F e r n a n d o L o p e s ]
  • Start date
F

[ F e r n a n d o L o p e s ]

Hello ALL,
I have this situation:
1. A MDI Form named frmPrincipal;
2. A MDIChild form named frmCustomers;

When I show the frmCustomers form, from a click event of a button of
frmPrincipal, like this:

frmCustomers.MdiParent = this;
frmCustomers.WindowState = FormWindowState.Maximized;
frmCustomers.Show()

The frmCustomers form shows ok, but the minimizebox, maximizebox and
controlbox appears, and I can´t like this.
In the frmCustomers properties I set false to maximizebox, controlbox and
minimizebox, but they appears yet.
I try to remove the border of the form (set FormBorderStyle = None) but
don´t work too.

Please, how can I hide this buttons?

Thanks in advance and sorry my English.

Fernando Lopes
Marília - São Paulo - Brazil.
 
H

Herfried K. Wagner

Hello,

I have this situation:
1. A MDI Form named frmPrincipal;
2. A MDIChild form named frmCustomers;

When I show the frmCustomers form, from a click event of a
button of frmPrincipal, like this:

frmCustomers.MdiParent = this;
frmCustomers.WindowState = FormWindowState.Maximized;
frmCustomers.Show()

The frmCustomers form shows ok, but the minimizebox,
maximizebox and controlbox appears, and I can´t like this.
In the frmCustomers properties I set false to maximizebox,
controlbox and minimizebox, but they appears yet.

I don't know a solution but IMO this is a bug in Windows Forms.

Regards,
Herfried K. Wagner
 
T

T Waldren

I was wondering this as well. I have tried everything I can think of, and
yet they still appear. If anyone has any suggestions for this, it would be
appreaciated.

T. Waldren
 
D

Dasvoldus

T said:
I was wondering this as well. I have tried everything I can think of, and
yet they still appear. If anyone has any suggestions for this, it would be
appreaciated.

T. Waldren


message news:%[email protected]...
I too am experiencing this issue, it definitely appears to be a bug.
 
G

Guest

Set the ControlBox property of the mdichild to false and text property to
string.empty
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top