toubi.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 老虎机
{
    public partial class toubi : Form
    {
        Form1 f;
        public toubi()
        {
            InitializeComponent();
        }
        public toubi(Form1 f1)
        {
            InitializeComponent();
            f = f1;
        }
        public int a()
        {
            return Convert.ToInt32(tb1.Text);
        }
        // 下载于www.51aspx.com
        private void button1_Click(object sender, EventArgs e)
        {
            if (a() > 5)
            {  
                MessageBox.Show("就你这长相,顶多值2个币,还想投" + Convert.ToString(a()) + "个?");
                MessageBox.Show("你获得了2个游戏币!");
                tb1.Text = "2";
                f.b(Convert.ToInt32(this.tb1.Text));
                this.Visible = false;
            }
            else if (a() <= 5 && a() > 0)
            {
                MessageBox.Show("你获得了" + Convert.ToString(a()) + "个游戏币!");
                f.b(Convert.ToInt32(this.tb1.Text));
                this.Visible = false;               
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。