private void loadAnomalyClicked(object sender, RoutedEventArgs e)
        {
            string csvPath = "";

            // Create OpenFileDialog
            Microsoft.Win32.OpenFileDialog openFileDlg = new Microsoft.Win32.OpenFileDialog();

            // Launch OpenFileDialog by calling ShowDialog method
            Nullable <bool> result = openFileDlg.ShowDialog();

            // Get the selected file name
            if (result.ToString() != string.Empty)
            {
                csvPath = openFileDlg.FileName;
            }
            if (!csvPath.Contains(".csv"))
            {
                System.Windows.MessageBox.Show("You need to load file .CSV file!", "Alert", MessageBoxButton.OK);
            }
            else
            {
                this.anomalyCsvPath = csvPath;
                this.dw             = new DashboardWindow(csvPath, csvPath); //default is to load only anomaly file

                startSimulationButton.IsEnabled = true;                      //enable the button of the simulation

                normalFlightCsv.IsEnabled = true;
            }
        }
        private void normalFlightCsv_Click(object sender, RoutedEventArgs e)
        {
            string csvPath = "";

            // Create OpenFileDialog
            Microsoft.Win32.OpenFileDialog openFileDlg = new Microsoft.Win32.OpenFileDialog();

            // Launch OpenFileDialog by calling ShowDialog method
            Nullable <bool> result = openFileDlg.ShowDialog();

            // Get the selected file name
            if (result != null)
            {
                csvPath = openFileDlg.FileName;
                if (!csvPath.Contains(".csv"))
                {
                    System.Windows.MessageBox.Show("You need to load file .CSV file!", "Alert", MessageBoxButton.OK);
                }
                else
                {
                    this.normalCsvPath       = csvPath;
                    this.dw                  = new DashboardWindow(anomalyCsvPath, normalCsvPath);
                    loadAnomalyDet.IsEnabled = true; //enable option to enter dll
                }
            }
        }