Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8553

Prevent Ero.Forms.Dialog from Closing

$
0
0

@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 to True in order to prevent closing. How to do it in Eto case?

Thanks,
Dmitriy

Tha

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8553

Trending Articles