blob: d36d691991e605f80f577cf08cda55c34f2274e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
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;
}
}
|