public override bool Equals(object obj) { ComboxOperation o = obj as ComboxOperation; if (o == null) { return(false); } return(Restriction == o.Restriction); }
private void bindingSource_condition_CurrentChanged(object sender, EventArgs e) { ComboxOperation item = this.bindingSource_condition.Current as ComboxOperation; this.Restriction = item.Restriction; }