https://bugzilla.novell.com/show_bug.cgi?id=450342

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=450342#c1





--- Comment #1 from Paul Johnson <[EMAIL PROTECTED]>  2008-12-08 05:09:22 MST 
---
Event code showing the problem

   private void cTrix_KeyDown(object sender, 
                               System.Windows.Forms.KeyEventArgs e) 
    {
      switch(e.KeyCode) 
      {
      case Keys.X:  CurrentBlock.Right();break;
      case Keys.Z:  CurrentBlock.Left();break;
      case Keys.K:  CurrentBlock.Rotate();break;
      case Keys.M:  CurrentBlock.Down();break;
      case Keys.Escape:
        tmrGameClock.Enabled = !tmrGameClock.Enabled;
        if (tmrGameClock.Enabled)
          this.Text = "ctrix";
        else
          this.Text = "ctrix -- Press 'Esc' to Continue";
        break;
      default: break;
      }
      Invalidate();
    }

I've done further tests and it doesn't make any difference if the code is
written in VB or C#, the outcome is the same.

If I run the code on a Win32 box, everything is fine. Could the problem be an X
and winform one?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to