public void Initialize(RegisterGrid parent, uint pins_pos, uint tris_pos) { ParentWindow = parent; Position_PINS = pins_pos; Position_TRIS = tris_pos; ParentWindow.RegisterChanged += OnRegisterChanged; setTRIS(ParentWindow.get(Position_TRIS)); setPINS(ParentWindow.get(Position_PINS)); }
public void Initialize(RegisterGrid parent, uint pos) { ParentWindow = parent; Position = pos; ParentWindow.RegisterChanged += OnRegisterChanged; SetValue(ParentWindow.get(Position)); }
public void ChangeSource(uint p) { Position = p; SetValue(ParentWindow.get(Position)); }