⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gameform.designer.cs

📁 c#编写的连连看 功能和单机版的差不多 自己看吧 呵呵
💻 CS
字号:
using System.Drawing;
namespace 蒋锟连连看
{
    partial class GameForm
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.BtPlaying = new System.Windows.Forms.Button();
            this.BtAnew = new System.Windows.Forms.Button();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.label1 = new System.Windows.Forms.Label();
            this.ReDrawTimer = new System.Windows.Forms.Timer(this.components);
            this.progressTimer = new System.Windows.Forms.Timer(this.components);
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.rbDU = new System.Windows.Forms.RadioButton();
            this.rbUD = new System.Windows.Forms.RadioButton();
            this.rbRL = new System.Windows.Forms.RadioButton();
            this.rbLR = new System.Windows.Forms.RadioButton();
            this.rbNone = new System.Windows.Forms.RadioButton();
            this.LFIsDisposeTimer = new System.Windows.Forms.Timer(this.components);
            this.btExit = new System.Windows.Forms.Button();
            this.BTClue = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.lbHintTimes = new System.Windows.Forms.Label();
            this.pBar = new System.Windows.Forms.ProgressBar();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // BtPlaying
            // 
            this.BtPlaying.BackColor = System.Drawing.Color.Black;
            this.BtPlaying.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtPlaying.ForeColor = System.Drawing.Color.Red;
            this.BtPlaying.Location = new System.Drawing.Point(558, 18);
            this.BtPlaying.Name = "BtPlaying";
            this.BtPlaying.Size = new System.Drawing.Size(74, 32);
            this.BtPlaying.TabIndex = 0;
            this.BtPlaying.Text = "开始游戏";
            this.BtPlaying.UseVisualStyleBackColor = false;
            this.BtPlaying.Click += new System.EventHandler(this.BtPlaying_Click);
            // 
            // BtAnew
            // 
            this.BtAnew.BackColor = System.Drawing.Color.Black;
            this.BtAnew.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtAnew.ForeColor = System.Drawing.Color.Red;
            this.BtAnew.Location = new System.Drawing.Point(558, 56);
            this.BtAnew.Name = "BtAnew";
            this.BtAnew.Size = new System.Drawing.Size(74, 32);
            this.BtAnew.TabIndex = 1;
            this.BtAnew.Text = "重新排列";
            this.BtAnew.UseVisualStyleBackColor = false;
            this.BtAnew.Click += new System.EventHandler(this.BtAnew_Click);
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.Black;
            this.pictureBox1.Enabled = false;
            this.pictureBox1.Location = new System.Drawing.Point(12, 18);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(540, 300);
            this.pictureBox1.TabIndex = 2;
            this.pictureBox1.TabStop = false;
            this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PBMouseUp);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.ForeColor = System.Drawing.Color.Red;
            this.label1.Location = new System.Drawing.Point(12, 334);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(95, 12);
            this.label1.TabIndex = 3;
            this.label1.Text = "剩余时间(60秒):";
            // 
            // ReDrawTimer
            // 
            this.ReDrawTimer.Tick += new System.EventHandler(this.ReDrawTimer_Tick);
            // 
            // progressTimer
            // 
            this.progressTimer.Interval = 1000;
            this.progressTimer.Tick += new System.EventHandler(this.progressTimer_Tick);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.rbDU);
            this.groupBox1.Controls.Add(this.rbUD);
            this.groupBox1.Controls.Add(this.rbRL);
            this.groupBox1.Controls.Add(this.rbLR);
            this.groupBox1.Controls.Add(this.rbNone);
            this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.groupBox1.Location = new System.Drawing.Point(558, 181);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(75, 137);
            this.groupBox1.TabIndex = 13;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "模式选择";
            // 
            // rbDU
            // 
            this.rbDU.AutoSize = true;
            this.rbDU.ForeColor = System.Drawing.Color.Red;
            this.rbDU.Location = new System.Drawing.Point(6, 108);
            this.rbDU.Name = "rbDU";
            this.rbDU.Size = new System.Drawing.Size(47, 16);
            this.rbDU.TabIndex = 4;
            this.rbDU.Text = "DToU";
            this.rbDU.UseVisualStyleBackColor = true;
            // 
            // rbUD
            // 
            this.rbUD.AutoSize = true;
            this.rbUD.ForeColor = System.Drawing.Color.Red;
            this.rbUD.Location = new System.Drawing.Point(6, 86);
            this.rbUD.Name = "rbUD";
            this.rbUD.Size = new System.Drawing.Size(47, 16);
            this.rbUD.TabIndex = 3;
            this.rbUD.Text = "UToD";
            this.rbUD.UseVisualStyleBackColor = true;
            // 
            // rbRL
            // 
            this.rbRL.AutoSize = true;
            this.rbRL.ForeColor = System.Drawing.Color.Red;
            this.rbRL.Location = new System.Drawing.Point(6, 64);
            this.rbRL.Name = "rbRL";
            this.rbRL.Size = new System.Drawing.Size(47, 16);
            this.rbRL.TabIndex = 2;
            this.rbRL.Text = "RToL";
            this.rbRL.UseVisualStyleBackColor = true;
            this.rbRL.CheckedChanged += new System.EventHandler(this.rbRL_CheckedChanged);
            // 
            // rbLR
            // 
            this.rbLR.AutoSize = true;
            this.rbLR.ForeColor = System.Drawing.Color.Red;
            this.rbLR.Location = new System.Drawing.Point(6, 42);
            this.rbLR.Name = "rbLR";
            this.rbLR.Size = new System.Drawing.Size(47, 16);
            this.rbLR.TabIndex = 1;
            this.rbLR.Text = "LTor";
            this.rbLR.UseVisualStyleBackColor = true;
            this.rbLR.CheckedChanged += new System.EventHandler(this.rbLR_CheckedChanged);
            // 
            // rbNone
            // 
            this.rbNone.AutoSize = true;
            this.rbNone.Checked = true;
            this.rbNone.ForeColor = System.Drawing.Color.Red;
            this.rbNone.Location = new System.Drawing.Point(6, 20);
            this.rbNone.Name = "rbNone";
            this.rbNone.Size = new System.Drawing.Size(47, 16);
            this.rbNone.TabIndex = 0;
            this.rbNone.TabStop = true;
            this.rbNone.Text = "None";
            this.rbNone.UseVisualStyleBackColor = true;
            this.rbNone.CheckedChanged += new System.EventHandler(this.rbNone_CheckedChanged);
            // 
            // btExit
            // 
            this.btExit.BackColor = System.Drawing.Color.Black;
            this.btExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btExit.ForeColor = System.Drawing.Color.Red;
            this.btExit.Location = new System.Drawing.Point(558, 324);
            this.btExit.Name = "btExit";
            this.btExit.Size = new System.Drawing.Size(74, 32);
            this.btExit.TabIndex = 18;
            this.btExit.Text = " 退   出";
            this.btExit.UseVisualStyleBackColor = false;
            this.btExit.Click += new System.EventHandler(this.btExit_Click);
            // 
            // BTClue
            // 
            this.BTClue.BackColor = System.Drawing.Color.Black;
            this.BTClue.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BTClue.ForeColor = System.Drawing.Color.Red;
            this.BTClue.Location = new System.Drawing.Point(558, 94);
            this.BTClue.Name = "BTClue";
            this.BTClue.Size = new System.Drawing.Size(74, 32);
            this.BTClue.TabIndex = 19;
            this.BTClue.Text = "提 示";
            this.BTClue.UseVisualStyleBackColor = false;
            this.BTClue.Click += new System.EventHandler(this.BTClue_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.ForeColor = System.Drawing.Color.Red;
            this.label2.Location = new System.Drawing.Point(558, 139);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(77, 12);
            this.label2.TabIndex = 20;
            this.label2.Text = "剩余提示次数";
            // 
            // lbHintTimes
            // 
            this.lbHintTimes.AutoSize = true;
            this.lbHintTimes.ForeColor = System.Drawing.Color.Red;
            this.lbHintTimes.Location = new System.Drawing.Point(580, 160);
            this.lbHintTimes.Name = "lbHintTimes";
            this.lbHintTimes.Size = new System.Drawing.Size(23, 12);
            this.lbHintTimes.TabIndex = 21;
            this.lbHintTimes.Text = "0次";
            // 
            // pBar
            // 
            this.pBar.Location = new System.Drawing.Point(107, 324);
            this.pBar.Maximum = 60;
            this.pBar.Name = "pBar";
            this.pBar.Size = new System.Drawing.Size(416, 23);
            this.pBar.TabIndex = 22;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.ForeColor = System.Drawing.Color.Red;
            this.label3.Location = new System.Drawing.Point(213, 28);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(113, 12);
            this.label3.TabIndex = 23;
            this.label3.Text = "请点击开始游戏进入";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.ForeColor = System.Drawing.Color.Red;
            this.label4.Location = new System.Drawing.Point(485, 289);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(29, 12);
            this.label4.TabIndex = 24;
            this.label4.Text = "锟锟";
            // 
            // GameForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Black;
            this.ClientSize = new System.Drawing.Size(642, 366);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.pBar);
            this.Controls.Add(this.lbHintTimes);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.BTClue);
            this.Controls.Add(this.btExit);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.BtAnew);
            this.Controls.Add(this.BtPlaying);
            this.Name = "GameForm";
            this.Text = "连连看";
            this.Load += new System.EventHandler(this.GameForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion
        //音乐
        //private AxWMPLib.AxWindowsMediaPlayer MyMediaPlayer;
        //private AxWMPLib.AxWindowsMediaPlayer MyWMPlayer2;
        private System.Windows.Forms.Button BtAnew;
        private System.Windows.Forms.PictureBox pictureBox1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Timer ReDrawTimer;
        private System.Windows.Forms.Timer progressTimer;
        public System.Windows.Forms.Button BtPlaying;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.RadioButton rbDU;
        private System.Windows.Forms.RadioButton rbUD;
        private System.Windows.Forms.RadioButton rbRL;
        private System.Windows.Forms.RadioButton rbLR;
        private System.Windows.Forms.RadioButton rbNone;
        private System.Windows.Forms.Timer LFIsDisposeTimer;
        public System.Windows.Forms.Button btExit;
        private System.Windows.Forms.Button BTClue;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label lbHintTimes;
        private System.Windows.Forms.ProgressBar pBar;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -