Пример #1
0
 public VecsStoreNode(VMCertStoreServerNode node, string storeName, ScopeNode parent) : base(node)
 {
     DisplayName = storeName;
     StoreName   = storeName;
     Parent      = parent;
     AddChildren();
 }
Пример #2
0
        public VecsStoreNode (VMCertStoreServerNode node, string storeName, ScopeNode parent) : base (node)
        {
            DisplayName = storeName;
            StoreName = storeName;
            Parent = parent;
            AddChildren ();

        }
Пример #3
0
 public ScopeNode ChildAtIndex(int n)
 {
     if (this.Children != null && n < NumberOfChildren())
     {
         ScopeNode item = this.Children [n];
         return(item);
     }
     else
     {
         return(null);
     }
 }
Пример #4
0
 private void DeleteStore()
 {
     UIErrorHelper.CheckedExec(delegate() {
         if (UIErrorHelper.ConfirmDeleteOperation("Are you sure?") == true)
         {
             ServerNode.ServerDTO.VecsClient.DeleteStore(StoreName);
             this.Children.Clear();
             ScopeNode node = this.Parent;
             if (node != null)
             {
                 node.Children.Remove(this);
                 ServerNode.RemoveStoreInfo(StoreName);
                 NSNotificationCenter.DefaultCenter.PostNotificationName("ReloadOutlineView", node);
             }
         }
     });
 }
Пример #5
0
 void AddViewDescription(ScopeNode node, MmcListViewDescription lvd)
 {
     node.ImageIndex = node.SelectedImageIndex = (int)VMCertStoreImageIndex.PrivateEntities;
     node.ViewDescriptions.Add(lvd);
     node.ViewDescriptions.DefaultIndex = 0;
 }
 public OutlineViewDataSource (ChildScopeNode node) : base ()
 {
     RootNode = node;
 }
Пример #7
0
 void AddViewDescription(ScopeNode node, MmcListViewDescription lvd)
 {
     node.ViewDescriptions.Add(lvd);
     node.ViewDescriptions.DefaultIndex = 0;
 }