Click here to Skip to main content
15,900,725 members
Home / Discussions / C#
   

C#

 
GeneralRe: access insert instruction problem Pin
dinosors11-Jun-07 17:23
dinosors11-Jun-07 17:23 
GeneralRe: access insert instruction problem Pin
Mark Greenwood11-Jun-07 17:49
Mark Greenwood11-Jun-07 17:49 
QuestionString Formatting when Printing Pin
bfoo7511-Jun-07 13:50
bfoo7511-Jun-07 13:50 
AnswerRe: String Formatting when Printing Pin
Luc Pattyn11-Jun-07 13:54
sitebuilderLuc Pattyn11-Jun-07 13:54 
GeneralRe: String Formatting when Printing Pin
bfoo7511-Jun-07 14:19
bfoo7511-Jun-07 14:19 
QuestionHow to make a Textbox only take numbers? Pin
dipuks11-Jun-07 11:33
dipuks11-Jun-07 11:33 
AnswerRe: How to make a Textbox only take numbers? Pin
Giorgi Dalakishvili11-Jun-07 11:44
mentorGiorgi Dalakishvili11-Jun-07 11:44 
AnswerRe: How to make a Textbox only take numbers? Pin
sxbluebird11-Jun-07 19:17
sxbluebird11-Jun-07 19:17 
this is easy thing.

you can set as
:
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);

private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if ( !( char.IsDigit( e.KeyChar ) ) )
{
e.Handled = true;
}
}

roger wong

msn:wenmianbj@hotmail.com

GeneralRe: How to make a Textbox only take numbers? Pin
dipuks12-Jun-07 4:07
dipuks12-Jun-07 4:07 
AnswerRe: How to make a Textbox only take numbers? Pin
Revathij12-Jun-07 2:18
Revathij12-Jun-07 2:18 
QuestionMaking an animated UI Pin
RobMacAF11-Jun-07 11:20
RobMacAF11-Jun-07 11:20 
AnswerRe: Making an animated UI Pin
RobMacAF11-Jun-07 15:12
RobMacAF11-Jun-07 15:12 
QuestionDLL import, parameters, strings, etc Pin
esunder11-Jun-07 11:03
esunder11-Jun-07 11:03 
QuestionCompiling /unsafe and GetHashCode Pin
jon-8011-Jun-07 9:54
professionaljon-8011-Jun-07 9:54 
AnswerRe: Compiling /unsafe and GetHashCode Pin
Robert Rohde11-Jun-07 10:07
Robert Rohde11-Jun-07 10:07 
QuestionModal Popup (TCartwright's) Pin
stormcandi11-Jun-07 9:22
stormcandi11-Jun-07 9:22 
AnswerRe: Modal Popup (TCartwright's) Pin
Not Active11-Jun-07 9:28
mentorNot Active11-Jun-07 9:28 
GeneralRe: Modal Popup (TCartwright's) Pin
stormcandi11-Jun-07 9:31
stormcandi11-Jun-07 9:31 
QuestionGraphic - Exact string sizes Pin
skuggbo11-Jun-07 9:13
skuggbo11-Jun-07 9:13 
AnswerRe: Graphic - Exact string sizes Pin
Not Active11-Jun-07 9:31
mentorNot Active11-Jun-07 9:31 
GeneralRe: Graphic - Exact string sizes Pin
skuggbo11-Jun-07 10:14
skuggbo11-Jun-07 10:14 
GeneralRe: Graphic - Exact string sizes Pin
Luc Pattyn11-Jun-07 10:39
sitebuilderLuc Pattyn11-Jun-07 10:39 
AnswerRe: Graphic - Exact string sizes Pin
J. Dunlap11-Jun-07 13:13
J. Dunlap11-Jun-07 13:13 
QuestionEvent Firing Pin
tobriain11-Jun-07 8:13
tobriain11-Jun-07 8:13 
AnswerRe: Event Firing Pin
Luc Pattyn11-Jun-07 9:15
sitebuilderLuc Pattyn11-Jun-07 9:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.