Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Day._310 day = new Day._310();
     day.firstDoublePeriod = comboBox1.SelectedIndex;
     day.singleOne         = comboBox3.SelectedIndex;
     day.singleTwo         = comboBox4.SelectedIndex;
     AppWideInfo.SetDay(day, dayNumber);
     this.Close();
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Day._315 day = new Day._315();
     day.firstSingle  = comboBox1.SelectedIndex;
     day.secondSingle = comboBox2.SelectedIndex;
     day.middleDouble = comboBox3.SelectedIndex;
     day.endDouble    = comboBox4.SelectedIndex;
     AppWideInfo.SetDay(day, dayNumber);
     this.Close();
 }
Beispiel #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     Day._330 day = new Day._330();
     day.single1 = comboBox1.SelectedIndex;
     day.single2 = comboBox2.SelectedIndex;
     day.single3 = comboBox3.SelectedIndex;
     day.single4 = comboBox4.SelectedIndex;
     day.single5 = comboBox5.SelectedIndex;
     day.single6 = comboBox6.SelectedIndex;
     AppWideInfo.SetDay(day, dayNumber);
     this.Close();
 }