Click here to Skip to main content
15,901,284 members
Home / Discussions / C#
   

C#

 
GeneralRe: Connection String for MySQL in C#.Net2.0 Pin
OriginalGriff14-Sep-10 0:51
mveOriginalGriff14-Sep-10 0:51 
GeneralRe: Connection String for MySQL in C#.Net2.0 Pin
Varun Sareen14-Sep-10 18:50
Varun Sareen14-Sep-10 18:50 
GeneralRe: Connection String for MySQL in C#.Net2.0 Pin
Varun Sareen15-Sep-10 19:17
Varun Sareen15-Sep-10 19:17 
QuestionHindi character spacing problem in html editor Pin
sonila113-Sep-10 20:05
sonila113-Sep-10 20:05 
AnswerRe: Hindi character spacing problem in html editor Pin
Richard MacCutchan13-Sep-10 21:39
mveRichard MacCutchan13-Sep-10 21:39 
Questionin what classes do I handle/place these resources? Pin
stephen.darling13-Sep-10 19:27
stephen.darling13-Sep-10 19:27 
AnswerRe: in what classes do I handle/place these resources? Pin
SeMartens13-Sep-10 21:21
SeMartens13-Sep-10 21:21 
AnswerRe: in what classes do I handle/place these resources? Pin
OriginalGriff13-Sep-10 21:42
mveOriginalGriff13-Sep-10 21:42 
I would have to disagree with SeMartins.
If the picture is of the patient, then it should be stored with other patient information. Otherwise, when you add a new patient, how do you include a picture? Embedding them in your resources is a bad move as you would have to define them at build time, or play silly buggers.
Either: store the file path with the patient data and load the image when you need it, or include the picture in a database with your other patient information - the latter means there is only one place to go for all relevant info - again, you do not have to load the image until you need it for display.
Again with sounds, these should be stored either as a file reference or database field (depending on the size) and loaded only when you need them.

The general rule is: If it is part of the object info, let the object deal with it. Your main form is concerned with user interaction - displaying patient and EGC info to the user, and relating user generated changes to that info back to the object, not with how the object is stored.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: in what classes do I handle/place these resources? Pin
stephen.darling13-Sep-10 21:51
stephen.darling13-Sep-10 21:51 
GeneralRe: in what classes do I handle/place these resources? Pin
SeMartens13-Sep-10 22:14
SeMartens13-Sep-10 22:14 
GeneralRe: in what classes do I handle/place these resources? Pin
OriginalGriff13-Sep-10 22:25
mveOriginalGriff13-Sep-10 22:25 
QuestionTimer events driving me insane! Pin
stephen.darling13-Sep-10 14:48
stephen.darling13-Sep-10 14:48 
AnswerRe: Timer events driving me insane! Pin
Luc Pattyn13-Sep-10 15:23
sitebuilderLuc Pattyn13-Sep-10 15:23 
GeneralRe: Timer events driving me insane! Pin
stephen.darling13-Sep-10 15:29
stephen.darling13-Sep-10 15:29 
AnswerRe: Timer events driving me insane! Pin
PIEBALDconsult13-Sep-10 16:45
mvePIEBALDconsult13-Sep-10 16:45 
QuestionHow do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 10:12
stephen.darling13-Sep-10 10:12 
AnswerRe: How do I repeat this sound file as required? Pin
AspDotNetDev13-Sep-10 11:03
protectorAspDotNetDev13-Sep-10 11:03 
GeneralRe: How do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 11:11
stephen.darling13-Sep-10 11:11 
GeneralRe: How do I repeat this sound file as required? Pin
AspDotNetDev13-Sep-10 11:42
protectorAspDotNetDev13-Sep-10 11:42 
GeneralRe: How do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 12:29
stephen.darling13-Sep-10 12:29 
QuestionMessage Removed Pin
13-Sep-10 8:36
hove8213-Sep-10 8:36 
GeneralRe: ObjectPolicy Pin
OriginalGriff13-Sep-10 9:06
mveOriginalGriff13-Sep-10 9:06 
GeneralRe: ObjectPolicy Pin
Pete O'Hanlon13-Sep-10 9:07
mvePete O'Hanlon13-Sep-10 9:07 
AnswerRe: ObjectPolicy Pin
Eddy Vluggen13-Sep-10 10:43
professionalEddy Vluggen13-Sep-10 10:43 
GeneralRe: ObjectPolicy Pin
hove8213-Sep-10 10:56
hove8213-Sep-10 10:56 

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.