コード例 #1
0
ファイル: FormMain.cs プロジェクト: pikalai/WebMCam
        /// <summary>
        /// Open the formShowFrames dialog
        /// </summary>
        /// <param name="allowDeletion">Results from formShowFrames dialog</param>
        /// <returns></returns>
        private Tuple <bool, int> showFrames(bool allowDeletion)
        {
            var formShowFrames = new FormShowFrames(recorder.tempPath, formOptions.getImageFormat(), allowDeletion);

            formShowFrames.ShowDialog();
            return(new Tuple <bool, int>(formShowFrames.Result, formShowFrames.framesCount));
        }
コード例 #2
0
ファイル: FormMain.cs プロジェクト: Nhowka/WebMCam
 /// <summary>
 /// Open the formShowFrames dialog
 /// </summary>
 /// <param name="allowDeletion">Results from formShowFrames dialog</param>
 /// <returns></returns>
 private Tuple<bool, int> showFrames(bool allowDeletion)
 {
     var formShowFrames = new FormShowFrames(recorder.tempPath, formOptions.getImageFormat(), allowDeletion);
     formShowFrames.ShowDialog();
     return new Tuple<bool, int>(formShowFrames.Result, formShowFrames.framesCount);
 }