|
@@ -98,8 +98,13 @@ namespace PRSDesktop
|
|
|
AddProfile.Background = new ImageBrush(PRSDesktop.Resources.add.AsBitmapImage());
|
|
|
DeleteProfile.Background = new ImageBrush(PRSDesktop.Resources.delete.AsBitmapImage());
|
|
|
_settings = new LocalConfiguration<DatabaseSettings>().LoadAll();
|
|
|
- Setup();
|
|
|
|
|
|
+ }
|
|
|
+
|
|
|
+ public override void OnApplyTemplate()
|
|
|
+ {
|
|
|
+ base.OnApplyTemplate();
|
|
|
+ Setup();
|
|
|
bLoading = false;
|
|
|
}
|
|
|
|
|
@@ -527,7 +532,7 @@ namespace PRSDesktop
|
|
|
Client.Close();
|
|
|
Progress.Close();
|
|
|
|
|
|
- MessageBox.Show("Server found at {0}", String.Join(";",autodiscover.URLs));
|
|
|
+ MessageBox.Show(String.Format("Server found at {0}", String.Join(";",autodiscover.URLs)));
|
|
|
UnloadSettings();
|
|
|
}
|
|
|
catch (Exception err)
|