|
-
May 5th, 2013, 07:56 AM
#4
Re: Please HELP I have aged in a week trying to figure this out have no slept in 36 h
Hi,
Are you suggesting that I create a function to read in my entire file before doing the other?
No, what I have demonstrated here is creating a Private variable at the Class level that is populated when the Form loads. Once loaded, this collection of in-memory strings can then be used within the Events of your project as demonstrated.
I see the nested function in your example.
Sorry, but there is no nested function in my example. I have simply demonstrated how to code the TextChanged Event of a TextBox.
(Edit: Ah, you mean the Lambda Expression? That is being used to search the myZipCodes array to find what you are typing, and if found, return the results of the search to your other TextBox's)
Hope that clears things up for you.
Cheers,
Ian
Last edited by IanRyder; May 5th, 2013 at 08:05 AM.
Reason: Added Lambda Comment
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|