主窗体绑定
System.Windows.Interop.WindowInteropHelper mainUI = new System.Windows.Interop.WindowInteropHelper(view);
mainUI.Owner = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle;
view.ShowDialog();
WELCOME
a:hover { cursor:url(https://files.cnblogs.com/files/laoguantongxiegogo/click_24px_1231393_easyicon.net.ico),auto; } body { cursor:url(https://files.cnblogs.com/files/laoguantongxiegogo/pointer_24px_1231389_easyicon.net.ico),auto; } System.Windows.Interop.WindowInteropHelper mainUI = new System.Windows.Interop.WindowInteropHelper(view);
mainUI.Owner = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle;
view.ShowDialog();