diff --git a/eDosStation/Settings.xaml.cs b/eDosStation/Settings.xaml.cs index 78aadd3..068b336 100644 --- a/eDosStation/Settings.xaml.cs +++ b/eDosStation/Settings.xaml.cs @@ -70,9 +70,7 @@ namespace eDosStation thisStation.AllowMultipleEPD = cbAllowMultipleEPD.IsChecked != null ? cbAllowMultipleEPD.IsChecked.Value : false; - - thisStation.WriteConfig32 = cbWriteConfig32.IsChecked != null ? cbWriteConfig32.IsChecked.Value : false; - + //thisStation.WriteConfig32 = cbWriteConfig32.IsChecked != null ? cbWriteConfig32.IsChecked.Value : false; thisStation.Update(); this.Close(); if (thisStation.Error > 0) @@ -88,9 +86,16 @@ namespace eDosStation private void Window_Loaded(object sender, RoutedEventArgs e) { - string eDosCom = devcon.FindEdosCom(); + string eDosCom = null; + try { + eDosCom = devcon.FindEdosCom(); + } + catch { } + try + { + using (var a = new LSWDesfirePublic.CCard()) { a.GetReaderList();