コード例 #1
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings = settings;
            this.recording = recording;

            SetupControlValues();
        }
コード例 #2
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings  = settings;
            this.recording = recording;

            SetupControlValues();
        }
コード例 #3
0
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording = recording;
            this.settings = settings;
            this.renderer = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
コード例 #4
0
ファイル: EncodingDlg.cs プロジェクト: carlhuth/GenXSource
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording   = recording;
            this.settings    = settings;
            this.renderer    = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
コード例 #5
0
        public void StartRecording(RecordingSettings settings)
        {
            ViewRecording.ViewRecorder vr = new ViewRecording.ViewRecorder();
            ViewRecording rec = new ViewRecording(vr);
            EncodingDlg dlg = new EncodingDlg(rec, RecordingSettings.DefaultsInstance, "c:/testOut.avi", renderContext);
            dlg.ShowDialog(this);

            // start recording actions
            //if (settings == null)
            //    this.rSettings = RecordingSettings.DefaultsInstance;
            //else
            //    this.rSettings = settings;

            //controlHandler.Recorder = new ViewRecording.ViewRecorder();
            //renderContext.Recording = true;
        }