Ejemplo n.º 1
0
        private void SetFastClockStartDateAndTime()
        {
            string date = DatePickerDate.Text;
            string time = TextBoxTime.Text;

            _dateTime = StringToDateTime(date, time);
            FastClock.GetInstance(_dateTime);
        }
Ejemplo n.º 2
0
        private void MetroWindow_Initialized(object sender, EventArgs e)
        {
            _dateTime = GetCurrentTime();

            DatePickerDate.SelectedDate = DateTime.Today;
            TextBoxTime.Text            = _dateTime.ToShortTimeString();
            FastClock.GetInstance(_dateTime);
        }
Ejemplo n.º 3
0
        private void CheckBoxClockRuns_Click(object sender, RoutedEventArgs e)
        {
            FastClock fastClock = FastClock.GetInstance(_dateTime);

            fastClock.IsRunning = !fastClock.IsRunning;
        }