public Clock(PluginLayout layout) : base(layout) { //Use the German layout by default _wordProvider = new TimeWordGerman(); _color = Color.White; _printPrefix = true; InitializeTimer(); }
/// <summary> /// Initialize the object /// </summary> public void Init() { //Use the German layout by default m_WordProvider = new TimeWordGerman(); m_OldTime = DateTime.Now.AddDays(-1); //Initialize the old time. Subtract a day to ensure that the time is different the first time }