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); }
public WaitSquare(ProgressSquare theFirstSquare) { first = theFirstSquare; }