/// <summary> /// 激活窗口并置顶 /// </summary> /// <param name="window"></param> public void SetActiveWindow(NativeWindowModel window) { User32Window.SetActiveWindow(window.Handle); User32Window.SetForegroundWindow(window.Handle); }
/// <summary> /// 激活窗口并置顶 /// </summary> /// <param name="window"></param> public void SetActiveWindow(NativeWindowModel window) { User32Window.SetActiveWindow(window.Handle); User32Window.SetForegroundWindow(window.Handle); }