in this event
void TabbedMdiManager_TabClosing(object sender, CancelableMdiTabEventArgs e) { }
how can I get the Property "CloseReason" in e?
I debug the program and find the CloseReason in e, but I can't get it.....
Very clever, this works fine.
Thank you very much!
I resolved it like this
:
if ((e as MdiTabClosingEventArgs).CloseReason == MdiTabCloseReason.FormClosed) return;