Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting Index Of Delimiters After A String Pin
OriginalGriff11-Sep-16 23:26
mveOriginalGriff11-Sep-16 23:26 
GeneralRe: Getting Index Of Delimiters After A String Pin
BillWoodruff12-Sep-16 5:05
professionalBillWoodruff12-Sep-16 5:05 
GeneralRe: Getting Index Of Delimiters After A String Pin
OriginalGriff12-Sep-16 5:09
mveOriginalGriff12-Sep-16 5:09 
AnswerRe: Getting Index Of Delimiters After A String Pin
#realJSOP12-Sep-16 8:49
mve#realJSOP12-Sep-16 8:49 
GeneralRe: Getting Index Of Delimiters After A String Pin
MadDashCoder13-Sep-16 8:02
MadDashCoder13-Sep-16 8:02 
Questioncompare two textboxes (string) - need help Pin
mar malaza11-Sep-16 1:04
mar malaza11-Sep-16 1:04 
GeneralRe: compare two textboxes (string) - need help Pin
harold aptroot11-Sep-16 1:41
harold aptroot11-Sep-16 1:41 
AnswerRe: compare two textboxes (string) - need help Pin
#realJSOP11-Sep-16 3:30
mve#realJSOP11-Sep-16 3:30 
Your code doesn't make any sense.

I assume you're using the TextChanged event to determine when to compare the two fields (if you're not, you should be).

When the text in one text box or the other changes, it should be immediately compared against the text box, and the SECOND textbox should be highlighted as invalid if the contents don't match (because any sane person would assume the first text box is the determining factor).

Further, I'm not sure why you're clearing the contents on the text boxes when in a "PASS" condition, but whatever.

Lastly, you shouldn't be programmatically changing focus between controls unless it makes sense to do so (form initialization, or process-specific control selection by the user).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

AnswerRe: compare two textboxes (string) - need help Pin
V.11-Sep-16 21:10
professionalV.11-Sep-16 21:10 
QuestionHow is check the date of a valid dateEdit ? Pin
Member 245846710-Sep-16 23:42
Member 245846710-Sep-16 23:42 
AnswerRe: How is check the date of a valid dateEdit ? Pin
OriginalGriff11-Sep-16 0:03
mveOriginalGriff11-Sep-16 0:03 
AnswerRe: How is check the date of a valid dateEdit ? Pin
#realJSOP11-Sep-16 3:21
mve#realJSOP11-Sep-16 3:21 
QuestionGroup Sequance patterns with Linq Pin
Member 121069269-Sep-16 1:27
Member 121069269-Sep-16 1:27 
AnswerRe: Group Sequance patterns with Linq Pin
Richard Deeming9-Sep-16 2:02
mveRichard Deeming9-Sep-16 2:02 
GeneralRe: Group Sequance patterns with Linq Pin
Member 121069269-Sep-16 2:10
Member 121069269-Sep-16 2:10 
AnswerRe: Group Sequance patterns with Linq Pin
#realJSOP9-Sep-16 2:14
mve#realJSOP9-Sep-16 2:14 
GeneralRe: Group Sequance patterns with Linq Pin
Member 121069269-Sep-16 2:19
Member 121069269-Sep-16 2:19 
GeneralRe: Group Sequance patterns with Linq Pin
#realJSOP9-Sep-16 2:25
mve#realJSOP9-Sep-16 2:25 
GeneralRe: Group Sequance patterns with Linq Pin
Member 121069269-Sep-16 2:28
Member 121069269-Sep-16 2:28 
SuggestionRe: Group Sequance patterns with Linq Pin
Richard Deeming9-Sep-16 4:15
mveRichard Deeming9-Sep-16 4:15 
GeneralRe: Group Sequance patterns with Linq Pin
#realJSOP9-Sep-16 4:18
mve#realJSOP9-Sep-16 4:18 
GeneralRe: Group Sequance patterns with Linq Pin
Richard Deeming9-Sep-16 4:19
mveRichard Deeming9-Sep-16 4:19 
GeneralRe: Group Sequance patterns with Linq Pin
#realJSOP9-Sep-16 4:25
mve#realJSOP9-Sep-16 4:25 
AnswerRe: Group Sequance patterns with Linq Pin
Member 121069269-Sep-16 2:26
Member 121069269-Sep-16 2:26 
AnswerRe: Group Sequance patterns with Linq Pin
Gerry Schmitz9-Sep-16 13:30
mveGerry Schmitz9-Sep-16 13:30 

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.