@Dmitriy wrote:
Hi,
How can I prevent closing of the Dialog?I am getting the following error when use
ShowDialog
:
Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed. System.InvalidOperationException: Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed
As I see WPF dialog has
Cancel
method that can be set toTrue
in order to prevent closing. How to do it in Eto case?Thanks,
DmitriyTha
Posts: 1
Participants: 1