public static SetForegroundWindow ( |
||
hwnd | window handle | |
리턴 | bool |
/// <summary> /// Set focus to this scanner /// </summary> /// <param name="sender">event sender</param> /// <param name="e">event args</param> private void SwitchLanguageScanner_Shown(object sender, EventArgs e) { Windows.SetForegroundWindow(Handle); Windows.ClickOnWindow(this); }
/// <summary> /// Set focus to this scanner /// </summary> /// <param name="sender">event sender</param> /// <param name="e">event args</param> private void FileBrowserScanner_Shown(object sender, EventArgs e) { Windows.SetForegroundWindow(Handle); Windows.ClickOnWindow(this); }