virtual internal void SetStateId(string stateId) { // remove the old prefix+number from the list StatePrefixAndNumberManager.Remove(this); Common.SetCellString(shape, ShapeProperties.Play.StateId, stateId); shape.Text = StateIdForDisplay(stateId); // add the new prefix+number to the list StatePrefixAndNumberManager.Add(this, shape); }
public StateShadow(Shape shape) : base(shape) { StatePrefixAndNumberManager.Add(this, shape); }