private void radioButton_Month_CheckedChanged(object sender, EventArgs e) { if (radioButton_Month.Checked) { DataType = Ultity.DataType.Month; LoadData(); } }
private void radioButton_Year_CheckedChanged(object sender, EventArgs e) { if (radioButton_Year.Checked) { DataType = Ultity.DataType.Year; LoadData(); } }
private void comboBox_Day_SelectedIndexChanged(object sender, EventArgs e) { Day = comboBox_Day.SelectedIndex + Ultity.DayStart; if (radioButton_Day.Checked) { DataType = Ultity.DataType.Day; LoadData(); } else if (radioButton_Month.Checked) { DataType = Ultity.DataType.Month; LoadData(); } else if (radioButton_Year.Checked) { DataType = Ultity.DataType.Year; LoadData(); } }