ShowDialog / Hide

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have frmMain.frmFindPart.ShowDialog() in frmmain.

When I try to me.hide in frmfindpart it hides the whole
app, I also tried frmMain.frmFindPart.SendToBack().

Thanks
 
Jonathan won't it close the form all together so the
initialize and load events will fire the next time I show?

Aaron
 
Hi Aaron, the load event will fire on the next ShowDialog(). However if you
use the same instance of the form (ie don't *new* another instance), the the
constructor and thus InitializeComponent *will not* be executed again.
-j
--
Jonathan Wells
Product Manager
..NET Compact Framework
Check out the .NET Compact Framework FAQ at:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top