Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
how can I get this Property in the TabbedMdiManager's event
posted

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.....

Parents
  • 130
    posted

    I resolved it like this

    :

    if ((e as MdiTabClosingEventArgs).CloseReason == MdiTabCloseReason.FormClosed) return;

Reply Children
No Data