Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            _telemetryComms.InitializeComPort();
            _videoForm = new VideoForm(_telemetryComms.Data);
            _mapForm = new MapForm();
            _settingsForm = new SettingsForm();
            _outputForm = new OutputForm();
            _telemetryForm = new TelemetryForm(_telemetryComms.Data);

            _uavForm = new UAVForm();
            _uavForm.Show();

            _deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            _telemetryComms.InitializeComPort();
            _videoForm     = new VideoForm(_telemetryComms.Data);
            _mapForm       = new MapForm();
            _settingsForm  = new SettingsForm();
            _outputForm    = new OutputForm();
            _telemetryForm = new TelemetryForm(_telemetryComms.Data);

            _uavForm = new UAVForm();
            _uavForm.Show();

            _deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }