public MainWindow()
 {
     InitializeComponent();
     GAP              = new GlobalAppData();
     RM               = new ResourceManager("FlightLogConverter.Properties.TlogLabels", Assembly.GetExecutingAssembly());
     Parser           = new MessageParser();
     this.DataContext = GAP;
     BL               = new BinaryLog();
     BP               = new BINParser();
 }
 private void DisableSettings()
 {
     if (sw != null)
     {
         sw.Dispose();
     }
     GAP.LoadedStatus        = "No File Loaded";
     FileLabel.Visibility    = Visibility.Hidden;
     RemoveButton.IsEnabled  = false;
     CSVButton.IsEnabled     = false;
     SelectButton.IsEnabled  = false;
     ClearButton.IsEnabled   = false;
     progressbar1.Visibility = Visibility.Hidden;
     Parser = new MessageParser();
     BP     = new BINParser();
 }