CeShiQi/Form10.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

namespace CeShiQi
{
    public partial class Form10 : Form
    {
        public Form10()
        {
            InitializeComponent();
        }
        
       

        private void button1_Click_1(object sender, EventArgs e)
        {


            if (textBox9.Text == "")
            {
                MessageBox.Show("您好,您没有填写信息,请您认真填写!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                textBox9.Focus();
            }
            else
            {

                TextInfos.TextInfo.txtValue9 = textBox9.Text;
                Form11 farm11 = new Form11();
                farm11.Show();
                this.Hide();
            }

        }

        private void textBox9_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar > (char)47 && e.KeyChar < (char)58 || e.KeyChar == (char)8 || e.KeyChar == (char)46)
            {
                e.Handled = false;
                
            }
            else
            {
                textBox9.Text = "";
                MessageBox.Show("您输入的不是数字,请重新输入!", "错误提示");
                e.Handled = true;
            } 


        }
           
    }
       
        }
后面还有 2 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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