Home > Net >  Beginner c #, call the problem of child form to ask parent form
Beginner c #, call the problem of child form to ask parent form

Time:12-15

JiGouForm JGF=new jiGouForm ();
JGF. MdiParent=this;
JGF. TopLevel=false;
JGF. FormBorderStyle=FormBorderStyle. None;
JGF. WindowState=FormWindowState. Maximized;
JGF. The Show ();
Child form calls, already set without borders, but after the operation on the right side of the parent form menu bar or minimize displays three buttons, such as parent form menu bar to the left of the display window icon, below, to ask you how to solve this problem?

CodePudding user response:

Mdi window does not belong to the Top Level window, hidden frame it's no use.

CodePudding user response:

Whether can set, if the property cannot be set, according to the code can also be forced to disable,

CodePudding user response:

reference 1st floor icoolno1 response:
Mdi window does not belong to a Top Level window, hidden frame it's no use.
set up before this, it would be useless

CodePudding user response:

refer to the second floor lavin mike's reply:
can set, if the property cannot be set, according to whether can also be forced to disable code,
validate attribute set how to set up the code ban what again?

CodePudding user response:

Write in child form FormClosing events e.c. with our fabrication: ancel=true;
  •  Tags:  
  • C#
  • Related