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#
-
Creating data driven application is one of the most commonly done task in our day today application development. In these applications, ...
-
The following article discusses the WPF command binding feature with relation to Mouse clicks. One of WPF powerful features is the bindin...
-
Languages of the real and artificial. Web MVC The Model-View-Controller (MVC) architecture is a standard architecture for interact...