示例#1
0
 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);
         }
     }
 }
示例#2
0
        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();
        }