331 lines
16 KiB
C#
Executable File
331 lines
16 KiB
C#
Executable File
namespace RCS_CalebFontenot
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.rockPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.paperPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.scissorPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.statusLabel = new System.Windows.Forms.Label();
|
|
this.newGameButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
this.cpuMove = new System.Windows.Forms.PictureBox();
|
|
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox6 = new System.Windows.Forms.GroupBox();
|
|
this.cpuScissorsCounter = new System.Windows.Forms.Label();
|
|
this.cpuRockCounter = new System.Windows.Forms.Label();
|
|
this.cpuPaperCounter = new System.Windows.Forms.Label();
|
|
this.groupBox7 = new System.Windows.Forms.GroupBox();
|
|
this.playerScissorsCounter = new System.Windows.Forms.Label();
|
|
this.playerRockCounter = new System.Windows.Forms.Label();
|
|
this.playerPaperCounter = new System.Windows.Forms.Label();
|
|
this.clearButton = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.rockPictureBox)).BeginInit();
|
|
this.groupBox2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.paperPictureBox)).BeginInit();
|
|
this.groupBox3.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.scissorPictureBox)).BeginInit();
|
|
this.groupBox4.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.cpuMove)).BeginInit();
|
|
this.groupBox5.SuspendLayout();
|
|
this.groupBox6.SuspendLayout();
|
|
this.groupBox7.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.rockPictureBox);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(250, 182);
|
|
this.groupBox1.TabIndex = 0;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Rock";
|
|
//
|
|
// rockPictureBox
|
|
//
|
|
this.rockPictureBox.Enabled = false;
|
|
this.rockPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Rock;
|
|
this.rockPictureBox.Location = new System.Drawing.Point(6, 22);
|
|
this.rockPictureBox.Name = "rockPictureBox";
|
|
this.rockPictureBox.Size = new System.Drawing.Size(238, 154);
|
|
this.rockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.rockPictureBox.TabIndex = 0;
|
|
this.rockPictureBox.TabStop = false;
|
|
this.rockPictureBox.Click += new System.EventHandler(this.rockPictureBox_Click);
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.paperPictureBox);
|
|
this.groupBox2.Location = new System.Drawing.Point(268, 12);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(250, 182);
|
|
this.groupBox2.TabIndex = 1;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Paper";
|
|
//
|
|
// paperPictureBox
|
|
//
|
|
this.paperPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Paper;
|
|
this.paperPictureBox.Location = new System.Drawing.Point(6, 22);
|
|
this.paperPictureBox.Name = "paperPictureBox";
|
|
this.paperPictureBox.Size = new System.Drawing.Size(238, 154);
|
|
this.paperPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.paperPictureBox.TabIndex = 0;
|
|
this.paperPictureBox.TabStop = false;
|
|
this.paperPictureBox.Click += new System.EventHandler(this.paperPictureBox_Click);
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.scissorPictureBox);
|
|
this.groupBox3.Location = new System.Drawing.Point(524, 12);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(250, 182);
|
|
this.groupBox3.TabIndex = 1;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "Scissors";
|
|
//
|
|
// scissorPictureBox
|
|
//
|
|
this.scissorPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Scissors;
|
|
this.scissorPictureBox.Location = new System.Drawing.Point(6, 22);
|
|
this.scissorPictureBox.Name = "scissorPictureBox";
|
|
this.scissorPictureBox.Size = new System.Drawing.Size(238, 154);
|
|
this.scissorPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.scissorPictureBox.TabIndex = 0;
|
|
this.scissorPictureBox.TabStop = false;
|
|
this.scissorPictureBox.Click += new System.EventHandler(this.scissorPictureBox_Click);
|
|
//
|
|
// statusLabel
|
|
//
|
|
this.statusLabel.Location = new System.Drawing.Point(99, 204);
|
|
this.statusLabel.Name = "statusLabel";
|
|
this.statusLabel.Size = new System.Drawing.Size(594, 23);
|
|
this.statusLabel.TabIndex = 2;
|
|
this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// newGameButton
|
|
//
|
|
this.newGameButton.Location = new System.Drawing.Point(18, 204);
|
|
this.newGameButton.Name = "newGameButton";
|
|
this.newGameButton.Size = new System.Drawing.Size(75, 23);
|
|
this.newGameButton.TabIndex = 3;
|
|
this.newGameButton.Text = "New Game";
|
|
this.newGameButton.UseVisualStyleBackColor = true;
|
|
this.newGameButton.Click += new System.EventHandler(this.newGameButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(699, 204);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(75, 23);
|
|
this.exitButton.TabIndex = 4;
|
|
this.exitButton.Text = "Exit";
|
|
this.exitButton.UseVisualStyleBackColor = true;
|
|
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
|
|
//
|
|
// groupBox4
|
|
//
|
|
this.groupBox4.Controls.Add(this.cpuMove);
|
|
this.groupBox4.Location = new System.Drawing.Point(113, 227);
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.Size = new System.Drawing.Size(244, 170);
|
|
this.groupBox4.TabIndex = 5;
|
|
this.groupBox4.TabStop = false;
|
|
this.groupBox4.Text = "Computer\'s move";
|
|
//
|
|
// cpuMove
|
|
//
|
|
this.cpuMove.Location = new System.Drawing.Point(6, 25);
|
|
this.cpuMove.Name = "cpuMove";
|
|
this.cpuMove.Size = new System.Drawing.Size(232, 142);
|
|
this.cpuMove.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.cpuMove.TabIndex = 0;
|
|
this.cpuMove.TabStop = false;
|
|
//
|
|
// groupBox5
|
|
//
|
|
this.groupBox5.Controls.Add(this.groupBox6);
|
|
this.groupBox5.Controls.Add(this.groupBox7);
|
|
this.groupBox5.Location = new System.Drawing.Point(444, 227);
|
|
this.groupBox5.Name = "groupBox5";
|
|
this.groupBox5.Size = new System.Drawing.Size(271, 167);
|
|
this.groupBox5.TabIndex = 6;
|
|
this.groupBox5.TabStop = false;
|
|
this.groupBox5.Text = "Win Counter";
|
|
//
|
|
// groupBox6
|
|
//
|
|
this.groupBox6.Controls.Add(this.cpuScissorsCounter);
|
|
this.groupBox6.Controls.Add(this.cpuRockCounter);
|
|
this.groupBox6.Controls.Add(this.cpuPaperCounter);
|
|
this.groupBox6.Location = new System.Drawing.Point(6, 22);
|
|
this.groupBox6.Name = "groupBox6";
|
|
this.groupBox6.Size = new System.Drawing.Size(259, 58);
|
|
this.groupBox6.TabIndex = 0;
|
|
this.groupBox6.TabStop = false;
|
|
this.groupBox6.Text = "Computer";
|
|
//
|
|
// cpuScissorsCounter
|
|
//
|
|
this.cpuScissorsCounter.Location = new System.Drawing.Point(178, 19);
|
|
this.cpuScissorsCounter.Name = "cpuScissorsCounter";
|
|
this.cpuScissorsCounter.Size = new System.Drawing.Size(80, 23);
|
|
this.cpuScissorsCounter.TabIndex = 2;
|
|
this.cpuScissorsCounter.Text = "Scissors: 0";
|
|
this.cpuScissorsCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// cpuRockCounter
|
|
//
|
|
this.cpuRockCounter.Location = new System.Drawing.Point(6, 19);
|
|
this.cpuRockCounter.Name = "cpuRockCounter";
|
|
this.cpuRockCounter.Size = new System.Drawing.Size(80, 23);
|
|
this.cpuRockCounter.TabIndex = 0;
|
|
this.cpuRockCounter.Text = "Rock: 0";
|
|
this.cpuRockCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// cpuPaperCounter
|
|
//
|
|
this.cpuPaperCounter.Location = new System.Drawing.Point(92, 19);
|
|
this.cpuPaperCounter.Name = "cpuPaperCounter";
|
|
this.cpuPaperCounter.Size = new System.Drawing.Size(80, 23);
|
|
this.cpuPaperCounter.TabIndex = 1;
|
|
this.cpuPaperCounter.Text = "Paper: 0";
|
|
this.cpuPaperCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// groupBox7
|
|
//
|
|
this.groupBox7.Controls.Add(this.playerScissorsCounter);
|
|
this.groupBox7.Controls.Add(this.playerRockCounter);
|
|
this.groupBox7.Controls.Add(this.playerPaperCounter);
|
|
this.groupBox7.Location = new System.Drawing.Point(6, 86);
|
|
this.groupBox7.Name = "groupBox7";
|
|
this.groupBox7.Size = new System.Drawing.Size(258, 58);
|
|
this.groupBox7.TabIndex = 1;
|
|
this.groupBox7.TabStop = false;
|
|
this.groupBox7.Text = "Player";
|
|
//
|
|
// playerScissorsCounter
|
|
//
|
|
this.playerScissorsCounter.Location = new System.Drawing.Point(178, 19);
|
|
this.playerScissorsCounter.Name = "playerScissorsCounter";
|
|
this.playerScissorsCounter.Size = new System.Drawing.Size(74, 23);
|
|
this.playerScissorsCounter.TabIndex = 5;
|
|
this.playerScissorsCounter.Text = "Scissors: 0";
|
|
this.playerScissorsCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// playerRockCounter
|
|
//
|
|
this.playerRockCounter.Location = new System.Drawing.Point(6, 19);
|
|
this.playerRockCounter.Name = "playerRockCounter";
|
|
this.playerRockCounter.Size = new System.Drawing.Size(80, 23);
|
|
this.playerRockCounter.TabIndex = 3;
|
|
this.playerRockCounter.Text = "Rock: 0";
|
|
this.playerRockCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// playerPaperCounter
|
|
//
|
|
this.playerPaperCounter.Location = new System.Drawing.Point(92, 19);
|
|
this.playerPaperCounter.Name = "playerPaperCounter";
|
|
this.playerPaperCounter.Size = new System.Drawing.Size(80, 23);
|
|
this.playerPaperCounter.TabIndex = 4;
|
|
this.playerPaperCounter.Text = "Paper: 0";
|
|
this.playerPaperCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// clearButton
|
|
//
|
|
this.clearButton.Location = new System.Drawing.Point(363, 287);
|
|
this.clearButton.Name = "clearButton";
|
|
this.clearButton.Size = new System.Drawing.Size(75, 43);
|
|
this.clearButton.TabIndex = 7;
|
|
this.clearButton.Text = "Clear Counter";
|
|
this.clearButton.UseVisualStyleBackColor = true;
|
|
this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(784, 412);
|
|
this.Controls.Add(this.clearButton);
|
|
this.Controls.Add(this.groupBox5);
|
|
this.Controls.Add(this.groupBox4);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.newGameButton);
|
|
this.Controls.Add(this.statusLabel);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Name = "Form1";
|
|
this.Text = "Rock, Paper, Scissors - Caleb Fontenot";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.rockPictureBox)).EndInit();
|
|
this.groupBox2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.paperPictureBox)).EndInit();
|
|
this.groupBox3.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.scissorPictureBox)).EndInit();
|
|
this.groupBox4.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.cpuMove)).EndInit();
|
|
this.groupBox5.ResumeLayout(false);
|
|
this.groupBox6.ResumeLayout(false);
|
|
this.groupBox7.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox groupBox1;
|
|
private PictureBox rockPictureBox;
|
|
private GroupBox groupBox2;
|
|
private PictureBox paperPictureBox;
|
|
private GroupBox groupBox3;
|
|
private PictureBox scissorPictureBox;
|
|
private Label statusLabel;
|
|
private Button newGameButton;
|
|
private Button exitButton;
|
|
private GroupBox groupBox4;
|
|
private PictureBox cpuMove;
|
|
private GroupBox groupBox5;
|
|
private GroupBox groupBox7;
|
|
private GroupBox groupBox6;
|
|
private Button clearButton;
|
|
private Label cpuRockCounter;
|
|
private Label cpuPaperCounter;
|
|
private Label cpuScissorsCounter;
|
|
private Label playerScissorsCounter;
|
|
private Label playerRockCounter;
|
|
private Label playerPaperCounter;
|
|
}
|
|
} |