Ejemplo n.º 1
0
        private void YesterdayRadioButton_CheckedChanged(object sender, System.EventArgs e)
        {
            MOG_Time start = new MOG_Time();

            start.SubtractDay(1);

            this.ListStartDateTimePicker.Value = new DateTime(start.mYear, start.mMonth, start.mDay, 0, 0, 0, 0);
            this.ListEndDateTimePicker.Value   = new DateTime(start.mYear, start.mMonth, start.mDay, 23, 59, 59, 59);
        }