Hi,
I'm using Telerik V2012.2.912.35 on a Windows 7 OS and when I minimized my RadWindow to my taskbar, if I bring my mouse over the application on the taskbar I see a small window representing my RadWindow, If I click on the little red X in the upper right corner my application crash.
Here is the code I use to create an instance and display my RadWindow:
mSignatureFormOpened = new SignatureForm();
mSignatureFormOpened.ShowDialog();
When I close it, I have to following exception but when the WindowState is normal or maximized everything are fine:
System.InvalidOperationException was unhandled by user code
Message="Impossible de définir Visibility à Visible ou d'appeler Show, ShowDialog ou Close lorsque la fenêtre est en cours de fermeture."
Source="PresentationFramework"
StackTrace:
à System.Windows.Window.VerifyNotClosing()
à System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
à System.Windows.Window.Close()
à Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Close() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowWithNoChromeWindowHost.cs:ligne 60
à Telerik.Windows.Controls.WindowBase.CloseHostImidiately() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1229
à Telerik.Windows.Controls.WindowBase.OnCloseAnimationFinished() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1071
à Telerik.Windows.Controls.WindowBase.PlayCloseAnimation() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1017
à Telerik.Windows.Controls.WindowBase.TryClose(Boolean shouldCloseHost) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 652
à Telerik.Windows.Controls.WindowBase.Telerik.Windows.Controls.InternalWindow.IWindowDragAware.TryClose(Boolean shouldCloseHost) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1257
à Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.OnWindowClosing(Object sender, CancelEventArgs e) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowWithNoChromeWindowHost.cs:ligne 251
à System.Windows.Window.OnClosing(CancelEventArgs e)
à System.Windows.Window.WmClose()
InnerException:
Thank's
Alain
I'm using Telerik V2012.2.912.35 on a Windows 7 OS and when I minimized my RadWindow to my taskbar, if I bring my mouse over the application on the taskbar I see a small window representing my RadWindow, If I click on the little red X in the upper right corner my application crash.
Here is the code I use to create an instance and display my RadWindow:
mSignatureFormOpened = new SignatureForm();
mSignatureFormOpened.ShowDialog();
When I close it, I have to following exception but when the WindowState is normal or maximized everything are fine:
System.InvalidOperationException was unhandled by user code
Message="Impossible de définir Visibility à Visible ou d'appeler Show, ShowDialog ou Close lorsque la fenêtre est en cours de fermeture."
Source="PresentationFramework"
StackTrace:
à System.Windows.Window.VerifyNotClosing()
à System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
à System.Windows.Window.Close()
à Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Close() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowWithNoChromeWindowHost.cs:ligne 60
à Telerik.Windows.Controls.WindowBase.CloseHostImidiately() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1229
à Telerik.Windows.Controls.WindowBase.OnCloseAnimationFinished() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1071
à Telerik.Windows.Controls.WindowBase.PlayCloseAnimation() dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1017
à Telerik.Windows.Controls.WindowBase.TryClose(Boolean shouldCloseHost) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 652
à Telerik.Windows.Controls.WindowBase.Telerik.Windows.Controls.InternalWindow.IWindowDragAware.TryClose(Boolean shouldCloseHost) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:ligne 1257
à Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.OnWindowClosing(Object sender, CancelEventArgs e) dans c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowWithNoChromeWindowHost.cs:ligne 251
à System.Windows.Window.OnClosing(CancelEventArgs e)
à System.Windows.Window.WmClose()
InnerException:
Thank's
Alain