Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
AnswerRe: take text data frome web Pin
Eddy Vluggen24-May-12 21:52
professionalEddy Vluggen24-May-12 21:52 
AnswerRe: take text data frome web Pin
AmitGajjar27-May-12 22:12
professionalAmitGajjar27-May-12 22:12 
QuestionComparing Times Pin
AmbiguousName24-May-12 19:57
AmbiguousName24-May-12 19:57 
AnswerRe: Comparing Times Pin
OriginalGriff24-May-12 20:33
mveOriginalGriff24-May-12 20:33 
GeneralRe: Comparing Times Pin
AmitGajjar27-May-12 22:18
professionalAmitGajjar27-May-12 22:18 
AnswerRe: Comparing Times Pin
Apocalypse Now24-May-12 20:53
Apocalypse Now24-May-12 20:53 
AnswerRe: Comparing Times Pin
AmitGajjar27-May-12 22:16
professionalAmitGajjar27-May-12 22:16 
QuestionCreating a table with the help Asp control at run time Pin
Naughty Ankur24-May-12 19:03
Naughty Ankur24-May-12 19:03 
AnswerRe: Creating a table with the help Asp control at run time Pin
Mycroft Holmes24-May-12 19:33
professionalMycroft Holmes24-May-12 19:33 
QuestionHow to convert document to flash (swf) Pin
quocviet_dhspkt24-May-12 15:32
quocviet_dhspkt24-May-12 15:32 
AnswerRe: How to convert document to flash (swf) Pin
sina rahimzadeh25-May-12 0:03
sina rahimzadeh25-May-12 0:03 
AnswerRe: How to convert document to flash (swf) Pin
wikizhao25-May-12 15:40
wikizhao25-May-12 15:40 
QuestionFalse positive executable ... Pin
amx_tiger24-May-12 10:14
amx_tiger24-May-12 10:14 
AnswerRe: False positive executable ... Pin
Ravi Bhavnani24-May-12 11:29
professionalRavi Bhavnani24-May-12 11:29 
GeneralRe: False positive executable ... Pin
amx_tiger25-May-12 2:52
amx_tiger25-May-12 2:52 
GeneralRe: False positive executable ... Pin
Ravi Bhavnani25-May-12 3:54
professionalRavi Bhavnani25-May-12 3:54 
GeneralRe: False positive executable ... Pin
amx_tiger25-May-12 9:23
amx_tiger25-May-12 9:23 
AnswerRe: False positive executable ... Pin
Ron Beyer24-May-12 17:11
professionalRon Beyer24-May-12 17:11 
GeneralRe: False positive executable ... Pin
amx_tiger25-May-12 3:02
amx_tiger25-May-12 3:02 
QuestionC#/WinForms and Localization via Satellite Assemblies Pin
Matt U.24-May-12 9:25
Matt U.24-May-12 9:25 
Questionlive volleyball score keeping Pin
Member 868621924-May-12 8:04
Member 868621924-May-12 8:04 
AnswerRe: live volleyball score keeping Pin
dexterama24-May-12 11:25
professionaldexterama24-May-12 11:25 
I would use the MVVM pattern (easily searchable, even on here) - Create a viewModel that has some methods on it, like UserPerformedAction(long UserID, EAction ActionTaken) (assumes an enum of actions here), or some such thing - have a view model store your data (such that when you decide where/how to store it, it's not impacting anything your UI is doing. Your viewmodel can have a collection of actions/items whether it's a class or a dictionary, etc. such that it can store the data cumulatively.

The other option is to make a domain object (e.g. UserKey, ActionTaken, DateTime) and pass this to/from your view model (e.g. UserPerformedAction(VolleyBallUserAction vbAction) - using objects makes it easier to later databind the gathered data in an output display of some kind.

So your UI calls ViewModel methods to store actions/request data, etc. And then you can decide what do to with the data now that it's collected in a central location.

That's what I would do, or something similar.
Think of how stupid the average person is, and realize half of them are stupider than that. - George Carlin

Questiondatetime Pin
Member 886489824-May-12 3:13
Member 886489824-May-12 3:13 
AnswerRe: datetime Pin
Not Active24-May-12 3:42
mentorNot Active24-May-12 3:42 
AnswerRe: datetime Pin
RobCroll24-May-12 15:55
RobCroll24-May-12 15:55 

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.