Exemplo n.º 1
0
 private void Start()
 {
     DateAndTime.TimeZone    = TimeZone;
     _FromDate.DateTimeStyle = DateAndTime;
     _FromDate     = DateAndTime.GetDatePAC();
     _FromDate.Day = 1;
     FromDate.CopyTo(_ShowOfDate);
     Saturday.Text  = DateAndTime.GetDayOfWeekName(0);
     Sunday.Text    = DateAndTime.GetDayOfWeekName(1);
     Monday.Text    = DateAndTime.GetDayOfWeekName(2);
     Tuesday.Text   = DateAndTime.GetDayOfWeekName(3);
     Wednesday.Text = DateAndTime.GetDayOfWeekName(4);
     Thursday.Text  = DateAndTime.GetDayOfWeekName(5);
     Friday.Text    = DateAndTime.GetDayOfWeekName(6);
 }
Exemplo n.º 2
0
 private void State_Compute()
 {
     l_Date.Text          = DateAndTime.GetDate();
     l_DayOfWeek.Text     = DateAndTime.GetDayOfWeekName();
     pb_AirView.BackColor = DateAndTime.GetSkyColor();
 }