Using numPad in my calculator
  • I am developing a Calculator Application. It is working properly but one thing error is that I want to use keyboard numpad, i wrote code for this like :

    private void Form1_KeyDown(object sender, KeyEventArgs e)
                if (e.KeyCode.Equals(Keys.NumPad5))
                if (e.KeyCode.Equals(Keys.NumPad6))
                if (e.KeyCode.Equals(Keys.Add))
    whenever I press a num key once it display twice, means I press 5 it display 55. Please help this.
  • 1 Comment sorted by
  • Kindly share your complete code so i can check and tell you alternate solution.

    or you can also download source code from below link

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

Top Posters Weekly

Optimum Creative