示例#1
0
 public ClockDisplay(int hour, int minute)
 {
     hours   = new NumberDisplay(24);
     minutes = new NumberDisplay(60);
     SetTime(hour, minute);
     UpdateDisplay();
 }
示例#2
0
 public ClockDisplay()
 {
     hours   = new NumberDisplay(24);
     minutes = new NumberDisplay(60);
     //seconds = new NumberDisplay(60);
     UpdateDisplay();
 }