protected override void Assign(BaseControlViewInfo info) { if (OwnerEdit != null) { base.Assign(info); } }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); DateTapeViewInfo viewInfo = info as DateTapeViewInfo; DayBounds = viewInfo.DayBounds; HourBounds = viewInfo.HourBounds; MinuteBounds = viewInfo.MinuteBounds; SelectionBounds = viewInfo.SelectionBounds; }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); CustomIconTextEditViewInfo be = info as CustomIconTextEditViewInfo; if (be == null) { return; } this.fIconRect = be.fIconRect; }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); MyProgressBarViewInfo be = info as MyProgressBarViewInfo; if (be == null) { return; } this.percents = be.percents; this.position = be.position; }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); DragImageEditViewInfo be = info as DragImageEditViewInfo; if (be == null) { return; } this.Image = be.Image; this._HorizontOffset = be._HorizontOffset; this._VerticalOffset = be._VerticalOffset; }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); RatingControlViewInfo be = info as RatingControlViewInfo; if (be == null) { return; } this.percents = be.percents; this._images = be._images; this.position = be.position; this.hotTrackValue = be.hotTrackValue; }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); IPhoneCheckEditViewInfo view = (info as IPhoneCheckEditViewInfo); if (view == null) { return; } this.infoText = view.infoText; this.buttonImageIndex = view.backgroundImageIndex; this.buttonImageIndex = view.buttonImageIndex; this.backgroundRect = view.backgroundRect; this.buttonRect = view.buttonRect; this.infoTextLocation = view.infoTextLocation; }
public override void DrawTrackLine(TrackBarObjectInfoArgs e) { Rectangle rec = e.ViewInfo.TrackBarHelper.Rotate(e.ViewInfo.TrackLineRect); rec.X = e.ViewInfo.PointsRect.X; rec.Width = e.ViewInfo.PointsRect.Width; ProgressBarControl prb = (e.ViewInfo.Item as MyRepositoryItemTrackBar).Progress; if (prb == null) { base.DrawTrackLine(e); return; } BaseControlViewInfo vi = prb.GetViewInfo(); vi.CalcViewInfo(e.Graphics, MouseButtons.None, Point.Empty, rec); ControlGraphicsInfoArgs args = new ControlGraphicsInfoArgs(vi, e.Cache, rec); vi.Painter.Draw(args); }
protected override void Assign(BaseControlViewInfo info) { base.Assign(info); }