public override void Refresh() { if ((this.TreeView != null) && (this.TreeView.InvokeRequired)) { this.TreeView.Invoke(new EmptyDelegate(this.Refresh)); return; } this.Text = "RowEntrys"; this.Name = "RowEntrys"; this.ImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.Error); this.SelectedImageIndex = this.ImageIndex; this.Nodes.Clear(); foreach(RowEntry element in (RowEntryCollection)this.Object) { var tc = new RowEntryController(element); this.Nodes.Add(tc.Node); } this.Controller.UIControl.Refresh(); }
public RowEntryNode(RowEntryController controller) : base(controller) { }