public override ShowResult Show(System.Windows.Forms.IWin32Window Owner) { CatalogExplorerControl c = new CatalogExplorerControl(Consumer); c.Show(); return ShowResult.Canceled; }
public override ShowResult Show(System.Windows.Forms.IWin32Window Owner) { CatalogExplorerControl c = new CatalogExplorerControl(Consumer); c.Show(); return(ShowResult.Canceled); }
public override ShowResult Show(System.Windows.Forms.IWin32Window Owner) { CatalogExplorerControl c = new CatalogExplorerControl(Consumer); // The following allows keyboard input/navigation with controls in WPF windows // which have been loaded via Windows Forms. // See http://weblogs.asp.net/jdanforth/archive/2008/07/29/open-a-wpf-window-from-winforms.aspx ElementHost.EnableModelessKeyboardInterop(c); c.Show(); return ShowResult.Canceled; }