Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            SaveImg tmp = new SaveImg()
            {
                FileName = Guid.NewGuid().ToString().Replace("-", "") + ".bmp"
            };

            Client.SendDataToALL(BufferFormat.FormatFCA(tmp));
        }
Пример #2
0
        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();
            }
        }