Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 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;
 }