Пример #1
0
 private static void displayTimeTimer_Tick(object state)
 {
     if (isTimeSet)
     {
         Window_Manager.UpdateTime_Tick(DateTime.Now);
     }
     else
     {
         Window_Manager.UpdateTime_Tick(new DateTime(0));
     }
 }
Пример #2
0
        private void Initialize()
        {
            SD_Card.Initialize();
            ApplicationSettings.Initialize();
            Fertilize_Manager.Initialize();
            Window_Manager.Initialize();
            Ethernet.Initialize();
            Time_Service.Initialize();


            Window_Manager.changeWindow(Window_Manager.window_Main);

            Debug.Print("Initializing finished.");
        }