CSDN博客

img y6337881

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

发表于2008/9/28 23:57:00  133人阅读

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("您输入的帐号或密码错误");
            }
        }
    }
}


阅读全文
0 0

相关文章推荐

img
取 消
img