Exemple #1
0
 public BindableConfig()
 {
     _attribute = Configuration.Instance;
     PropertyChanged += (sender, e) => { };
 }
Exemple #2
0
 private static Configuration initializeConfig()
 {
     Configuration c = new Configuration();
     c.WindowLeft = 50.0;
     c.WindowTop = 50.0;
     c.WindowWidth = 960.0;
     c.WindowHeight = 540.0;
     c.SaveFolder = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
     c.AutoSave = false;
     c.SaveJson();
     return c;
 }