9月28日"GG即时通讯软件"

来源:互联网 发布:python 查看数据类型 编辑:程序博客网 时间:2024/05/01 06:11

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 WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        private string Username = "10000";
        private string Userpwd = "123";
        public Form1()
        {
            InitializeComponent();
            radioButton1.Checked = true;

        }
        private void button3_Click_1(object sender, EventArgs e)
        {
            if (this.radioButton2.Checked)
            {
                skinEngine1.SkinFile = "XPBlue.ssk";
            }
            if(this.radioButton3.Checked)
            {
                skinEngine1.SkinFile = "XPGreen.ssk";
            }
            if (this.radioButton1.Checked)
            {
                skinEngine1.SkinFile = "XPSilver.ssk";
            }
        }

        private void Form1_Load(object sender, EventArgs e)
          {

          }
        private void button4_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == Username && textBox2.Text == Userpwd)
            {
                MessageBox.Show("欢迎进入GG即时通讯软件");
            }
            else
            {
                MessageBox.Show("您输入的帐号或密码错误");
            }
        }
    }
}


原创粉丝点击