private void button3_Click(object sender, EventArgs e) { SaveImg tmp = new SaveImg() { FileName = Guid.NewGuid().ToString().Replace("-", "") + ".bmp" }; Client.SendDataToALL(BufferFormat.FormatFCA(tmp)); }
private void saveToolStripMenuItem_Click(object sender, EventArgs e) { SaveImg.FileName = ""; if (SaveImg.ShowDialog() != DialogResult.OK) { return; } try { FinalImage.Image.Save(SaveImg.FileName, ImageFormat.Png); } catch { Application.DoEvents(); } }