194 lines
9.5 KiB
C#
194 lines
9.5 KiB
C#
namespace WindowsFormsApp7
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// Обязательная переменная конструктора.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Освободить все используемые ресурсы.
|
||
/// </summary>
|
||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</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();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||
this.Бумага = new System.Windows.Forms.PictureBox();
|
||
this.Ножницы = new System.Windows.Forms.PictureBox();
|
||
this.Камень = new System.Windows.Forms.PictureBox();
|
||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.label3 = new System.Windows.Forms.Label();
|
||
this.label4 = new System.Windows.Forms.Label();
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
||
((System.ComponentModel.ISupportInitialize)(this.Бумага)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.Ножницы)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.Камень)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// Бумага
|
||
//
|
||
this.Бумага.Image = ((System.Drawing.Image)(resources.GetObject("Бумага.Image")));
|
||
this.Бумага.Location = new System.Drawing.Point(80, 186);
|
||
this.Бумага.Name = "Бумага";
|
||
this.Бумага.Size = new System.Drawing.Size(150, 150);
|
||
this.Бумага.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||
this.Бумага.TabIndex = 4;
|
||
this.Бумага.TabStop = false;
|
||
this.Бумага.Click += new System.EventHandler(this.pictureBox5_Click);
|
||
//
|
||
// Ножницы
|
||
//
|
||
this.Ножницы.Image = ((System.Drawing.Image)(resources.GetObject("Ножницы.Image")));
|
||
this.Ножницы.Location = new System.Drawing.Point(452, 186);
|
||
this.Ножницы.Name = "Ножницы";
|
||
this.Ножницы.Size = new System.Drawing.Size(150, 150);
|
||
this.Ножницы.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||
this.Ножницы.TabIndex = 3;
|
||
this.Ножницы.TabStop = false;
|
||
this.Ножницы.Click += new System.EventHandler(this.pictureBox5_Click);
|
||
//
|
||
// Камень
|
||
//
|
||
this.Камень.Image = ((System.Drawing.Image)(resources.GetObject("Камень.Image")));
|
||
this.Камень.Location = new System.Drawing.Point(266, 186);
|
||
this.Камень.Name = "Камень";
|
||
this.Камень.Size = new System.Drawing.Size(150, 150);
|
||
this.Камень.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||
this.Камень.TabIndex = 2;
|
||
this.Камень.TabStop = false;
|
||
this.Камень.Click += new System.EventHandler(this.pictureBox5_Click);
|
||
//
|
||
// pictureBox1
|
||
//
|
||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||
this.pictureBox1.Location = new System.Drawing.Point(266, 12);
|
||
this.pictureBox1.Name = "pictureBox1";
|
||
this.pictureBox1.Size = new System.Drawing.Size(150, 150);
|
||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||
this.pictureBox1.TabIndex = 0;
|
||
this.pictureBox1.TabStop = false;
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label1.Location = new System.Drawing.Point(218, 351);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(105, 20);
|
||
this.label1.TabIndex = 5;
|
||
this.label1.Text = "Компьютер";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label2.Location = new System.Drawing.Point(323, 351);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(19, 20);
|
||
this.label2.TabIndex = 6;
|
||
this.label2.Text = "0";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label3.Location = new System.Drawing.Point(358, 351);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(82, 20);
|
||
this.label3.TabIndex = 7;
|
||
this.label3.Text = "Человек";
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.AutoSize = true;
|
||
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label4.Location = new System.Drawing.Point(440, 351);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new System.Drawing.Size(19, 20);
|
||
this.label4.TabIndex = 8;
|
||
this.label4.Text = "0";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(12, 348);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||
this.button1.TabIndex = 9;
|
||
this.button1.Text = "Новая игра";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// timer1
|
||
//
|
||
this.timer1.Interval = 50;
|
||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||
//
|
||
// timer2
|
||
//
|
||
this.timer2.Interval = 5000;
|
||
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(699, 379);
|
||
this.Controls.Add(this.button1);
|
||
this.Controls.Add(this.label4);
|
||
this.Controls.Add(this.label3);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.label1);
|
||
this.Controls.Add(this.Бумага);
|
||
this.Controls.Add(this.Ножницы);
|
||
this.Controls.Add(this.Камень);
|
||
this.Controls.Add(this.pictureBox1);
|
||
this.Name = "Form1";
|
||
this.Text = "Form1";
|
||
((System.ComponentModel.ISupportInitialize)(this.Бумага)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.Ножницы)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.Камень)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.PictureBox pictureBox1;
|
||
private System.Windows.Forms.PictureBox Камень;
|
||
private System.Windows.Forms.PictureBox Ножницы;
|
||
private System.Windows.Forms.PictureBox Бумага;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.Label label3;
|
||
private System.Windows.Forms.Label label4;
|
||
private System.Windows.Forms.Button button1;
|
||
private System.Windows.Forms.Timer timer1;
|
||
private System.Windows.Forms.Timer timer2;
|
||
}
|
||
}
|
||
|