Beispiel #1
0
        /// <summary>
        /// Erforderliche Methode für die Designerunterstützung.
        /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.bStart = new System.Windows.Forms.Button();
            this.bOptionen = new System.Windows.Forms.Button();
            this.bHighscore = new System.Windows.Forms.Button();
            this.lScore = new System.Windows.Forms.Label();
            this.lName = new System.Windows.Forms.Label();
            this.rtbName = new System.Windows.Forms.RichTextBox();
            this.lLeben = new System.Windows.Forms.Label();
            this.lSchwierigkeit = new System.Windows.Forms.Label();
            this.pB5 = new F_Spielprojekt.PictureBox1();
            this.pB4 = new F_Spielprojekt.PictureBox1();
            this.pB3 = new F_Spielprojekt.PictureBox1();
            this.pB2 = new F_Spielprojekt.PictureBox1();
            this.pB1 = new F_Spielprojekt.PictureBox1();
            ((System.ComponentModel.ISupportInitialize)(this.pB5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB1)).BeginInit();
            this.SuspendLayout();
            // 
            // bStart
            // 
            this.bStart.Enabled = false;
            this.bStart.Location = new System.Drawing.Point(288, 283);
            this.bStart.Name = "bStart";
            this.bStart.Size = new System.Drawing.Size(112, 51);
            this.bStart.TabIndex = 0;
            this.bStart.Text = "Start";
            this.bStart.UseVisualStyleBackColor = true;
            this.bStart.Click += new System.EventHandler(this.bStart_Click);
            // 
            // bOptionen
            // 
            this.bOptionen.Location = new System.Drawing.Point(660, 283);
            this.bOptionen.Name = "bOptionen";
            this.bOptionen.Size = new System.Drawing.Size(112, 51);
            this.bOptionen.TabIndex = 1;
            this.bOptionen.Text = "Optionen";
            this.bOptionen.UseVisualStyleBackColor = true;
            this.bOptionen.Click += new System.EventHandler(this.bOptionen_Click);
            // 
            // bHighscore
            // 
            this.bHighscore.Location = new System.Drawing.Point(10, 283);
            this.bHighscore.Name = "bHighscore";
            this.bHighscore.Size = new System.Drawing.Size(112, 51);
            this.bHighscore.TabIndex = 2;
            this.bHighscore.Text = "Highscore";
            this.bHighscore.UseVisualStyleBackColor = true;
            this.bHighscore.Click += new System.EventHandler(this.bHighscore_Click);
            // 
            // lScore
            // 
            this.lScore.AutoSize = true;
            this.lScore.BackColor = System.Drawing.Color.Transparent;
            this.lScore.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lScore.Location = new System.Drawing.Point(665, 20);
            this.lScore.Name = "lScore";
            this.lScore.Size = new System.Drawing.Size(88, 24);
            this.lScore.TabIndex = 13;
            this.lScore.Text = "Score: 0";
            this.lScore.Visible = false;
            this.lScore.Click += new System.EventHandler(this.lScore_Click);
            // 
            // lName
            // 
            this.lName.AutoSize = true;
            this.lName.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lName.Location = new System.Drawing.Point(146, 20);
            this.lName.Name = "lName";
            this.lName.Size = new System.Drawing.Size(228, 24);
            this.lName.TabIndex = 12;
            this.lName.Text = "Spielername eintragen:";
            // 
            // rtbName
            // 
            this.rtbName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.rtbName.Location = new System.Drawing.Point(380, 19);
            this.rtbName.Name = "rtbName";
            this.rtbName.Size = new System.Drawing.Size(168, 25);
            this.rtbName.TabIndex = 11;
            this.rtbName.Text = "";
            this.rtbName.TextChanged += new System.EventHandler(this.rtbName_TextChanged);
            // 
            // lLeben
            // 
            this.lLeben.AutoSize = true;
            this.lLeben.BackColor = System.Drawing.Color.Transparent;
            this.lLeben.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lLeben.Location = new System.Drawing.Point(567, 20);
            this.lLeben.Name = "lLeben";
            this.lLeben.Size = new System.Drawing.Size(92, 24);
            this.lLeben.TabIndex = 15;
            this.lLeben.Text = "Leben: 3";
            this.lLeben.Visible = false;
            this.lLeben.Click += new System.EventHandler(this.lLeben_Click);
            // 
            // lSchwierigkeit
            // 
            this.lSchwierigkeit.AutoSize = true;
            this.lSchwierigkeit.BackColor = System.Drawing.Color.Transparent;
            this.lSchwierigkeit.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lSchwierigkeit.Location = new System.Drawing.Point(430, 294);
            this.lSchwierigkeit.Name = "lSchwierigkeit";
            this.lSchwierigkeit.Size = new System.Drawing.Size(196, 24);
            this.lSchwierigkeit.TabIndex = 16;
            this.lSchwierigkeit.Text = "Schwierigkeit: leicht";
            // 
            // pB5
            // 
            this.pB5.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
            this.pB5.Location = new System.Drawing.Point(699, 237);
            this.pB5.Name = "pB5";
            this.pB5.Size = new System.Drawing.Size(37, 31);
            this.pB5.TabIndex = 14;
            this.pB5.TabStop = false;
            this.pB5.Wegpunkt = false;
            this.pB5.Click += new System.EventHandler(this.pB5_Click);
            // 
            // pB4
            // 
            this.pB4.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
            this.pB4.Location = new System.Drawing.Point(562, 237);
            this.pB4.Name = "pB4";
            this.pB4.Size = new System.Drawing.Size(36, 31);
            this.pB4.TabIndex = 14;
            this.pB4.TabStop = false;
            this.pB4.Wegpunkt = false;
            this.pB4.Click += new System.EventHandler(this.pB4_Click);
            // 
            // pB3
            // 
            this.pB3.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
            this.pB3.Location = new System.Drawing.Point(424, 237);
            this.pB3.Name = "pB3";
            this.pB3.Size = new System.Drawing.Size(36, 31);
            this.pB3.TabIndex = 14;
            this.pB3.TabStop = false;
            this.pB3.Wegpunkt = false;
            this.pB3.Click += new System.EventHandler(this.pB3_Click);
            // 
            // pB2
            // 
            this.pB2.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
            this.pB2.Location = new System.Drawing.Point(288, 237);
            this.pB2.Name = "pB2";
            this.pB2.Size = new System.Drawing.Size(37, 31);
            this.pB2.TabIndex = 14;
            this.pB2.TabStop = false;
            this.pB2.Wegpunkt = false;
            this.pB2.Click += new System.EventHandler(this.pB2_Click);
            // 
            // pB1
            // 
            this.pB1.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
            this.pB1.Location = new System.Drawing.Point(150, 237);
            this.pB1.Name = "pB1";
            this.pB1.Size = new System.Drawing.Size(36, 31);
            this.pB1.TabIndex = 14;
            this.pB1.TabStop = false;
            this.pB1.Wegpunkt = false;
            this.pB1.Click += new System.EventHandler(this.pB1_Click);
            // 
            // Form1
            // 
            this.AcceptButton = this.bStart;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.ClientSize = new System.Drawing.Size(784, 341);
            this.Controls.Add(this.lSchwierigkeit);
            this.Controls.Add(this.lLeben);
            this.Controls.Add(this.lName);
            this.Controls.Add(this.pB5);
            this.Controls.Add(this.pB4);
            this.Controls.Add(this.pB3);
            this.Controls.Add(this.pB2);
            this.Controls.Add(this.pB1);
            this.Controls.Add(this.lScore);
            this.Controls.Add(this.rtbName);
            this.Controls.Add(this.bHighscore);
            this.Controls.Add(this.bOptionen);
            this.Controls.Add(this.bStart);
            this.DoubleBuffered = true;
            this.Margin = new System.Windows.Forms.Padding(2);
            this.MaximumSize = new System.Drawing.Size(800, 379);
            this.MinimumSize = new System.Drawing.Size(800, 379);
            this.Name = "Form1";
            this.Text = "DasgeilsteSpielderWelt";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Form1_Click);
            ((System.ComponentModel.ISupportInitialize)(this.pB5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pB1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Beispiel #2
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.bStart         = new System.Windows.Forms.Button();
     this.bOptionen      = new System.Windows.Forms.Button();
     this.bHighscore     = new System.Windows.Forms.Button();
     this.lScore         = new System.Windows.Forms.Label();
     this.lName          = new System.Windows.Forms.Label();
     this.rtbName        = new System.Windows.Forms.RichTextBox();
     this.lLeben         = new System.Windows.Forms.Label();
     this.lSchwierigkeit = new System.Windows.Forms.Label();
     this.pB5            = new F_Spielprojekt.PictureBox1();
     this.pB4            = new F_Spielprojekt.PictureBox1();
     this.pB3            = new F_Spielprojekt.PictureBox1();
     this.pB2            = new F_Spielprojekt.PictureBox1();
     this.pB1            = new F_Spielprojekt.PictureBox1();
     ((System.ComponentModel.ISupportInitialize)(this.pB5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB1)).BeginInit();
     this.SuspendLayout();
     //
     // bStart
     //
     this.bStart.Enabled  = false;
     this.bStart.Location = new System.Drawing.Point(288, 283);
     this.bStart.Name     = "bStart";
     this.bStart.Size     = new System.Drawing.Size(112, 51);
     this.bStart.TabIndex = 0;
     this.bStart.Text     = "Start";
     this.bStart.UseVisualStyleBackColor = true;
     this.bStart.Click += new System.EventHandler(this.bStart_Click);
     //
     // bOptionen
     //
     this.bOptionen.Location = new System.Drawing.Point(660, 283);
     this.bOptionen.Name     = "bOptionen";
     this.bOptionen.Size     = new System.Drawing.Size(112, 51);
     this.bOptionen.TabIndex = 1;
     this.bOptionen.Text     = "Optionen";
     this.bOptionen.UseVisualStyleBackColor = true;
     this.bOptionen.Click += new System.EventHandler(this.bOptionen_Click);
     //
     // bHighscore
     //
     this.bHighscore.Location = new System.Drawing.Point(10, 283);
     this.bHighscore.Name     = "bHighscore";
     this.bHighscore.Size     = new System.Drawing.Size(112, 51);
     this.bHighscore.TabIndex = 2;
     this.bHighscore.Text     = "Highscore";
     this.bHighscore.UseVisualStyleBackColor = true;
     this.bHighscore.Click += new System.EventHandler(this.bHighscore_Click);
     //
     // lScore
     //
     this.lScore.AutoSize  = true;
     this.lScore.BackColor = System.Drawing.Color.Transparent;
     this.lScore.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lScore.Location  = new System.Drawing.Point(665, 20);
     this.lScore.Name      = "lScore";
     this.lScore.Size      = new System.Drawing.Size(88, 24);
     this.lScore.TabIndex  = 13;
     this.lScore.Text      = "Score: 0";
     this.lScore.Visible   = false;
     this.lScore.Click    += new System.EventHandler(this.lScore_Click);
     //
     // lName
     //
     this.lName.AutoSize = true;
     this.lName.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lName.Location = new System.Drawing.Point(146, 20);
     this.lName.Name     = "lName";
     this.lName.Size     = new System.Drawing.Size(228, 24);
     this.lName.TabIndex = 12;
     this.lName.Text     = "Spielername eintragen:";
     //
     // rtbName
     //
     this.rtbName.Font         = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.rtbName.Location     = new System.Drawing.Point(380, 19);
     this.rtbName.Name         = "rtbName";
     this.rtbName.Size         = new System.Drawing.Size(168, 25);
     this.rtbName.TabIndex     = 11;
     this.rtbName.Text         = "";
     this.rtbName.TextChanged += new System.EventHandler(this.rtbName_TextChanged);
     //
     // lLeben
     //
     this.lLeben.AutoSize  = true;
     this.lLeben.BackColor = System.Drawing.Color.Transparent;
     this.lLeben.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lLeben.Location  = new System.Drawing.Point(567, 20);
     this.lLeben.Name      = "lLeben";
     this.lLeben.Size      = new System.Drawing.Size(92, 24);
     this.lLeben.TabIndex  = 15;
     this.lLeben.Text      = "Leben: 3";
     this.lLeben.Visible   = false;
     this.lLeben.Click    += new System.EventHandler(this.lLeben_Click);
     //
     // lSchwierigkeit
     //
     this.lSchwierigkeit.AutoSize  = true;
     this.lSchwierigkeit.BackColor = System.Drawing.Color.Transparent;
     this.lSchwierigkeit.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lSchwierigkeit.Location  = new System.Drawing.Point(430, 294);
     this.lSchwierigkeit.Name      = "lSchwierigkeit";
     this.lSchwierigkeit.Size      = new System.Drawing.Size(196, 24);
     this.lSchwierigkeit.TabIndex  = 16;
     this.lSchwierigkeit.Text      = "Schwierigkeit: leicht";
     //
     // pB5
     //
     this.pB5.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
     this.pB5.Location        = new System.Drawing.Point(699, 237);
     this.pB5.Name            = "pB5";
     this.pB5.Size            = new System.Drawing.Size(37, 31);
     this.pB5.TabIndex        = 14;
     this.pB5.TabStop         = false;
     this.pB5.Wegpunkt        = false;
     this.pB5.Click          += new System.EventHandler(this.pB5_Click);
     //
     // pB4
     //
     this.pB4.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
     this.pB4.Location        = new System.Drawing.Point(562, 237);
     this.pB4.Name            = "pB4";
     this.pB4.Size            = new System.Drawing.Size(36, 31);
     this.pB4.TabIndex        = 14;
     this.pB4.TabStop         = false;
     this.pB4.Wegpunkt        = false;
     this.pB4.Click          += new System.EventHandler(this.pB4_Click);
     //
     // pB3
     //
     this.pB3.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
     this.pB3.Location        = new System.Drawing.Point(424, 237);
     this.pB3.Name            = "pB3";
     this.pB3.Size            = new System.Drawing.Size(36, 31);
     this.pB3.TabIndex        = 14;
     this.pB3.TabStop         = false;
     this.pB3.Wegpunkt        = false;
     this.pB3.Click          += new System.EventHandler(this.pB3_Click);
     //
     // pB2
     //
     this.pB2.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
     this.pB2.Location        = new System.Drawing.Point(288, 237);
     this.pB2.Name            = "pB2";
     this.pB2.Size            = new System.Drawing.Size(37, 31);
     this.pB2.TabIndex        = 14;
     this.pB2.TabStop         = false;
     this.pB2.Wegpunkt        = false;
     this.pB2.Click          += new System.EventHandler(this.pB2_Click);
     //
     // pB1
     //
     this.pB1.BackgroundImage = global::F_Spielprojekt.Properties.Resources.StraßeGeradeButton;
     this.pB1.Location        = new System.Drawing.Point(150, 237);
     this.pB1.Name            = "pB1";
     this.pB1.Size            = new System.Drawing.Size(36, 31);
     this.pB1.TabIndex        = 14;
     this.pB1.TabStop         = false;
     this.pB1.Wegpunkt        = false;
     this.pB1.Click          += new System.EventHandler(this.pB1_Click);
     //
     // Form1
     //
     this.AcceptButton          = this.bStart;
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize            = new System.Drawing.Size(784, 341);
     this.Controls.Add(this.lSchwierigkeit);
     this.Controls.Add(this.lLeben);
     this.Controls.Add(this.lName);
     this.Controls.Add(this.pB5);
     this.Controls.Add(this.pB4);
     this.Controls.Add(this.pB3);
     this.Controls.Add(this.pB2);
     this.Controls.Add(this.pB1);
     this.Controls.Add(this.lScore);
     this.Controls.Add(this.rtbName);
     this.Controls.Add(this.bHighscore);
     this.Controls.Add(this.bOptionen);
     this.Controls.Add(this.bStart);
     this.DoubleBuffered = true;
     this.Margin         = new System.Windows.Forms.Padding(2);
     this.MaximumSize    = new System.Drawing.Size(800, 379);
     this.MinimumSize    = new System.Drawing.Size(800, 379);
     this.Name           = "Form1";
     this.Text           = "DasgeilsteSpielderWelt";
     this.Load          += new System.EventHandler(this.Form1_Load);
     this.MouseClick    += new System.Windows.Forms.MouseEventHandler(this.Form1_Click);
     ((System.ComponentModel.ISupportInitialize)(this.pB5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pB1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }