Windows Forms Programming
Tags :
Windows Forms, .NET Framework, testing, Microsoft, .NET, Microsoft .Net framework, Microsoft .Net, C#
Industry :
IT Services, Technology Consulting
Functional Area : Architecture, Programming Languages |
|
|
Follow this Topic |
more actions >>
|
About "Windows Forms Programming" topic:
Discussion on Windows Forms Programming
1 insight
on topic: "Windows Forms Programming"
Prev1NextShowing 1 - 1 of 1
|
(rate this)
|
[System.Runtime.InteropServices.DllImport('gdi32.dll')] public static extern long BitBlt (IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop); private Bitmap memoryImage; private void CaptureScreen() { Graphics mygraphics = this.CreateGraphics(); Size s = this.Size; memoryImage = new Bitmap(s.Width, s.Height, mygraphics); Graphics memoryGraphics = Graphics.FromImage(memoryImage); IntPtr dc1 = mygraphics.GetHdc(); IntPtr dc2 = memoryGraphics.GetHdc(); BitBlt(dc2, 0, 0, this.ClientRectangle.Width, this.ClientRectangle.Height, dc1, 0, 0, 13369376); mygraphics.ReleaseHdc(dc1); memoryGraphics.ReleaseHdc(dc2); } private void printDocume...
Insight: "Printing the Form (Visual C#)" deleted from your view.
Prev1NextShowing 1 - 1 of 1
Other knowledge matching "Windows Forms Programming" topic
Similar Topics
1 insight
, 1 idea contests
, 2 question
2 insight
, 1 debates
Windows Server is the most advanced Microsoft operating system bearing the...
1 insight
, 1 question
The leap from single-core to multi-core technology is altering computing as...
2 insight
, 1 debates
, 3 question
Discussion on Windows Communication Foundation (WCF) Programming
1 insight
, 1 debates
Sponsored Jobs