private void timer1_Tick(object sender, EventArgs e) { this.Hide(); System.Drawing.Bitmap Bitmap; Graphics Graps; Bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, PixelFormat.Format32bppArgb); Graps = Graphics.FromImage(Bitmap); string s = comboBox1.SelectedItem.ToString()+" "+ DateTime.Now.ToString(); s = s.Replace(':', '.'); Graps.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy); Bitmap.Save(@"\\192.168.1.10\E:\Screenshotseg\" + s + ".Jpeg", ImageFormat.Jpeg); this.Show(); }
\\192.168.1.10\E:\Screenshotseg\
\\192.168.1.10\E$\Screenshotseg\
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)