public FlightLogReviewWindow()
        {
            InitializeComponent();

            //            MouseDoubleClick += (sender, e) => SaveScreenshot();
            _dataProvider = new FlightLogDataProvider(PositionTopView.XYLineChart, AccelerometerView.XYLineChart,
                                                      HeightView.XYLineChart);

            // By default load the last flightlog
            const string defaultFileLog = @"flightpath.xml";
            if (File.Exists(defaultFileLog))
                LoadFlightLog(defaultFileLog);
        }
        public FlightLogReviewWindow()
        {
            InitializeComponent();

//            MouseDoubleClick += (sender, e) => SaveScreenshot();
            _dataProvider = new FlightLogDataProvider(PositionTopView.XYLineChart, AccelerometerView.XYLineChart,
                                                      HeightView.XYLineChart);

            // By default load the last flightlog
            const string defaultFileLog = @"flightpath.xml";

            if (File.Exists(defaultFileLog))
            {
                LoadFlightLog(defaultFileLog);
            }
        }