Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...