Horje
screenshot c# WinForms Code Example
screenshot c# WinForms
// doing a screenshot from control "panel2"
string filename = "временный файл.jpeg";
Bitmap printscreen = new Bitmap(panel2.Width - 5, panel2.Height - 5);
Graphics graphics = Graphics.FromImage(printscreen as System.Drawing.Image);
int top = this.Top + panel2.Top + 35;
int left = this.Left + panel2.Left + 10;
graphics.CopyFromScreen(left, top, 0, 0, printscreen.Size);
printscreen.Save(filename, System.Drawing.Imaging.ImageFormat.Jpeg);




Csharp

Related
get user by username c# Code Example get user by username c# Code Example
Replaced OS is obselete Code Example Replaced OS is obselete Code Example
convert string to date c# ddmmyyy Code Example convert string to date c# ddmmyyy Code Example
is odd c# stackoverflow Code Example is odd c# stackoverflow Code Example
how to pass id to modal in asp.net mvc Code Example how to pass id to modal in asp.net mvc Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8