GregoryTech011 Posted June 1, 2009 Posted June 1, 2009 I have a text box on a windows form (Form1) that has the double-click event enabled. When the user double-clicks the text box, another form (Form2) opens that displays codes in a listbox. When the user double-clicks the listbox item in Form2, I need the selected item to populate the textbox on Form1. I am a ASP.NET programmer and am having difficulty achieving this task. Since I cannot use the aspx markup page, I have been unsuccessful in my syntax coding attempts. I know that I need to create a method on Form1, but can't get the syntax correct after double-clicking on the selected item in Form2. An example would greatly be appreciated. Thanks. Quote
Administrators PlausiblyDamp Posted June 1, 2009 Administrators Posted June 1, 2009 http://www.xtremedotnettalk.com/showthread.php?t=83092 might be of use, although the code is vb the concepts are the same regardless of language. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.