public void SaveDiaporama(ImageRetriever imageRetriever, bool diapo) { // Let the user configure the diaporama export. using (formDiapoExport fde = new formDiapoExport(diapo)) { if (fde.ShowDialog() == DialogResult.OK) { DoSave(fde.Filename, fde.FrameInterval, true, fde.PausedVideo ? false : true, fde.PausedVideo, imageRetriever); } } }
public void SaveDiaporama(Int64 _iSelStart, Int64 _iSelEnd, DelegateGetOutputBitmap _DelegateOutputBitmap, bool _diapo) { // Let the user configure the diaporama export. formDiapoExport fde = new formDiapoExport(_diapo); if (fde.ShowDialog() == DialogResult.OK) { DoSave(fde.Filename, null, fde.FrameInterval, _iSelStart, _iSelEnd, true, fde.PausedVideo ? false : true, fde.PausedVideo, _DelegateOutputBitmap); } // Release configuration form. fde.Dispose(); }