コード例 #1
0
 private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         FileHandler f = new FileHandler();
         f.findText("level-type=", comboBox2.Text);
     }
     catch { }
 }
コード例 #2
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         FileHandler f = new FileHandler();
         f.findText("online-mode=", comboBox1.Text);
     }
     catch { }
 }
コード例 #3
0
 private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         FileHandler f = new FileHandler();
         if (comboBox3.Text == cb3[0])
         {
             f.findText("difficulty=", "0");
         }
         else if (comboBox3.Text == cb3[1])
         {
             f.findText("difficulty=", "1");
         }
         else if (comboBox3.Text == cb3[2])
         {
             f.findText("difficulty=", "2");
         }
         else if (comboBox3.Text == cb3[3])
         {
             f.findText("difficulty=", "3");
         }
     }
     catch { }
 }