complete, step before doing ai
This commit is contained in:
222
Form1.Designer.cs
generated
222
Form1.Designer.cs
generated
@@ -28,12 +28,226 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "Form1";
|
||||
menuStrip1 = new MenuStrip();
|
||||
fileToolStripMenuItem = new ToolStripMenuItem();
|
||||
newGameToolStripMenuItem = new ToolStripMenuItem();
|
||||
exitToolStripMenuItem = new ToolStripMenuItem();
|
||||
helpToolStripMenuItem = new ToolStripMenuItem();
|
||||
aboutToolStripMenuItem = new ToolStripMenuItem();
|
||||
lbl_wins = new Label();
|
||||
grid_7 = new Button();
|
||||
grid_4 = new Button();
|
||||
grid_1 = new Button();
|
||||
grid_2 = new Button();
|
||||
grid_5 = new Button();
|
||||
grid_8 = new Button();
|
||||
grid_0 = new Button();
|
||||
grid_3 = new Button();
|
||||
grid_6 = new Button();
|
||||
lbl_loses = new Label();
|
||||
menuStrip1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
menuStrip1.ImageScalingSize = new Size(24, 24);
|
||||
menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, helpToolStripMenuItem });
|
||||
menuStrip1.Location = new Point(0, 0);
|
||||
menuStrip1.Name = "menuStrip1";
|
||||
menuStrip1.Size = new Size(800, 33);
|
||||
menuStrip1.TabIndex = 3;
|
||||
menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { newGameToolStripMenuItem, exitToolStripMenuItem });
|
||||
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
fileToolStripMenuItem.Size = new Size(54, 29);
|
||||
fileToolStripMenuItem.Text = "File";
|
||||
//
|
||||
// newGameToolStripMenuItem
|
||||
//
|
||||
newGameToolStripMenuItem.Name = "newGameToolStripMenuItem";
|
||||
newGameToolStripMenuItem.Size = new Size(270, 34);
|
||||
newGameToolStripMenuItem.Text = "New game";
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
exitToolStripMenuItem.Size = new Size(270, 34);
|
||||
exitToolStripMenuItem.Text = "Exit";
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { aboutToolStripMenuItem });
|
||||
helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
helpToolStripMenuItem.Size = new Size(65, 29);
|
||||
helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
aboutToolStripMenuItem.Size = new Size(164, 34);
|
||||
aboutToolStripMenuItem.Text = "About";
|
||||
//
|
||||
// lbl_wins
|
||||
//
|
||||
lbl_wins.AutoSize = true;
|
||||
lbl_wins.Location = new Point(337, 44);
|
||||
lbl_wins.Name = "lbl_wins";
|
||||
lbl_wins.Size = new Size(131, 25);
|
||||
lbl_wins.TabIndex = 4;
|
||||
lbl_wins.Text = "Antal Vinster: 0";
|
||||
//
|
||||
// grid_7
|
||||
//
|
||||
grid_7.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_7.Location = new Point(368, 260);
|
||||
grid_7.Name = "grid_7";
|
||||
grid_7.Size = new Size(64, 64);
|
||||
grid_7.TabIndex = 5;
|
||||
grid_7.Text = "O";
|
||||
grid_7.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_4
|
||||
//
|
||||
grid_4.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_4.Location = new Point(368, 190);
|
||||
grid_4.Name = "grid_4";
|
||||
grid_4.Size = new Size(64, 64);
|
||||
grid_4.TabIndex = 6;
|
||||
grid_4.Text = "O";
|
||||
grid_4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_1
|
||||
//
|
||||
grid_1.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_1.Location = new Point(368, 120);
|
||||
grid_1.Name = "grid_1";
|
||||
grid_1.Size = new Size(64, 64);
|
||||
grid_1.TabIndex = 7;
|
||||
grid_1.Text = "X";
|
||||
grid_1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_2
|
||||
//
|
||||
grid_2.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_2.Location = new Point(438, 120);
|
||||
grid_2.Name = "grid_2";
|
||||
grid_2.Size = new Size(64, 64);
|
||||
grid_2.TabIndex = 8;
|
||||
grid_2.Text = "O";
|
||||
grid_2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_5
|
||||
//
|
||||
grid_5.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_5.Location = new Point(438, 190);
|
||||
grid_5.Name = "grid_5";
|
||||
grid_5.Size = new Size(64, 64);
|
||||
grid_5.TabIndex = 9;
|
||||
grid_5.Text = "O";
|
||||
grid_5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_8
|
||||
//
|
||||
grid_8.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_8.Location = new Point(438, 260);
|
||||
grid_8.Name = "grid_8";
|
||||
grid_8.Size = new Size(64, 64);
|
||||
grid_8.TabIndex = 10;
|
||||
grid_8.Text = "O";
|
||||
grid_8.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_0
|
||||
//
|
||||
grid_0.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_0.Location = new Point(298, 120);
|
||||
grid_0.Name = "grid_0";
|
||||
grid_0.Size = new Size(64, 64);
|
||||
grid_0.TabIndex = 13;
|
||||
grid_0.Text = "O";
|
||||
grid_0.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_3
|
||||
//
|
||||
grid_3.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_3.Location = new Point(298, 190);
|
||||
grid_3.Name = "grid_3";
|
||||
grid_3.Size = new Size(64, 64);
|
||||
grid_3.TabIndex = 12;
|
||||
grid_3.Text = "O";
|
||||
grid_3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grid_6
|
||||
//
|
||||
grid_6.Font = new Font("Segoe UI", 22F, FontStyle.Bold);
|
||||
grid_6.Location = new Point(298, 260);
|
||||
grid_6.Name = "grid_6";
|
||||
grid_6.Size = new Size(64, 64);
|
||||
grid_6.TabIndex = 11;
|
||||
grid_6.Text = "O";
|
||||
grid_6.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lbl_loses
|
||||
//
|
||||
lbl_loses.AutoSize = true;
|
||||
lbl_loses.Location = new Point(337, 69);
|
||||
lbl_loses.Name = "lbl_loses";
|
||||
lbl_loses.Size = new Size(146, 25);
|
||||
lbl_loses.TabIndex = 14;
|
||||
lbl_loses.Text = "Antal Förluster: 0";
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(lbl_loses);
|
||||
Controls.Add(grid_0);
|
||||
Controls.Add(grid_3);
|
||||
Controls.Add(grid_6);
|
||||
Controls.Add(grid_8);
|
||||
Controls.Add(grid_5);
|
||||
Controls.Add(grid_2);
|
||||
Controls.Add(grid_1);
|
||||
Controls.Add(grid_4);
|
||||
Controls.Add(grid_7);
|
||||
Controls.Add(lbl_wins);
|
||||
Controls.Add(menuStrip1);
|
||||
MainMenuStrip = menuStrip1;
|
||||
Name = "Form1";
|
||||
Text = "Form1";
|
||||
menuStrip1.ResumeLayout(false);
|
||||
menuStrip1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button btn_restart;
|
||||
private MenuStrip menuStrip1;
|
||||
private ToolStripMenuItem fileToolStripMenuItem;
|
||||
private ToolStripMenuItem helpToolStripMenuItem;
|
||||
private Label label1;
|
||||
private ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private Button button3;
|
||||
private Button button4;
|
||||
private Button button5;
|
||||
private Button button8;
|
||||
public Button grid_7;
|
||||
public Button grid_5;
|
||||
public Button grid_8;
|
||||
public Button grid_3;
|
||||
public Button grid_6;
|
||||
public Button grid_4;
|
||||
public Button grid_0;
|
||||
public Button grid_1;
|
||||
public Button grid_2;
|
||||
public Label lbl_wins;
|
||||
public ToolStripMenuItem newGameToolStripMenuItem;
|
||||
public Label lbl_loses;
|
||||
public ToolStripMenuItem exitToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user