private DefualtDataTime ( int year, int month ) : void | ||
year | int | |
month | int | |
return | void |
private void DefualtDataTime(int year, int month)
{
try
{
this.comboBoxYear.SelectedIndex = year - 2013;
this.comboBoxMonth.SelectedIndex = month - 1;
}
catch (Exception ex)
{
log.WriteLog(ex.ToString());
}
}