By overriding the timer1_Tick method of ctlClock and adding additional code to it, you will extend the capability of ctlAlarmClock while retaining all of the inherent functionality of ctlClock.
英
美
- 通过重写ctlClock的timer1_Tick方法并向其中添加更多代码,ctlAlarmClock的功能将得到扩展,同时会保持继承的所有ctlClock功能。