Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: datetime Pin
jschell25-May-12 9:00
jschell25-May-12 9:00 
GeneralRe: datetime Pin
RobCroll25-May-12 16:50
RobCroll25-May-12 16:50 
GeneralRe: datetime Pin
jschell26-May-12 7:07
jschell26-May-12 7:07 
GeneralRe: datetime Pin
RobCroll26-May-12 16:18
RobCroll26-May-12 16:18 
QuestionEmgu CV, problem with wrapper for OpenCV Pin
Sissi198724-May-12 0:58
Sissi198724-May-12 0:58 
AnswerRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan24-May-12 3:13
mveRichard MacCutchan24-May-12 3:13 
AnswerRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198724-May-12 4:48
Sissi198724-May-12 4:48 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Mycroft Holmes24-May-12 12:32
professionalMycroft Holmes24-May-12 12:32 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 4:39
Sissi198725-May-12 4:39 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan24-May-12 22:25
mveRichard MacCutchan24-May-12 22:25 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 4:37
Sissi198725-May-12 4:37 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 4:54
mveRichard MacCutchan25-May-12 4:54 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 5:37
Sissi198725-May-12 5:37 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 5:53
mveRichard MacCutchan25-May-12 5:53 

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.