private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     try
     {
         ProtokollerConfiguration.Load();
     }
     catch (Exception ex)
     { }
 }
 protected override void OnStart(string[] args)
 {
     try
     {
         ProtokollerConfiguration.Load();
         myInstance = new ProtokollerInstance(ProtokollerConfiguration.ActualConfigInstance);
         myInstance.Start(true);
     }
     catch (Exception ex)
     {
         Logging.LogText("Exception occured! ", ex, Logging.LogLevel.Error);
     }
 }
        protected override void OnStart(string[] args)
        {
            try
            {
                TaskScheduler.UnobservedTaskException      += TaskScheduler_UnobservedTaskException;
                AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;


                ProtokollerConfiguration.Load();
                myInstance = new ProtokollerInstance(ProtokollerConfiguration.ActualConfigInstance);
                myInstance.Start(true);
            }
            catch (Exception ex)
            {
                Logging.LogText("Exception occured! ", ex, Logging.LogLevel.Error);
            }
        }
 private void cmdReload_Click(object sender, RoutedEventArgs e)
 {
     ProtokollerConfiguration.Load();
 }