public void OnModelChanged(EnumModelType mt, EnumDataChange dc) { if (ModelChanged != null) { ModelChanged(this, new ModelChangeEvent(mt, dc)); } }
public Bicycle() { this.serialNo = 0; this.RimType = EnumRimType.Undefined; this.color = EnumColor.Undefined; this.madeBy = "Undefined"; this.price = 0.00; this.speed = 0; this.groundClearance = 0.00; this.seatHeight = 0.00; this.suspensionType = EnumSusType.Not_Applicable; this.model = EnumModelType.Undefined; }
public Bicycle(int serNo, EnumRimType rimTyp, EnumColor col, string madeby, double price, int speed, double groundClr, double seatHgt, EnumSusType susType, EnumModelType model) { this.serialNo = serNo; this.RimType = rimTyp; this.color = col; this.madeBy = madeby; this.price = price; this.speed = speed; this.groundClearance = groundClr; this.seatHeight = seatHgt; this.suspensionType = susType; this.model = model; }
protected internal EnumAllProperty(EnumModelType declaringType) : base(declaringType, "All", null, null, null, true, declaringType, true, true, false, new Attribute[] { }) { }
public ModelChangeEvent(EnumModelType mt, EnumDataChange ct) { this.modelType = mt; this.changeType = ct; }