Exemplo n.º 1
0
 public void Open(string path)
 {
     Config = new ConfigViewModel(ZetboxConfig.FromFile(HostType.None, path, string.Empty), path);
     Config.Repair();
     SaveCommand.OnCanExecuteChanged();
     SaveAsCommand.OnCanExecuteChanged();
 }
Exemplo n.º 2
0
 public void New()
 {
     Config = new ConfigViewModel(new ZetboxConfig(), null);
 }