public override bool Equals(object obj) { PropertyConditionItem o = obj as PropertyConditionItem; if (o == null) { return(false); } if (o.Name != Name || o.PropertyType != PropertyType) { return(false); } return(true); }
private void bindingSource_property_CurrentChanged(object sender, EventArgs e) { this.ConditionItem = this.bindingSource_property.Current as PropertyConditionItem; }