public override void UpdateDataSet(ReworksDataSet ds) { ReworksDataSet.TerminalRow r = ds.Terminal.FindByTermId(id); r.TermPosX = xPos; r.TermPosY = yPos; }
public TermGlyph(ReworksDataSet.TerminalRow r) { this.id = r.TermId; this.name = r.TermName; this.children = null; this.status = GlyphStatus.On; this.type = GlyphType.Terminal; this.xPos = (int)r.TermPosX; this.yPos = (int)r.TermPosY; this.bmp = Properties.Resources.Terminal; this.bmp.MakeTransparent(Color.Magenta); }