Hi,
I'm using registered version of Rad Controls for WinForms SP2, in particular I'm using DockingManager control.
I have some some dockPanels and some documentPanels. I would like to handle documentPanel_closing events. (Ex: to check if the content was saved by user)
I use the following code:
[DESIGNER - Auto Generated Code]
this.documentPane_Benvenuto.Closing += new System.ComponentModel.CancelEventHandler(this.documentPane_Benvenuto_Closing);
[FORM]
private void documentPane_Benvenuto_Closing(object sender, CancelEventArgs e)
{
MessageBox.Show("documentPane_Benvenuto is closing..");
}
This code doesn't work. When i close the documentPane_Benvenuto the event isn't raised. If i set one breakpoint in the method documentPane_Benvenuto_Closing(...) nothing happen, the method isn't executed.
What is the best way to solve my problem? There is a simple solution o work around to do this?
Thank you very much for support.
Lorenzo
I'm using registered version of Rad Controls for WinForms SP2, in particular I'm using DockingManager control.
I have some some dockPanels and some documentPanels. I would like to handle documentPanel_closing events. (Ex: to check if the content was saved by user)
I use the following code:
[DESIGNER - Auto Generated Code]
this.documentPane_Benvenuto.Closing += new System.ComponentModel.CancelEventHandler(this.documentPane_Benvenuto_Closing);
[FORM]
private void documentPane_Benvenuto_Closing(object sender, CancelEventArgs e)
{
MessageBox.Show("documentPane_Benvenuto is closing..");
}
This code doesn't work. When i close the documentPane_Benvenuto the event isn't raised. If i set one breakpoint in the method documentPane_Benvenuto_Closing(...) nothing happen, the method isn't executed.
What is the best way to solve my problem? There is a simple solution o work around to do this?
Thank you very much for support.
Lorenzo