Play sounds/Using WMP Control in C#
See my last post! :)
here's the code for VB .net
Code:
Select Case e.KeyChar
Case "1"c, "2"c, "3"c '...to "0"c
' All valid character for use in Textbox1
' Do Nothing
Case Microsoft.VisualBasic.ControlChars.Back
' BackSpace
' Do Nothing
Case Else
' Ignore all others
e.Handled = True
End Select
How to do the same thing in C#??
Note. I'm migrating all of my VB .net projects to C# now. I wish I can learn to handle the language by doing this and wish this (my asking many questions) not to bring you guys too much problems
See my last post! :)