public override void UpdateDataSet(ReworksDataSet ds) { ReworksDataSet.ScanerRow r = ds.Scaner.FindByScanId(id); r.ScanPosX = xPos; r.ScanPosY = yPos; }
public ScanGlyph(ReworksDataSet.ScanerRow r) { this.id = r.ScanId; this.name = r.ScanName; this.children = null; this.status = GlyphStatus.On; this.type = GlyphType.Scaner; this.xPos = (int)r.ScanPosX; this.yPos = (int)r.ScanPosY; this.bmp = Properties.Resources.Scaner; this.bmp.MakeTransparent(Color.Magenta); }