Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 1:22
_Q12_6-Mar-11 1:22 
GeneralRe: a strange question Pin
OriginalGriff6-Mar-11 1:25
mveOriginalGriff6-Mar-11 1:25 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 1:34
_Q12_6-Mar-11 1:34 
GeneralRe: a strange question Pin
OriginalGriff6-Mar-11 1:36
mveOriginalGriff6-Mar-11 1:36 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 1:45
_Q12_6-Mar-11 1:45 
GeneralRe: a strange question [modified] Pin
_Q12_6-Mar-11 2:04
_Q12_6-Mar-11 2:04 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 2:43
_Q12_6-Mar-11 2:43 
GeneralRe: a strange question Pin
Pete O'Hanlon6-Mar-11 10:59
mvePete O'Hanlon6-Mar-11 10:59 
Well, I really couldn't be bothered to read through all your code here, but a couple of things stood out on the quick look through I performed. In your Form_Load in Form1 (bad name by the way, you should try to rename your main components to be meaningful - you've got a lot of default names scattered about), you read the file details in; that's potentially going to be a long running operation so you should look to improve the user experience by running that on a thread.

Also, you have lots and lots of nested if statements, you could use short-circuit logic to make your code a bit more compact.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


QuestionCAS - Deny now obsolete and CAS is becoming out of favor, how can I deny "ReflectionPermission" (Need syntax) Pin
devvvy5-Mar-11 14:30
devvvy5-Mar-11 14:30 
Questionteeth detection from image using c# Pin
AhmedMasum5-Mar-11 2:43
AhmedMasum5-Mar-11 2:43 
AnswerRe: teeth detection from image using c# Pin
OriginalGriff5-Mar-11 3:26
mveOriginalGriff5-Mar-11 3:26 
GeneralRe: teeth detection from image using c# Pin
AhmedMasum5-Mar-11 19:09
AhmedMasum5-Mar-11 19:09 
AnswerRe: teeth detection from image using c# Pin
Not Active5-Mar-11 3:48
mentorNot Active5-Mar-11 3:48 
GeneralRe: teeth detection from image using c# Pin
OriginalGriff5-Mar-11 3:58
mveOriginalGriff5-Mar-11 3:58 
GeneralRe: teeth detection from image using c# Pin
PIEBALDconsult5-Mar-11 9:15
mvePIEBALDconsult5-Mar-11 9:15 
GeneralRe: teeth detection from image using c# Pin
AhmedMasum5-Mar-11 19:11
AhmedMasum5-Mar-11 19:11 
AnswerRe: teeth detection from image using c# Pin
AhmedMasum5-Mar-11 19:23
AhmedMasum5-Mar-11 19:23 
GeneralRe: teeth detection from image using c# Pin
Richard MacCutchan5-Mar-11 21:27
mveRichard MacCutchan5-Mar-11 21:27 
GeneralRe: teeth detection from image using c# Pin
AhmedMasum6-Mar-11 0:30
AhmedMasum6-Mar-11 0:30 
GeneralRe: teeth detection from image using c# Pin
Richard MacCutchan6-Mar-11 1:20
mveRichard MacCutchan6-Mar-11 1:20 
AnswerRe: teeth detection from image using c# Pin
Alan Balkany7-Mar-11 7:05
Alan Balkany7-Mar-11 7:05 
QuestionDo not show DOS window when callinf DOS command from C# Pin
Member 77263854-Mar-11 6:55
Member 77263854-Mar-11 6:55 
AnswerRe: Do not show DOS window when callinf DOS command from C# Pin
OriginalGriff4-Mar-11 8:37
mveOriginalGriff4-Mar-11 8:37 
GeneralRe: Do not show DOS window when callinf DOS command from C# Pin
Dalek Dave4-Mar-11 13:12
professionalDalek Dave4-Mar-11 13:12 
QuestionXML File generation Pin
Pierre besquent4-Mar-11 2:44
Pierre besquent4-Mar-11 2:44 

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.