Example #1
0
        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);
        }
Example #2
0
 public StateShadow(Shape shape) : base(shape)
 {
     StatePrefixAndNumberManager.Add(this, shape);
 }