Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
AnswerRe: Validation on Data Object in Code, not XAML? Pin
OriginalGriff18-Feb-10 4:47
mveOriginalGriff18-Feb-10 4:47 
GeneralRe: Validation on Data Object in Code, not XAML? Pin
MattFunke18-Feb-10 4:50
MattFunke18-Feb-10 4:50 
AnswerRe: Validation on Data Object in Code, not XAML? Pin
Ennis Ray Lynch, Jr.18-Feb-10 5:42
Ennis Ray Lynch, Jr.18-Feb-10 5:42 
GeneralRe: Validation on Data Object in Code, not XAML? Pin
MattFunke18-Feb-10 7:27
MattFunke18-Feb-10 7:27 
QuestionSensing data entry Pin
mbangh18-Feb-10 4:18
mbangh18-Feb-10 4:18 
AnswerRe: Sensing data entry Pin
Nicholas Butler18-Feb-10 4:25
sitebuilderNicholas Butler18-Feb-10 4:25 
GeneralRe: Sensing data entry Pin
mbangh18-Feb-10 4:27
mbangh18-Feb-10 4:27 
GeneralRe: Sensing data entry Pin
Nicholas Butler18-Feb-10 5:33
sitebuilderNicholas Butler18-Feb-10 5:33 
mbangh wrote:
What do you mean a class that holds the data?


The states of your controls, for example the Text property of a TextBox control, represent data. You must be storing this data somewhere. You normally store it in an instance of a class, for example an instance of a Person class that has string properties that hold a particular person's first and last names.

When you load a form, you normally take data from your object and set the states of your controls. The user then has the opportunity to alter the controls. Then you put the new data back into your object to persist it.

If this is the case, then I was suggesting comparing the before and after objects instead of trying to detect when a user manipulates any control.

Nick
----------------------------------
Be excellent to each other Smile | :)

AnswerRe: Sensing data entry Pin
Ennis Ray Lynch, Jr.18-Feb-10 5:43
Ennis Ray Lynch, Jr.18-Feb-10 5:43 
QuestionProblems with Exchange WebService API Pin
DotNetCoderJunior18-Feb-10 3:34
DotNetCoderJunior18-Feb-10 3:34 
AnswerRe: Problems with Exchange WebService API Pin
DotNetCoderJunior21-Feb-10 22:07
DotNetCoderJunior21-Feb-10 22:07 
QuestionProblems showing another form when user activates the main form Pin
TheFoZ18-Feb-10 3:32
TheFoZ18-Feb-10 3:32 
AnswerRe: Problems showing another form when user activates the main form Pin
1.21 Gigawatts18-Feb-10 3:39
1.21 Gigawatts18-Feb-10 3:39 
GeneralRe: Problems showing another form when user activates the main form Pin
TheFoZ18-Feb-10 3:42
TheFoZ18-Feb-10 3:42 
QuestionFile I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 2:45
1.21 Gigawatts18-Feb-10 2:45 
AnswerRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 2:58
sitebuilderLuc Pattyn18-Feb-10 2:58 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:07
1.21 Gigawatts18-Feb-10 3:07 
GeneralRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:12
sitebuilderLuc Pattyn18-Feb-10 3:12 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:16
1.21 Gigawatts18-Feb-10 3:16 
GeneralRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:28
sitebuilderLuc Pattyn18-Feb-10 3:28 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:31
1.21 Gigawatts18-Feb-10 3:31 
AnswerRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:38
sitebuilderLuc Pattyn18-Feb-10 3:38 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:40
1.21 Gigawatts18-Feb-10 3:40 
GeneralRe: File I/O - New Line Character Pin
harold aptroot18-Feb-10 3:42
harold aptroot18-Feb-10 3:42 
GeneralRe: File I/O - New Line Character Pin
ragnaroknrol18-Feb-10 3:46
ragnaroknrol18-Feb-10 3:46 

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.