Esempio n. 1
0
 private void RenderBox_MouseUp(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         m_GameEngine.OnLeftMouseUp((uint)e.X, (uint)e.Y);
     }
     else if (e.Button == MouseButtons.Right)
     {
         m_GameEngine.OnRightMouseUp((uint)e.X, (uint)e.Y);
     }
     else if (e.Button == MouseButtons.Middle)
     {
         m_GameEngine.OnMiddleMouseUp((uint)e.X, (uint)e.Y);
     }
 }