📄 register.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics ;
namespace XP界面优化精灵
{
/// <summary>
/// Register 的摘要说明。
/// </summary>
public class Register : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel part1;
private System.Windows.Forms.Panel part2;
private System.Windows.Forms.Button bn_need;
private System.Windows.Forms.Button bn_register;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button bn_cancel;
private System.Windows.Forms.Button cn_check;
private System.Windows.Forms.Button bn_othercheck;
private System.Windows.Forms.TextBox tb_code3;
private System.Windows.Forms.TextBox tb_code2;
private System.Windows.Forms.TextBox tb_code1;
private System.Windows.Forms.TextBox tb_key;
private System.Windows.Forms.Label bn_goHomePage;
private System.Windows.Forms.Button bn_latebuy;
private System.Windows.Forms.TextBox tb_user;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Button bn_GetUserID;
private System.Windows.Forms.TextBox tb_code4;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Register()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Register));
this.label1 = new System.Windows.Forms.Label();
this.bn_need = new System.Windows.Forms.Button();
this.bn_register = new System.Windows.Forms.Button();
this.part1 = new System.Windows.Forms.Panel();
this.bn_goHomePage = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.bn_latebuy = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.part2 = new System.Windows.Forms.Panel();
this.bn_GetUserID = new System.Windows.Forms.Button();
this.label13 = new System.Windows.Forms.Label();
this.tb_user = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.bn_cancel = new System.Windows.Forms.Button();
this.cn_check = new System.Windows.Forms.Button();
this.bn_othercheck = new System.Windows.Forms.Button();
this.tb_code4 = new System.Windows.Forms.TextBox();
this.tb_code3 = new System.Windows.Forms.TextBox();
this.tb_code2 = new System.Windows.Forms.TextBox();
this.tb_code1 = new System.Windows.Forms.TextBox();
this.tb_key = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.part1.SuspendLayout();
this.part2.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(52)), ((System.Byte)(102)), ((System.Byte)(204)));
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(402, 48);
this.label1.TabIndex = 0;
//
// bn_need
//
this.bn_need.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.bn_need.Location = new System.Drawing.Point(100, 12);
this.bn_need.Name = "bn_need";
this.bn_need.Size = new System.Drawing.Size(108, 23);
this.bn_need.TabIndex = 1;
this.bn_need.Text = "我需要购买吗?";
this.bn_need.Click += new System.EventHandler(this.bn_need_Click);
//
// bn_register
//
this.bn_register.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.bn_register.Location = new System.Drawing.Point(224, 12);
this.bn_register.Name = "bn_register";
this.bn_register.Size = new System.Drawing.Size(82, 23);
this.bn_register.TabIndex = 2;
this.bn_register.Text = "购买";
this.bn_register.Click += new System.EventHandler(this.bn_register_Click);
//
// part1
//
this.part1.BackColor = System.Drawing.Color.Transparent;
this.part1.Controls.Add(this.bn_goHomePage);
this.part1.Controls.Add(this.pictureBox1);
this.part1.Controls.Add(this.bn_latebuy);
this.part1.Controls.Add(this.label7);
this.part1.Controls.Add(this.label6);
this.part1.Controls.Add(this.label5);
this.part1.Controls.Add(this.label4);
this.part1.Controls.Add(this.label3);
this.part1.Controls.Add(this.label2);
this.part1.Dock = System.Windows.Forms.DockStyle.Fill;
this.part1.Location = new System.Drawing.Point(0, 48);
this.part1.Name = "part1";
this.part1.Size = new System.Drawing.Size(402, 270);
this.part1.TabIndex = 3;
//
// bn_goHomePage
//
this.bn_goHomePage.AutoSize = true;
this.bn_goHomePage.Cursor = System.Windows.Forms.Cursors.Hand;
this.bn_goHomePage.ForeColor = System.Drawing.Color.Blue;
this.bn_goHomePage.Location = new System.Drawing.Point(278, 224);
this.bn_goHomePage.Name = "bn_goHomePage";
this.bn_goHomePage.Size = new System.Drawing.Size(110, 17);
this.bn_goHomePage.TabIndex = 8;
this.bn_goHomePage.Text = "www.tyuan.ik8.com";
this.bn_goHomePage.Click += new System.EventHandler(this.bn_goHomePage_Click);
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(244, 212);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(36, 32);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 7;
this.pictureBox1.TabStop = false;
//
// bn_latebuy
//
this.bn_latebuy.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.bn_latebuy.Location = new System.Drawing.Point(76, 218);
this.bn_latebuy.Name = "bn_latebuy";
this.bn_latebuy.Size = new System.Drawing.Size(82, 23);
this.bn_latebuy.TabIndex = 0;
this.bn_latebuy.Text = "以后购买";
this.bn_latebuy.Click += new System.EventHandler(this.bn_cancel_Click);
//
// label7
//
this.label7.AutoSize = true;
this.label7.ForeColor = System.Drawing.Color.White;
this.label7.Location = new System.Drawing.Point(22, 186);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(239, 17);
this.label7.TabIndex = 5;
this.label7.Text = "以及极优惠的价格获得更多随感共享软件。";
//
// label6
//
this.label6.AutoSize = true;
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(22, 164);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(289, 17);
this.label6.TabIndex = 4;
this.label6.Text = "一次注册,以后不再收取任何费用。终身免费升级。";
//
// label5
//
this.label5.AutoSize = true;
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(22, 142);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(252, 17);
this.label5.TabIndex = 3;
this.label5.Text = "可以去除30天的限制。永久免费使用此软件。";
//
// label4
//
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(22, 120);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(128, 14);
this.label4.TabIndex = 2;
this.label4.Text = "注册后的好处和支持:";
//
// label3
//
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(22, 64);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(360, 44);
this.label3.TabIndex = 1;
this.label3.Text = "XP界面优化精灵是共享软件,你可以免费试用30天。试用期过后将无法使用此软件。因此你如果要继续使用此软件,你必须注册购买,谢谢您的支持。";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
this.label2.Location = new System.Drawing.Point(14, 16);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(137, 27);
this.label2.TabIndex = 0;
this.label2.Text = "注册后的好处";
//
// part2
//
this.part2.BackColor = System.Drawing.Color.Transparent;
this.part2.Controls.Add(this.bn_GetUserID);
this.part2.Controls.Add(this.label13);
this.part2.Controls.Add(this.tb_user);
this.part2.Controls.Add(this.label12);
this.part2.Controls.Add(this.bn_cancel);
this.part2.Controls.Add(this.cn_check);
this.part2.Controls.Add(this.bn_othercheck);
this.part2.Controls.Add(this.tb_code4);
this.part2.Controls.Add(this.tb_code3);
this.part2.Controls.Add(this.tb_code2);
this.part2.Controls.Add(this.tb_code1);
this.part2.Controls.Add(this.tb_key);
this.part2.Controls.Add(this.label10);
this.part2.Controls.Add(this.label9);
this.part2.Controls.Add(this.label8);
this.part2.Controls.Add(this.label11);
this.part2.Dock = System.Windows.Forms.DockStyle.Fill;
this.part2.Location = new System.Drawing.Point(0, 48);
this.part2.Name = "part2";
this.part2.Size = new System.Drawing.Size(402, 270);
this.part2.TabIndex = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -