示例#1
0
        public MyProgressIndicator(Color color)
        {
            this.color = color;
            first      = new ProgressSquare(this, color);

            ProgressSquare temp = first;

            for (int i = 0; i < 4; i++)
            {
                temp.Next = new ProgressSquare(this, color);
                temp      = (ProgressSquare)temp.Next;
            }

            temp.Next = new WaitSquare(first);
        }
示例#2
0
 public WaitSquare(ProgressSquare theFirstSquare)
 {
     first = theFirstSquare;
 }