I saw the recent post on how to hide the closing button. I need something different. I basically want to do this:
void dockPanel3_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
dockPanel3.Visible =
false;
e.Cancel =
true;
}
Instead of closing the dockPanel, I just want to hide it so that I can reconstitute it later without losing its contents.
Currently, the "Closing" event is never called, even when I close the whole application.
Thanks.