public DateSelect() { InitializeComponent(); DateTime d = new CommonFunctions().GetServerTime(); monthCalendar1.SelectionStart = d.AddMonths(-1); monthCalendar2.SelectionStart = d; }