public static void BringToTop(System.Windows.Window form) { form.Show(); form.BringIntoView(); IntPtr hwnd = new WindowInteropHelper(form).Handle; SetForegroundWindow(hwnd); }
public static void BringToTop(System.Windows.Window form) { form.Show(); form.BringIntoView(); IntPtr hwnd = new WindowInteropHelper(form).Handle; SetForegroundWindow(hwnd); }