Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         IQ.iq1_3 -= 210;
         LoseWin.LOSE(IQ.iq1_3, "提示:哎哟,别说假话啦!偶才不信呢!");
     }
     else if (radioButton2.Checked)
     {
         IQ.iq1_3 -= 115;
         LoseWin.LOSE(IQ.iq1_3, "提示:哎哟,开始早恋了哈,赶紧打掉这个念头!");
     }
     else if (radioButton3.Checked)
     {
         IQ.iq1_3 -= 1205;
         LoseWin.LOSE(IQ.iq1_3, "提示:我已经木有什么话可以说了。");
     }
     else if (radioButton4.Checked)
     {
         LoseWin.Win(IQ.iq1_3, "提示:沉默是最好的回答……");
         Form5 frm5 = new Form5();
         this.Hide();
         frm5.Show();
     }
 }
Beispiel #2
0
 private void timer2_Tick(object sender, EventArgs e)
 {
     time2      += 0.1f;
     time2       = (float)Math.Round((double)time2, 1, MidpointRounding.AwayFromZero);
     label5.Text = time2.ToString();
     if (time2 <= 3.0f)
     {
         label5.ForeColor = Color.Red;
     }
     else if (time2 > 3.0f && time2 <= 7.0f)
     {
         label5.ForeColor = Color.Orange;
     }
     else if (time2 > 7.0f && time2 <= 12.0f)
     {
         label5.ForeColor = Color.Blue;
     }
     else if (time2 > 12.0f && time2 <= 17.0f)
     {
         label5.ForeColor = Color.Green;
     }
     else
     {
         LoseWin.Win(250);
         (new Form11()).Show();
         this.Close();
     }
 }
Beispiel #3
0
        private void button6_Click(object sender, EventArgs e)
        {
            LoseWin.Win(IQ.iq1_4);
            this.Hide();
            Form6 a = new Form6();

            a.Show();
        }
Beispiel #4
0
        private void label2_Click(object sender, EventArgs e)
        {
            LoseWin.Win(IQ.iq2_1);
            Form7 a = new Form7();

            a.Show();
            this.Close();
        }
Beispiel #5
0
        private void button2_Click(object sender, EventArgs e)
        {
            IQ.iq1_1 = iq;
            LoseWin.Win(iq);
            Form3 frm3 = new Form3();

            frm3.Show();
            this.Hide();
        }
Beispiel #6
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     time--;
     label2.Text = time.ToString();
     if (time <= 0)
     {
         iq -= 50;
         LoseWin.LOSE(iq);
         (new Form12()).Show();
         this.Close();
     }
 }
Beispiel #7
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox1.Text.ToUpper() == "ZKW4")
     {
         IQ.iq1_3 -= 50;
         LoseWin.LOSE(IQ.iq1_3, "提示:唉,真傻,还真的输入“ZKW4”呢。在这个游戏里,你不知道这是作死吗?");
     }
     else
     {
         bt1_jh = true;
         tabPage4.Hide();
         MessageBox.Show("恭喜输入正确!不过,似乎问题页和以前不一样了呢……", "输入正确", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #8
0
 private void button12_Click(object sender, EventArgs e)
 {
     if (SystemNumbers.IsAdmin)
     {
         LoseWin.Win(iq);
         Form4 frm4 = new Form4();
         this.Hide();
         frm4.Show();
     }
     else
     {
         MessageBox.Show("你没有足够的权限访问管理员专用通道!", "管理员专用通道", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Beispiel #9
0
 private void Form11_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (i == false)
     {
         e.Cancel = true;
         i        = true;
         LoseWin.Win(250, "\nTime,up!up!");
         (new Form12()).Show();
         this.Close();
     }
     else
     {
     }
 }
Beispiel #10
0
 private void label27_Click(object sender, EventArgs e)
 {
     s += "e";
     if (s == "Time")
     {
         LoseWin.Win(iq);
         (new EndForm()).Show();
         this.Close();
     }
     else
     {
         time             -= 30;
         label27.Text      = "减30秒";
         label27.ForeColor = Color.Red;
     }
 }
Beispiel #11
0
 private void button1_Click(object sender, EventArgs e)
 {
     LoseWin.Win(250);
     (new Welcome3()).Show();
     this.Close();
 }
Beispiel #12
0
 private void button1_Click(object sender, EventArgs e)
 {
     iq -= 50;
     LoseWin.LOSE(iq);
 }
Beispiel #13
0
 private void button9_Click(object sender, EventArgs e)
 {
     IQ.iq1_4 -= 300;
     LoseWin.LOSE(IQ.iq1_4);
 }
Beispiel #14
0
 private void tabPage1_Click(object sender, EventArgs e)
 {
     IQ.iq2_1 -= 200;
     LoseWin.LOSE(IQ.iq2_1);
 }