int width, height; width = System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Width; height = System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Height; Bitmap MyBit; Rectangle screenRegion = Screen.AllScreens[0].Bounds; MyBit = new Bitmap(width, height, PixelFormat.Format32bppArgb); Graphics MyGraph = Graphics.FromImage(MyBit); MyGraph.CopyFromScreen(screenRegion.Left, screenRegion.Top, 0, 0, screenRegion.Size); sBit.Save(<>);
Wednesday, March 17, 2010
Print Screen using C#
-
In object-oriented languages the term "interface" is often used to define an abstract type that contains no data but exposes behav...
-
The following article discusses the WPF command binding feature with relation to Mouse clicks. One of WPF powerful features is the bindin...