示例#1
0
 public override void UpdateDataSet(ReworksDataSet ds)
 {
     ReworksDataSet.ControllerRow r =
         ds.Controller.FindByContId(id);
     r.ContPosX = xPos;
     r.ContPosY = yPos;
 }
示例#2
0
 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);
 }