コード例 #1
0
 private void radioButton_Month_CheckedChanged(object sender, EventArgs e)
 {
     if (radioButton_Month.Checked)
     {
         DataType = Ultity.DataType.Month;
         LoadData();
     }
 }
コード例 #2
0
 private void radioButton_Year_CheckedChanged(object sender, EventArgs e)
 {
     if (radioButton_Year.Checked)
     {
         DataType = Ultity.DataType.Year;
         LoadData();
     }
 }
コード例 #3
0
 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();
     }
 }