internal void editAccount(CmisSync.Lib.Config.SyncConfig.Account account) { if (account == null) { return; } Views.AccountWindow w = new Views.AccountWindow(new ViewModels.AccountViewModel(this, account)); w.ShowDialog(); }
internal CmisSync.Lib.Config.SyncConfig.Account createNewAccount() { CmisSync.Lib.Config.SyncConfig.Account account = new Config.SyncConfig.Account(); Views.AccountWindow w = new Views.AccountWindow(new ViewModels.AccountViewModel(this, account)); w.ShowDialog(); return account; }