public void RefreshStores () { this.Children.Clear (); UIErrorHelper.CheckedExec (delegate() { var stores = ServerNode.ServerDTO.VecsClient.GetStores (); foreach (var store in stores) { var activeNode = new VecsStoreNode (ServerNode, store, this); this.Children.Add (activeNode); } }); }
public void RefreshStores() { this.Children.Clear(); UIErrorHelper.CheckedExec(delegate() { var stores = ServerNode.ServerDTO.VecsClient.GetStores(); foreach (var store in stores) { var activeNode = new VecsStoreNode(ServerNode, store, this); this.Children.Add(activeNode); } }); }
void CreateStore() { MMCActionHelper.CheckedExec(delegate() { var frm = new FormVecsCreateCertStore(); if (MMCDlgHelper.ShowForm(frm)) { var dto = frm.CertStoreDTO; ServerDTO.VecsClient.CreateStore(dto.StoreName, dto.Password); var node = new VecsStoreNode(ServerDTO, dto.StoreName); this.Children.Add(node); } }); }
void RefreshStores() { this.Children.Clear(); MMCActionHelper.CheckedExec(delegate() { var client = new Vecs.VecsClient(ServerDTO.Server, ServerDTO.UserName, ServerDTO.Password); var stores = client.GetStores(); foreach (var store in stores) { var activeNode = new VecsStoreNode(ServerDTO, store); this.Children.Add(activeNode); } }); }