diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Pong.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/Pong.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Pong.cs b/source/WindowsFormsApplication1/Apps/Pong.cs index c685100..fb14dde 100644 --- a/source/WindowsFormsApplication1/Apps/Pong.cs +++ b/source/WindowsFormsApplication1/Apps/Pong.cs @@ -7,7 +7,7 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using System.Windows.Forms; +using ShiftUI; namespace ShiftOS { @@ -50,7 +50,7 @@ namespace ShiftOS } // Move the paddle according to the mouse position. - private void pongMain_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e) + private void pongMain_MouseMove(object sender, ShiftUI.MouseEventArgs e) { paddleHuman.Location = new Point(paddleHuman.Location.X, (MousePosition.Y - this.Location.Y) - (paddleHuman.Height / 2)); } |
