public CircuitDescriptorList(CircuitProject circuitProject) : base() { this.circuitProject = circuitProject; this.circuitProject.LogicalCircuitSet.LogicalCircuitSetChanged += new EventHandler(this.LogicalCircuitSetChanged); this.circuitProject.ProjectSet.Project.PropertyChanged += new PropertyChangedEventHandler(this.ProjectPropertyChanged); if (CircuitDescriptorList.primitiveList == null) { CircuitDescriptorList.InitPrimitive(); } }
public void Refresh() { CircuitDescriptorList.InitPrimitive(); this.NotifyPropertyChanged(); }