Exemplo n.º 1
0
        private GregorianDateTime GetGregorianValues()
        {
            GregorianDateTime vc = new GregorianDateTime();

            vc.day   = cbDay.SelectedIndex + 1;
            vc.month = cbMonth.SelectedIndex + 1;
            int.TryParse(tbYear.Text, out vc.year);
            vc.InitWeekDay();
            vc.TimezoneHours = 0.0;
            return(vc);
        }