C# Class StarryEyes.Nightmare.Windows.Forms.Screen

Datei anzeigen Open project: karno/StarryEyes

Public Methods

Method Description
FromHandle ( IntPtr handle ) : Screen

Get screen which contains specific window.

FromPoint ( Point pt ) : Screen

Get screen which contains specific point.

Private Methods

Method Description
Screen ( System.Windows.Forms wfScreen ) : System
Wrap ( System.Windows.Forms screen ) : Screen

Method Details

FromHandle() public static method

Get screen which contains specific window.
public static FromHandle ( IntPtr handle ) : Screen
handle System.IntPtr Window handle
return Screen

FromPoint() public static method

Get screen which contains specific point.
public static FromPoint ( Point pt ) : Screen
pt System.Windows.Point point offset, this is only supports integer.
return Screen