private void btSaveSnapshot_Click(object sender, EventArgs e) { using (var dlg = new SaveFileDialog()) { dlg.FileName = "snap.jpg"; if (dlg.ShowDialog() == DialogResult.OK) { _player.Snapshot_Save(dlg.FileName, ImageFormat.Jpeg); } } }
private void btSaveSnapshot_Click(object sender, EventArgs e) { using (var dlg = new SaveFileDialog()) { dlg.FileName = "snap.jpg"; if (dlg.ShowDialog() == DialogResult.OK) { _player.Snapshot_Save(dlg.FileName, ImageFormat.Jpeg); } } }