public Form1() { InitializeComponent(); _DigitalTimer = DongHoDienTu.getInstance(); this.pnTimer.Controls.Add(_DigitalTimer); _DigitalTimer.TimeOver += TimeOverHandler; }
public static DongHoDienTu getInstance() { if (_Instance == null) { _Instance = new DongHoDienTu(); return(_Instance); } else { return(_Instance); } }