public void ApplyStrings()
            {
                Heading.Range.Text = heading;
                Vests.Range.Text   = vests;
                Names.Range.Text   = names;

                if (hasOverflow())
                {
                    OverFlowCell.ApplyStrings();
                }
            }
            public int getTotalSpaces()
            {
                int x;

                if (hasOverflow())
                {
                    x = OverFlowCell.getTotalSpaces();
                }

                x = +NoOfVests;

                return(x);
            }
 public void addName(string name)
 {
     if (nameCounter >= NoOfVests)
     {
         // this cell is full
         if (hasOverflow())
         {
             OverFlowCell.addName(name);
         }
         else
         {
             System.Diagnostics.Debug.WriteLine("Too many athletes");
         }
         //throw new OverflowException("Too many names");
     }
     else
     {
         names += name + '\r';
         nameCounter++;
     }
 }
 public void addVest(string vest)
 {
     if (vestCounter >= NoOfVests)
     {
         // this cell is full
         if (hasOverflow())
         {
             OverFlowCell.addVest(vest);
         }
         else
         {
             System.Diagnostics.Debug.WriteLine("Too many vests");
             //   throw new OverflowException("Too many vests");
         }
     }
     else
     {
         vests += vest + '\r';
         vestCounter++;
     }
 }