C# Class withSIX.Core.Presentation.Wpf.Services.NativeMethods

Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
MinimizeWindow ( Process process ) : void
SetForeground ( Process process, int cmdShow = SW_SHOWNORMAL ) : void

Private Methods

Method Description
EnumWindows ( int>.Action x, int y ) : int
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
MaximizeWindow ( Process process ) : void
SetForeground ( Process processes ) : void
SetForeground ( string process ) : void
SetForegroundWindow ( IntPtr hwnd ) : bool
ShowWindow ( IntPtr hwnd, int nCmdShow ) : bool
ShowWindow ( Process process ) : void
ShowWindowAsync ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

MinimizeWindow() public static method

public static MinimizeWindow ( Process process ) : void
process System.Diagnostics.Process
return void

SetForeground() public static method

public static SetForeground ( Process process, int cmdShow = SW_SHOWNORMAL ) : void
process System.Diagnostics.Process
cmdShow int
return void