示例#1
0
        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);
        }
示例#2
0
 private void bindingSource_property_CurrentChanged(object sender, EventArgs e)
 {
     this.ConditionItem = this.bindingSource_property.Current as PropertyConditionItem;
 }