|
-
May 7th, 2003, 11:29 PM
#1
Thread Starter
Member
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!
Last edited by session; May 12th, 2003 at 07:21 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|