mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 17:52:15 +00:00
85 lines
3.4 KiB
C#
85 lines
3.4 KiB
C#
namespace ShiftOS.Main.Apps
|
|
{
|
|
partial class Breakout
|
|
{
|
|
/// <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 Component 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.components = new System.ComponentModel.Container();
|
|
this.ball = new System.Windows.Forms.PictureBox();
|
|
this.gameTimer = new System.Windows.Forms.Timer(this.components);
|
|
this.playerPaddle = new System.Windows.Forms.PictureBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.ball)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.playerPaddle)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// ball
|
|
//
|
|
this.ball.BackColor = System.Drawing.Color.White;
|
|
this.ball.Location = new System.Drawing.Point(393, 229);
|
|
this.ball.Name = "ball";
|
|
this.ball.Size = new System.Drawing.Size(18, 18);
|
|
this.ball.TabIndex = 2;
|
|
this.ball.TabStop = false;
|
|
//
|
|
// gameTimer
|
|
//
|
|
this.gameTimer.Interval = 20;
|
|
this.gameTimer.Tick += new System.EventHandler(this.gameTimer_Tick);
|
|
//
|
|
// playerPaddle
|
|
//
|
|
this.playerPaddle.BackColor = System.Drawing.Color.White;
|
|
this.playerPaddle.Location = new System.Drawing.Point(337, 421);
|
|
this.playerPaddle.Name = "playerPaddle";
|
|
this.playerPaddle.Size = new System.Drawing.Size(142, 15);
|
|
this.playerPaddle.TabIndex = 3;
|
|
this.playerPaddle.TabStop = false;
|
|
//
|
|
// Pong
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.Black;
|
|
this.Controls.Add(this.playerPaddle);
|
|
this.Controls.Add(this.ball);
|
|
this.ForeColor = System.Drawing.Color.White;
|
|
this.Name = "Pong";
|
|
this.Size = new System.Drawing.Size(664, 470);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Pong_KeyDown);
|
|
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Pong_KeyUp);
|
|
((System.ComponentModel.ISupportInitialize)(this.ball)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.playerPaddle)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.PictureBox ball;
|
|
private System.Windows.Forms.Timer gameTimer;
|
|
private System.Windows.Forms.PictureBox playerPaddle;
|
|
}
|
|
}
|