Click here to Skip to main content
15,892,298 members
Articles / Programming Languages / C#

Solve Rubik Cube Puzzle

Rate me:
Please Sign up or sign in to vote.
4.93/5 (62 votes)
11 Oct 2010CPOL7 min read 144.6K   7.6K   91  
Brain teaser solve Rubik cube puzzle on system
namespace Learningproject2
{
    partial class Game
    {
        /// <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()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Game));
            this.backanticlockwise = new System.Windows.Forms.Label();
            this.backclockwise = new System.Windows.Forms.Label();
            this.FRONTANTICLOCKWISE = new System.Windows.Forms.Label();
            this.FRONTCLOCKWISE = new System.Windows.Forms.Label();
            this.bottomanticlockwise = new System.Windows.Forms.Label();
            this.bottomClockwise = new System.Windows.Forms.Label();
            this.TOPANTICLOCKWISE = new System.Windows.Forms.Label();
            this.TOPCLOCKWISE = new System.Windows.Forms.Label();
            this.RIGHTANTICLOCKWISE = new System.Windows.Forms.Label();
            this.RIGHTCLOCKWISE = new System.Windows.Forms.Label();
            this.BACKBUTTON = new System.Windows.Forms.Label();
            this.FRONTBUTTON = new System.Windows.Forms.Label();
            this.RIGHTBUTTON = new System.Windows.Forms.Label();
            this.LEFTBUTTON = new System.Windows.Forms.Label();
            this.DOWNBUTTON = new System.Windows.Forms.Label();
            this.UPBUTTON = new System.Windows.Forms.Label();
            this.LEFTANTICLOCKWISE = new System.Windows.Forms.Label();
            this.LEFTCLOCKWISE = new System.Windows.Forms.Label();
            this.start = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // backanticlockwise
            // 
            this.backanticlockwise.BackColor = System.Drawing.Color.Black;
            this.backanticlockwise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.backanticlockwise.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.backanticlockwise.Image = global::Learningproject2.Properties.Resources.rot_right;
            this.backanticlockwise.Location = new System.Drawing.Point(560, 279);
            this.backanticlockwise.Name = "backanticlockwise";
            this.backanticlockwise.Size = new System.Drawing.Size(30, 30);
            this.backanticlockwise.TabIndex = 46;
            this.backanticlockwise.Click += new System.EventHandler(this.backanticlockwise_Click);
            this.backanticlockwise.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // backclockwise
            // 
            this.backclockwise.BackColor = System.Drawing.Color.Black;
            this.backclockwise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.backclockwise.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.backclockwise.Image = global::Learningproject2.Properties.Resources.rot_left;
            this.backclockwise.Location = new System.Drawing.Point(757, 279);
            this.backclockwise.Name = "backclockwise";
            this.backclockwise.Size = new System.Drawing.Size(30, 30);
            this.backclockwise.TabIndex = 45;
            this.backclockwise.Click += new System.EventHandler(this.backclockwise_Click);
            this.backclockwise.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // FRONTANTICLOCKWISE
            // 
            this.FRONTANTICLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.FRONTANTICLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.FRONTANTICLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.FRONTANTICLOCKWISE.Image = global::Learningproject2.Properties.Resources.rot_right;
            this.FRONTANTICLOCKWISE.Location = new System.Drawing.Point(602, 517);
            this.FRONTANTICLOCKWISE.Name = "FRONTANTICLOCKWISE";
            this.FRONTANTICLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.FRONTANTICLOCKWISE.TabIndex = 44;
            this.FRONTANTICLOCKWISE.Click += new System.EventHandler(this.FRONTANTICLOCKWISE_Click);
            this.FRONTANTICLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // FRONTCLOCKWISE
            // 
            this.FRONTCLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.FRONTCLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.FRONTCLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.FRONTCLOCKWISE.Image = global::Learningproject2.Properties.Resources.rot_left;
            this.FRONTCLOCKWISE.Location = new System.Drawing.Point(836, 517);
            this.FRONTCLOCKWISE.Name = "FRONTCLOCKWISE";
            this.FRONTCLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.FRONTCLOCKWISE.TabIndex = 43;
            this.FRONTCLOCKWISE.Click += new System.EventHandler(this.FRONTCLOCKWISE_Click);
            this.FRONTCLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // bottomanticlockwise
            // 
            this.bottomanticlockwise.BackColor = System.Drawing.Color.Black;
            this.bottomanticlockwise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bottomanticlockwise.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.bottomanticlockwise.Image = ((System.Drawing.Image)(resources.GetObject("bottomanticlockwise.Image")));
            this.bottomanticlockwise.Location = new System.Drawing.Point(704, 544);
            this.bottomanticlockwise.Name = "bottomanticlockwise";
            this.bottomanticlockwise.Size = new System.Drawing.Size(30, 30);
            this.bottomanticlockwise.TabIndex = 41;
            this.bottomanticlockwise.Click += new System.EventHandler(this.bottomanticlockwise_Click);
            this.bottomanticlockwise.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // bottomClockwise
            // 
            this.bottomClockwise.BackColor = System.Drawing.Color.Black;
            this.bottomClockwise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bottomClockwise.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.bottomClockwise.Image = ((System.Drawing.Image)(resources.GetObject("bottomClockwise.Image")));
            this.bottomClockwise.Location = new System.Drawing.Point(740, 544);
            this.bottomClockwise.Name = "bottomClockwise";
            this.bottomClockwise.Size = new System.Drawing.Size(30, 30);
            this.bottomClockwise.TabIndex = 40;
            this.bottomClockwise.Click += new System.EventHandler(this.bottomClockwise_Click);
            this.bottomClockwise.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // TOPANTICLOCKWISE
            // 
            this.TOPANTICLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.TOPANTICLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.TOPANTICLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.TOPANTICLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("TOPANTICLOCKWISE.Image")));
            this.TOPANTICLOCKWISE.Location = new System.Drawing.Point(618, 252);
            this.TOPANTICLOCKWISE.Name = "TOPANTICLOCKWISE";
            this.TOPANTICLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.TOPANTICLOCKWISE.TabIndex = 39;
            this.TOPANTICLOCKWISE.Click += new System.EventHandler(this.TOPANTICLOCKWISE_Click);
            this.TOPANTICLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // TOPCLOCKWISE
            // 
            this.TOPCLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.TOPCLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.TOPCLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.TOPCLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("TOPCLOCKWISE.Image")));
            this.TOPCLOCKWISE.Location = new System.Drawing.Point(654, 252);
            this.TOPCLOCKWISE.Name = "TOPCLOCKWISE";
            this.TOPCLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.TOPCLOCKWISE.TabIndex = 38;
            this.TOPCLOCKWISE.Click += new System.EventHandler(this.TOPCLOCKWISE_Click);
            this.TOPCLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // RIGHTANTICLOCKWISE
            // 
            this.RIGHTANTICLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.RIGHTANTICLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.RIGHTANTICLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.RIGHTANTICLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("RIGHTANTICLOCKWISE.Image")));
            this.RIGHTANTICLOCKWISE.Location = new System.Drawing.Point(836, 399);
            this.RIGHTANTICLOCKWISE.Name = "RIGHTANTICLOCKWISE";
            this.RIGHTANTICLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.RIGHTANTICLOCKWISE.TabIndex = 37;
            this.RIGHTANTICLOCKWISE.Click += new System.EventHandler(this.RIGHTANTICLOCKWISE_Click);
            this.RIGHTANTICLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // RIGHTCLOCKWISE
            // 
            this.RIGHTCLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.RIGHTCLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.RIGHTCLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.RIGHTCLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("RIGHTCLOCKWISE.Image")));
            this.RIGHTCLOCKWISE.Location = new System.Drawing.Point(836, 435);
            this.RIGHTCLOCKWISE.Name = "RIGHTCLOCKWISE";
            this.RIGHTCLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.RIGHTCLOCKWISE.TabIndex = 36;
            this.RIGHTCLOCKWISE.Click += new System.EventHandler(this.RIGHTCLOCKWISE_Click);
            this.RIGHTCLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // BACKBUTTON
            // 
            this.BACKBUTTON.BackColor = System.Drawing.Color.Black;
            this.BACKBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.BACKBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BACKBUTTON.Image = global::Learningproject2.Properties.Resources._1282130228_arrow_rotate_anticlockwise1;
            this.BACKBUTTON.Location = new System.Drawing.Point(954, 337);
            this.BACKBUTTON.Name = "BACKBUTTON";
            this.BACKBUTTON.Size = new System.Drawing.Size(30, 30);
            this.BACKBUTTON.TabIndex = 35;
            this.BACKBUTTON.Click += new System.EventHandler(this.BACKBUTTON_Click);
            this.BACKBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // FRONTBUTTON
            // 
            this.FRONTBUTTON.BackColor = System.Drawing.Color.Black;
            this.FRONTBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.FRONTBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.FRONTBUTTON.Image = global::Learningproject2.Properties.Resources.rotatezantipng;
            this.FRONTBUTTON.Location = new System.Drawing.Point(1010, 337);
            this.FRONTBUTTON.Name = "FRONTBUTTON";
            this.FRONTBUTTON.Size = new System.Drawing.Size(30, 30);
            this.FRONTBUTTON.TabIndex = 34;
            this.FRONTBUTTON.Click += new System.EventHandler(this.FRONTBUTTON_Click);
            this.FRONTBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // RIGHTBUTTON
            // 
            this.RIGHTBUTTON.BackColor = System.Drawing.Color.Black;
            this.RIGHTBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.RIGHTBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.RIGHTBUTTON.Image = global::Learningproject2.Properties.Resources.rotate360yanti;
            this.RIGHTBUTTON.Location = new System.Drawing.Point(618, 160);
            this.RIGHTBUTTON.Name = "RIGHTBUTTON";
            this.RIGHTBUTTON.Size = new System.Drawing.Size(30, 30);
            this.RIGHTBUTTON.TabIndex = 33;
            this.RIGHTBUTTON.Click += new System.EventHandler(this.RIGHTBUTTON_Click);
            this.RIGHTBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // LEFTBUTTON
            // 
            this.LEFTBUTTON.BackColor = System.Drawing.Color.Black;
            this.LEFTBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.LEFTBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.LEFTBUTTON.Image = global::Learningproject2.Properties.Resources.rotate360yanti1;
            this.LEFTBUTTON.Location = new System.Drawing.Point(670, 160);
            this.LEFTBUTTON.Name = "LEFTBUTTON";
            this.LEFTBUTTON.Size = new System.Drawing.Size(30, 30);
            this.LEFTBUTTON.TabIndex = 32;
            this.LEFTBUTTON.Click += new System.EventHandler(this.LEFTBUTTON_Click);
            this.LEFTBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // DOWNBUTTON
            // 
            this.DOWNBUTTON.BackColor = System.Drawing.Color.Black;
            this.DOWNBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.DOWNBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.DOWNBUTTON.Image = global::Learningproject2.Properties.Resources.rotate360xanti;
            this.DOWNBUTTON.Location = new System.Drawing.Point(423, 337);
            this.DOWNBUTTON.Name = "DOWNBUTTON";
            this.DOWNBUTTON.Size = new System.Drawing.Size(30, 30);
            this.DOWNBUTTON.TabIndex = 31;
            this.DOWNBUTTON.Click += new System.EventHandler(this.DOWNBUTTON_Click);
            this.DOWNBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // UPBUTTON
            // 
            this.UPBUTTON.BackColor = System.Drawing.Color.Black;
            this.UPBUTTON.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.UPBUTTON.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.UPBUTTON.Image = ((System.Drawing.Image)(resources.GetObject("UPBUTTON.Image")));
            this.UPBUTTON.Location = new System.Drawing.Point(423, 388);
            this.UPBUTTON.Name = "UPBUTTON";
            this.UPBUTTON.Size = new System.Drawing.Size(30, 30);
            this.UPBUTTON.TabIndex = 30;
            this.UPBUTTON.Click += new System.EventHandler(this.UPBUTTON_Click);
            this.UPBUTTON.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // LEFTANTICLOCKWISE
            // 
            this.LEFTANTICLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.LEFTANTICLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.LEFTANTICLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.LEFTANTICLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("LEFTANTICLOCKWISE.Image")));
            this.LEFTANTICLOCKWISE.Location = new System.Drawing.Point(560, 337);
            this.LEFTANTICLOCKWISE.Name = "LEFTANTICLOCKWISE";
            this.LEFTANTICLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.LEFTANTICLOCKWISE.TabIndex = 29;
            this.LEFTANTICLOCKWISE.Click += new System.EventHandler(this.LEFTANTICLOCKWISE_Click);
            this.LEFTANTICLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // LEFTCLOCKWISE
            // 
            this.LEFTCLOCKWISE.BackColor = System.Drawing.Color.Black;
            this.LEFTCLOCKWISE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.LEFTCLOCKWISE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.LEFTCLOCKWISE.Image = ((System.Drawing.Image)(resources.GetObject("LEFTCLOCKWISE.Image")));
            this.LEFTCLOCKWISE.Location = new System.Drawing.Point(560, 373);
            this.LEFTCLOCKWISE.Name = "LEFTCLOCKWISE";
            this.LEFTCLOCKWISE.Size = new System.Drawing.Size(30, 30);
            this.LEFTCLOCKWISE.TabIndex = 28;
            this.LEFTCLOCKWISE.Click += new System.EventHandler(this.LEFTCLOCKWISE_Click);
            this.LEFTCLOCKWISE.MouseHover += new System.EventHandler(this.label1_MouseHover);
            // 
            // start
            // 
            this.start.BackColor = System.Drawing.Color.DarkRed;
            this.start.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.start.Font = new System.Drawing.Font("Microsoft Sans Serif", 72F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.start.Location = new System.Drawing.Point(383, 166);
            this.start.Name = "start";
            this.start.Size = new System.Drawing.Size(657, 408);
            this.start.TabIndex = 47;
            this.start.Text = "Start";
            this.start.UseVisualStyleBackColor = false;
            this.start.Click += new System.EventHandler(this.start_Click);
            // 
            // Game
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Black;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.ClientSize = new System.Drawing.Size(1294, 625);
            this.Controls.Add(this.start);
            this.Controls.Add(this.backanticlockwise);
            this.Controls.Add(this.backclockwise);
            this.Controls.Add(this.FRONTANTICLOCKWISE);
            this.Controls.Add(this.FRONTCLOCKWISE);
            this.Controls.Add(this.bottomanticlockwise);
            this.Controls.Add(this.bottomClockwise);
            this.Controls.Add(this.TOPANTICLOCKWISE);
            this.Controls.Add(this.TOPCLOCKWISE);
            this.Controls.Add(this.RIGHTANTICLOCKWISE);
            this.Controls.Add(this.RIGHTCLOCKWISE);
            this.Controls.Add(this.BACKBUTTON);
            this.Controls.Add(this.FRONTBUTTON);
            this.Controls.Add(this.RIGHTBUTTON);
            this.Controls.Add(this.LEFTBUTTON);
            this.Controls.Add(this.DOWNBUTTON);
            this.Controls.Add(this.UPBUTTON);
            this.Controls.Add(this.LEFTANTICLOCKWISE);
            this.Controls.Add(this.LEFTCLOCKWISE);
            this.DoubleBuffered = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Name = "Game";
            this.Text = "Atul Loona";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Label LEFTCLOCKWISE;
        private System.Windows.Forms.Label LEFTANTICLOCKWISE;
        private System.Windows.Forms.Label DOWNBUTTON;
        private System.Windows.Forms.Label UPBUTTON;
        private System.Windows.Forms.Label RIGHTBUTTON;
        private System.Windows.Forms.Label LEFTBUTTON;
        private System.Windows.Forms.Label BACKBUTTON;
        private System.Windows.Forms.Label FRONTBUTTON;
        private System.Windows.Forms.Label RIGHTANTICLOCKWISE;
        private System.Windows.Forms.Label 
            
            RIGHTCLOCKWISE;
        private System.Windows.Forms.Label bottomanticlockwise;
        private System.Windows.Forms.Label bottomClockwise;
        private System.Windows.Forms.Label TOPANTICLOCKWISE;
        private System.Windows.Forms.Label TOPCLOCKWISE;
        private System.Windows.Forms.Label FRONTANTICLOCKWISE;
        private System.Windows.Forms.Label FRONTCLOCKWISE;
        private System.Windows.Forms.Label backanticlockwise;
        private System.Windows.Forms.Label backclockwise;
        private System.Windows.Forms.Button start;



    }
}

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
India India
"It's impossible," said pride. "It's risky," said experience . "It's pointless," said reason "Give it a try." whispered the heart


Another piece of work here are links.

1) http://monk.parseapp.com/index.htm

2) http://picassa.parseapp.com/index.htm

3) http://circles.parseapp.com/

4) https://play.google.com/store/apps/details?id=com.complex

5) https://www.facebook.com/pages/MagForce/1406500216306629

Comments and Discussions