Click here to Skip to main content
15,885,435 members
Articles / Programming Languages / Visual Basic

Puzzle Square

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
11 Jan 2013CPOL5 min read 26.4K   704   10  
The goal of the program was to make things simple yet easy to understand and quickly changeable based on future ideas.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmHelp
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
      Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(FrmHelp))
      Me.PictureBox1 = New System.Windows.Forms.PictureBox()
      Me.BtnExit = New System.Windows.Forms.Button()
      Me.Label1 = New System.Windows.Forms.Label()
      Me.Label2 = New System.Windows.Forms.Label()
      Me.Label3 = New System.Windows.Forms.Label()
      Me.Label4 = New System.Windows.Forms.Label()
      Me.Label5 = New System.Windows.Forms.Label()
      Me.Label6 = New System.Windows.Forms.Label()
      Me.Label7 = New System.Windows.Forms.Label()
      Me.Label8 = New System.Windows.Forms.Label()
      Me.Label9 = New System.Windows.Forms.Label()
      Me.Label10 = New System.Windows.Forms.Label()
      Me.Label11 = New System.Windows.Forms.Label()
      Me.Label12 = New System.Windows.Forms.Label()
      Me.btnSelect1 = New System.Windows.Forms.Button()
      Me.Button1 = New System.Windows.Forms.Button()
      Me.Button2 = New System.Windows.Forms.Button()
      Me.Button3 = New System.Windows.Forms.Button()
      Me.Button4 = New System.Windows.Forms.Button()
      Me.Button5 = New System.Windows.Forms.Button()
      Me.Button6 = New System.Windows.Forms.Button()
      Me.Button7 = New System.Windows.Forms.Button()
      Me.Button8 = New System.Windows.Forms.Button()
      Me.Label13 = New System.Windows.Forms.Label()
      Me.Label14 = New System.Windows.Forms.Label()
      CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
      Me.SuspendLayout()
      '
      'PictureBox1
      '
      Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
      Me.PictureBox1.Location = New System.Drawing.Point(4, 4)
      Me.PictureBox1.Name = "PictureBox1"
      Me.PictureBox1.Size = New System.Drawing.Size(127, 127)
      Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
      Me.PictureBox1.TabIndex = 0
      Me.PictureBox1.TabStop = False
      '
      'BtnExit
      '
      Me.BtnExit.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
      Me.BtnExit.Location = New System.Drawing.Point(358, 528)
      Me.BtnExit.Name = "BtnExit"
      Me.BtnExit.Size = New System.Drawing.Size(80, 40)
      Me.BtnExit.TabIndex = 1
      Me.BtnExit.Text = "OK"
      Me.BtnExit.UseVisualStyleBackColor = False
      '
      'Label1
      '
      Me.Label1.Font = New System.Drawing.Font("Courier New", 9.0!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Underline), System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label1.Location = New System.Drawing.Point(136, 4)
      Me.Label1.Name = "Label1"
      Me.Label1.Size = New System.Drawing.Size(640, 16)
      Me.Label1.TabIndex = 2
      Me.Label1.Text = "Puzzle Square Game - Detailed Instructions"
      '
      'Label2
      '
      Me.Label2.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label2.Location = New System.Drawing.Point(136, 36)
      Me.Label2.Name = "Label2"
      Me.Label2.Size = New System.Drawing.Size(640, 32)
      Me.Label2.TabIndex = 3
      Me.Label2.Text = "The ""squares"" numbered from 1 to 9 represent our puzzle. By pressing 1 of the but" & _
    "tons then either 4 or 5 squares change colors as follows:"
      '
      'Label3
      '
      Me.Label3.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label3.Location = New System.Drawing.Point(180, 80)
      Me.Label3.Name = "Label3"
      Me.Label3.Size = New System.Drawing.Size(561, 16)
      Me.Label3.TabIndex = 4
      Me.Label3.Text = "If you press the Number 1 square, then squares 1, 2, 4, and 5 change to the next " & _
    "color in the puzzle."
      '
      'Label4
      '
      Me.Label4.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label4.Location = New System.Drawing.Point(180, 112)
      Me.Label4.Name = "Label4"
      Me.Label4.Size = New System.Drawing.Size(561, 16)
      Me.Label4.TabIndex = 5
      Me.Label4.Text = "If you press the Number 2 square, then squares 1, 2, 3, and 5 change to the next " & _
    "color in the puzzle."
      '
      'Label5
      '
      Me.Label5.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label5.Location = New System.Drawing.Point(180, 144)
      Me.Label5.Name = "Label5"
      Me.Label5.Size = New System.Drawing.Size(561, 16)
      Me.Label5.TabIndex = 6
      Me.Label5.Text = "If you press the Number 3 square, then squares 2, 3, 5, and 6 change to the next " & _
    "color in the puzzle."
      '
      'Label6
      '
      Me.Label6.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label6.Location = New System.Drawing.Point(180, 176)
      Me.Label6.Name = "Label6"
      Me.Label6.Size = New System.Drawing.Size(561, 16)
      Me.Label6.TabIndex = 7
      Me.Label6.Text = "If you press the Number 4 square, then squares 1, 4, 5, and 7 change to the next " & _
    "color in the puzzle."
      '
      'Label7
      '
      Me.Label7.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label7.Location = New System.Drawing.Point(180, 208)
      Me.Label7.Name = "Label7"
      Me.Label7.Size = New System.Drawing.Size(561, 16)
      Me.Label7.TabIndex = 8
      Me.Label7.Text = "If you press the Number 5 square, then squares 2, 4, 5, 6, and 8 change to the ne" & _
    "xt color in the puzzle."
      '
      'Label8
      '
      Me.Label8.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label8.Location = New System.Drawing.Point(180, 240)
      Me.Label8.Name = "Label8"
      Me.Label8.Size = New System.Drawing.Size(561, 16)
      Me.Label8.TabIndex = 9
      Me.Label8.Text = "If you press the Number 6 square, then squares 3, 5, 6, and 9 change to the next " & _
    "color in the puzzle."
      '
      'Label9
      '
      Me.Label9.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label9.Location = New System.Drawing.Point(180, 272)
      Me.Label9.Name = "Label9"
      Me.Label9.Size = New System.Drawing.Size(561, 16)
      Me.Label9.TabIndex = 10
      Me.Label9.Text = "If you press the Number 7 square, then squares 4, 5, 7, and 8 change to the next " & _
    "color in the puzzle."
      '
      'Label10
      '
      Me.Label10.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label10.Location = New System.Drawing.Point(180, 304)
      Me.Label10.Name = "Label10"
      Me.Label10.Size = New System.Drawing.Size(561, 16)
      Me.Label10.TabIndex = 11
      Me.Label10.Text = "If you press the Number 8 square, then squares 5, 7, 8, and 9 change to the next " & _
    "color in the puzzle."
      '
      'Label11
      '
      Me.Label11.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label11.Location = New System.Drawing.Point(180, 336)
      Me.Label11.Name = "Label11"
      Me.Label11.Size = New System.Drawing.Size(561, 16)
      Me.Label11.TabIndex = 12
      Me.Label11.Text = "If you press the Number 9 square, then squares 5, 6, 8, and 9 change to the next " & _
    "color in the puzzle."
      '
      'Label12
      '
      Me.Label12.BackColor = System.Drawing.Color.Black
      Me.Label12.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label12.ForeColor = System.Drawing.Color.White
      Me.Label12.Location = New System.Drawing.Point(136, 372)
      Me.Label12.Name = "Label12"
      Me.Label12.Size = New System.Drawing.Size(550, 40)
      Me.Label12.TabIndex = 13
      Me.Label12.Text = " 2 Color Mode uses the following colors in this order:"
      Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
      '
      'btnSelect1
      '
      Me.btnSelect1.BackColor = System.Drawing.Color.Red
      Me.btnSelect1.Location = New System.Drawing.Point(500, 376)
      Me.btnSelect1.Name = "btnSelect1"
      Me.btnSelect1.Size = New System.Drawing.Size(32, 32)
      Me.btnSelect1.TabIndex = 16
      Me.btnSelect1.UseVisualStyleBackColor = False
      '
      'Button1
      '
      Me.Button1.BackColor = System.Drawing.Color.Yellow
      Me.Button1.Location = New System.Drawing.Point(548, 376)
      Me.Button1.Name = "Button1"
      Me.Button1.Size = New System.Drawing.Size(32, 32)
      Me.Button1.TabIndex = 17
      Me.Button1.UseVisualStyleBackColor = False
      '
      'Button2
      '
      Me.Button2.BackColor = System.Drawing.Color.Yellow
      Me.Button2.Location = New System.Drawing.Point(548, 424)
      Me.Button2.Name = "Button2"
      Me.Button2.Size = New System.Drawing.Size(32, 32)
      Me.Button2.TabIndex = 19
      Me.Button2.UseVisualStyleBackColor = False
      '
      'Button3
      '
      Me.Button3.BackColor = System.Drawing.Color.Red
      Me.Button3.Location = New System.Drawing.Point(500, 424)
      Me.Button3.Name = "Button3"
      Me.Button3.Size = New System.Drawing.Size(32, 32)
      Me.Button3.TabIndex = 18
      Me.Button3.UseVisualStyleBackColor = False
      '
      'Button4
      '
      Me.Button4.BackColor = System.Drawing.Color.Yellow
      Me.Button4.Location = New System.Drawing.Point(548, 472)
      Me.Button4.Name = "Button4"
      Me.Button4.Size = New System.Drawing.Size(32, 32)
      Me.Button4.TabIndex = 21
      Me.Button4.UseVisualStyleBackColor = False
      '
      'Button5
      '
      Me.Button5.BackColor = System.Drawing.Color.Red
      Me.Button5.Location = New System.Drawing.Point(500, 472)
      Me.Button5.Name = "Button5"
      Me.Button5.Size = New System.Drawing.Size(32, 32)
      Me.Button5.TabIndex = 20
      Me.Button5.UseVisualStyleBackColor = False
      '
      'Button6
      '
      Me.Button6.BackColor = System.Drawing.Color.Green
      Me.Button6.Location = New System.Drawing.Point(596, 424)
      Me.Button6.Name = "Button6"
      Me.Button6.Size = New System.Drawing.Size(32, 32)
      Me.Button6.TabIndex = 22
      Me.Button6.UseVisualStyleBackColor = False
      '
      'Button7
      '
      Me.Button7.BackColor = System.Drawing.Color.Green
      Me.Button7.Location = New System.Drawing.Point(596, 472)
      Me.Button7.Name = "Button7"
      Me.Button7.Size = New System.Drawing.Size(32, 32)
      Me.Button7.TabIndex = 23
      Me.Button7.UseVisualStyleBackColor = False
      '
      'Button8
      '
      Me.Button8.BackColor = System.Drawing.Color.Blue
      Me.Button8.Location = New System.Drawing.Point(644, 472)
      Me.Button8.Name = "Button8"
      Me.Button8.Size = New System.Drawing.Size(32, 32)
      Me.Button8.TabIndex = 24
      Me.Button8.UseVisualStyleBackColor = False
      '
      'Label13
      '
      Me.Label13.BackColor = System.Drawing.Color.Black
      Me.Label13.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label13.ForeColor = System.Drawing.Color.White
      Me.Label13.Location = New System.Drawing.Point(136, 420)
      Me.Label13.Name = "Label13"
      Me.Label13.Size = New System.Drawing.Size(550, 40)
      Me.Label13.TabIndex = 25
      Me.Label13.Text = " 3 Color Mode uses the following colors in this order:"
      Me.Label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
      '
      'Label14
      '
      Me.Label14.BackColor = System.Drawing.Color.Black
      Me.Label14.Font = New System.Drawing.Font("Comic Sans MS", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
      Me.Label14.ForeColor = System.Drawing.Color.White
      Me.Label14.Location = New System.Drawing.Point(136, 468)
      Me.Label14.Name = "Label14"
      Me.Label14.Size = New System.Drawing.Size(550, 40)
      Me.Label14.TabIndex = 26
      Me.Label14.Text = " 4 Color Mode uses the following colors in this order:"
      Me.Label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
      '
      'FrmHelp
      '
      Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
      Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
      Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
      Me.ClientSize = New System.Drawing.Size(792, 573)
      Me.Controls.Add(Me.Button3)
      Me.Controls.Add(Me.Button1)
      Me.Controls.Add(Me.btnSelect1)
      Me.Controls.Add(Me.Button8)
      Me.Controls.Add(Me.Button7)
      Me.Controls.Add(Me.Button6)
      Me.Controls.Add(Me.Button4)
      Me.Controls.Add(Me.Button5)
      Me.Controls.Add(Me.Button2)
      Me.Controls.Add(Me.Label11)
      Me.Controls.Add(Me.Label10)
      Me.Controls.Add(Me.Label9)
      Me.Controls.Add(Me.Label8)
      Me.Controls.Add(Me.Label7)
      Me.Controls.Add(Me.Label6)
      Me.Controls.Add(Me.Label5)
      Me.Controls.Add(Me.Label4)
      Me.Controls.Add(Me.Label3)
      Me.Controls.Add(Me.Label2)
      Me.Controls.Add(Me.Label1)
      Me.Controls.Add(Me.BtnExit)
      Me.Controls.Add(Me.PictureBox1)
      Me.Controls.Add(Me.Label14)
      Me.Controls.Add(Me.Label12)
      Me.Controls.Add(Me.Label13)
      Me.ForeColor = System.Drawing.Color.Black
      Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
      Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
      Me.MaximizeBox = False
      Me.Name = "FrmHelp"
      Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
      Me.Text = " Puzzle Square Game - Detailed Instructions"
      CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
      Me.ResumeLayout(False)
      Me.PerformLayout()

End Sub
    Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
    Friend WithEvents BtnExit As System.Windows.Forms.Button
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents Label9 As System.Windows.Forms.Label
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents Label12 As System.Windows.Forms.Label
    Friend WithEvents btnSelect1 As System.Windows.Forms.Button
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents Button3 As System.Windows.Forms.Button
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents Button5 As System.Windows.Forms.Button
    Friend WithEvents Button6 As System.Windows.Forms.Button
    Friend WithEvents Button7 As System.Windows.Forms.Button
    Friend WithEvents Button8 As System.Windows.Forms.Button
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents Label14 As System.Windows.Forms.Label
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
BillNew - Software developer since November 1977.

Comments and Discussions