Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:20
babbelfisken16-Dec-06 23:20 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:39
babbelfisken16-Dec-06 23:39 
QuestionC# Design Pattern Suggestion needed... Pin
cmprogrock16-Dec-06 13:03
cmprogrock16-Dec-06 13:03 
QuestionHow to use the operators DIV and MOD Pin
CodeItWell16-Dec-06 9:51
CodeItWell16-Dec-06 9:51 
AnswerRe: How to use the operators DIV and MOD Pin
ejuanpp16-Dec-06 10:23
ejuanpp16-Dec-06 10:23 
AnswerRe: How to use the operators DIV and MOD Pin
Ravi Bhavnani16-Dec-06 11:31
professionalRavi Bhavnani16-Dec-06 11:31 
QuestionCorrect a date in a textBox Pin
CodeItWell16-Dec-06 8:40
CodeItWell16-Dec-06 8:40 
AnswerRe: Correct a date in a textBox Pin
Luc Pattyn16-Dec-06 9:15
sitebuilderLuc Pattyn16-Dec-06 9:15 
Hi,

you should create a function that checks wether a string is a valid date (or whatever).

Main point then is to call that function at the right time.
On every text change (as with TextChanged event, or KeyDown event) is often
not adequate, since partial dates (i.e. while entering characters in order to
construct a valid date) would be refused.

Better is to use an event that occurs when the dialog closes, but best of all
seems to use TextBox.LostFocus event, which occurs whenever something else gets
focus (e.g. a button, another textbox,...).

Smile | :)

Luc Pattyn

AnswerRe: Correct a date in a textBox Pin
Bassam Saoud16-Dec-06 11:13
Bassam Saoud16-Dec-06 11:13 
Questiondataset changes Pin
fmardani16-Dec-06 7:43
fmardani16-Dec-06 7:43 
QuestionObject creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 7:23
Tony Lambert16-Dec-06 7:23 
AnswerRe: Object creation at internal condition in constructor Pin
Guffa16-Dec-06 8:43
Guffa16-Dec-06 8:43 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 9:15
Tony Lambert16-Dec-06 9:15 
GeneralRe: Object creation at internal condition in constructor Pin
Guffa16-Dec-06 11:43
Guffa16-Dec-06 11:43 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 12:10
Tony Lambert16-Dec-06 12:10 
AnswerRe: Object creation at internal condition in constructor Pin
Guffa16-Dec-06 13:45
Guffa16-Dec-06 13:45 
GeneralRe: Object creation at internal condition in constructor Pin
Larantz17-Dec-06 0:38
Larantz17-Dec-06 0:38 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert17-Dec-06 2:37
Tony Lambert17-Dec-06 2:37 
GeneralRe: Object creation at internal condition in constructor Pin
Larantz17-Dec-06 10:07
Larantz17-Dec-06 10:07 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert17-Dec-06 10:17
Tony Lambert17-Dec-06 10:17 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert17-Dec-06 2:44
Tony Lambert17-Dec-06 2:44 
AnswerRe: Object creation at internal condition in constructor Pin
Guffa17-Dec-06 8:34
Guffa17-Dec-06 8:34 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert17-Dec-06 9:14
Tony Lambert17-Dec-06 9:14 
GeneralRe: Object creation at internal condition in constructor Pin
Guffa17-Dec-06 9:41
Guffa17-Dec-06 9:41 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert17-Dec-06 10:13
Tony Lambert17-Dec-06 10:13 

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.