public override void UpdateDataSet(ReworksDataSet ds) { ReworksDataSet.ControllerRow r = ds.Controller.FindByContId(id); r.ContPosX = xPos; r.ContPosY = yPos; }
public ContGlyph(ReworksDataSet.ControllerRow r) { this.id = r.ContId; this.name = r.ContName; this.children = null; this.status = GlyphStatus.On; this.type = GlyphType.Controller; this.xPos = (int)r.ContPosX; this.yPos = (int)r.ContPosY; this.bmp = Properties.Resources.Controller; this.bmp.MakeTransparent(Color.Magenta); }