Home > Net >  Winform child form. The Owner call child form minimize cannot follow the main form
Winform child form. The Owner call child form minimize cannot follow the main form

Time:10-03

Main form after A call child form B,
Child form B to call their child form C, B
Within the b
 
Var c=new frmC ();
C.O wner=this;
C.s. how ();

How can the child form B child form C can follow the main form of A minimized

When the Owner of the parent window is minimized, the response of the child window

The window of the relationship between the Owner,

The Owner window hidden, child window will not hide,

Minimize the Owner window, child window hide,

The relationship between the Parent window,

The Parent window is hidden, child window hidden,

The Parent window is minimized, child window hidden,
So when main form A minimization, hidden child form B, and B child form because it is the owner, not B hidden, along with the minimized.
How can the child form B child form C can follow main form A minimized
  •  Tags:  
  • C#
  • Related