diff options
| author | lempamo <[email protected]> | 2017-02-28 16:11:49 -0500 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-02-28 16:11:49 -0500 |
| commit | 8d8fc4931d0e603bb740b52c7f664de97061e24b (patch) | |
| tree | fed74b95c9abb4ab057450977dd8972fe6fa03e3 /ShiftOS.WinForms/Applications/Snakey.Designer.cs | |
| parent | 998f3357a77661cdd85aa1f419bed5054aa21ede (diff) | |
| download | shiftos_thereturn-8d8fc4931d0e603bb740b52c7f664de97061e24b.tar.gz shiftos_thereturn-8d8fc4931d0e603bb740b52c7f664de97061e24b.tar.bz2 shiftos_thereturn-8d8fc4931d0e603bb740b52c7f664de97061e24b.zip | |
yo the snake is movin
Diffstat (limited to 'ShiftOS.WinForms/Applications/Snakey.Designer.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Snakey.Designer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/Snakey.Designer.cs b/ShiftOS.WinForms/Applications/Snakey.Designer.cs index 1b21792..d500a94 100644 --- a/ShiftOS.WinForms/Applications/Snakey.Designer.cs +++ b/ShiftOS.WinForms/Applications/Snakey.Designer.cs @@ -61,6 +61,7 @@ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(260, 260); this.tableLayoutPanel1.TabIndex = 2; + this.tableLayoutPanel1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.OnKeyDown); // // button1 // @@ -71,6 +72,7 @@ this.button1.Text = "Play"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); + this.button1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.OnKeyDown); // // label1 // @@ -89,8 +91,8 @@ this.Controls.Add(this.button1); this.Controls.Add(this.tableLayoutPanel1); this.Name = "Snakey"; - this.Size = new System.Drawing.Size(317, 329); - this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.OnKeyPress); + this.Size = new System.Drawing.Size(306, 329); + this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.OnKeyDown); this.ResumeLayout(false); this.PerformLayout(); |
