Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello every one.

I have a parent window form and a child window .

when I do click in a search button in parent window form, then the child window is appear like show in the picture.
In this child window I want to make a module that when I write in the text box then
the registers appear under area down . like the figure to show:

Clickety[^]

And when I do click in a specific registry, then this values put in the parent window,

The figure show a fox application, but I want make that in c#

Thanks in advance.

Leonardo Ayala R.
Posted
Updated 20-Apr-11 7:40am
v10

1 solution

I reckon you could use a grid control in the child form. And handle double click on the grid, and in the handler just close the child form and pass the value of the double-clicked row back to the parent form.
 
Share this answer
 
v2
Comments
leocode7 20-Apr-11 13:16pm    
please give any example code for I can implementing
thanks in advance!
Nish Nishant 20-Apr-11 13:18pm    
I don't think you'll be able to easily find the exact code you need. Look up articles on using the grid control and you should find enough code to get you started.
leocode7 20-Apr-11 13:56pm    
leocode7 - 16 secs ago
ok. but tell me how I do to pass values "double-clicked row back" to the parent form. please friend, give me a small code because I want to have any idea about that. Thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900