public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

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

            SetupControlValues();
        }
Esempio n. 2
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

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

            SetupControlValues();
        }
Esempio n. 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);
        }
Esempio n. 4
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);
        }
Esempio n. 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;
        }