Ejemplo n.º 1
0
        private void InitializeRecorders()
        {
            videoRecorder    = new VideoRecorder();
            snapshotRecorder = new SnapshotRecorder();

            //videoRecorder.CompressionComplete += new EventHandler(videoRecorder_CompressionComplete);
            //videoRecorder.CompressionError += new System.IO.ErrorEventHandler(videoRecorder_CompressionError);
        }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();
            InitializeInputManager();

            arDroneControl = new ARDroneControl();

            InitializeAviationControls();

            videoRecorder    = new VideoRecorder();
            snapshotRecorder = new SnapshotRecorder();

            videoRecorder.CompressionComplete += new EventHandler(videoRecorder_CompressionComplete);
            videoRecorder.CompressionError    += new ErrorEventHandler(videoRecorder_CompressionError);
        }