Example #1
0
 public override void UpdateDataSet(ReworksDataSet ds)
 {
     ReworksDataSet.ScanerRow r =
         ds.Scaner.FindByScanId(id);
     r.ScanPosX = xPos;
     r.ScanPosY = yPos;
 }
Example #2
0
 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);
 }