示例#1
0
 internal void Edit(RepositoryNode node)
 {
     if (RepositoryDialogManager.Show(node.Repository, false))
     {
         this.UpdateRepositoryNode(node);
     }
 }
示例#2
0
        public void AddCxFromTemplate(Repository template)
        {
            Repository repository = template.Clone();

            repository.ID = Guid.NewGuid();
            if (RepositoryDialogManager.Show(repository, false))
            {
                repository.SaveToDisk();
                this.AddCx(repository, true, true);
            }
        }
示例#3
0
        public void AddCx()
        {
            Repository repository2 = new Repository {
                Persist = true
            };

            if (RepositoryDialogManager.Show(repository2, true))
            {
                repository2.SaveToDisk();
                this.AddCx(repository2, true, true);
            }
        }