Ejemplo n.º 1
0
 public VecsStoreNode(VMCertStoreServerNode node, string storeName, ScopeNode parent) : base(node)
 {
     DisplayName = storeName;
     StoreName   = storeName;
     Parent      = parent;
     AddChildren();
 }
Ejemplo n.º 2
0
        public VecsStoreNode (VMCertStoreServerNode node, string storeName, ScopeNode parent) : base (node)
        {
            DisplayName = storeName;
            StoreName = storeName;
            Parent = parent;
            AddChildren ();

        }
Ejemplo n.º 3
0
 public ScopeNode ChildAtIndex(int n)
 {
     if (this.Children != null && n < NumberOfChildren())
     {
         ScopeNode item = this.Children [n];
         return(item);
     }
     else
     {
         return(null);
     }
 }
Ejemplo n.º 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);
             }
         }
     });
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 7
0
 void AddViewDescription(ScopeNode node, MmcListViewDescription lvd)
 {
     node.ViewDescriptions.Add(lvd);
     node.ViewDescriptions.DefaultIndex = 0;
 }