PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Form Manipulation
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Form Manipulation
![]() |
Form Manipulation |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a form that shows a datagrid view listing of workorders linked
to customers by ID number. I want to Double-Click a row in this datagrid view to open form "Work Order" to a specific record related by 'workorderID'. I know how to do it, but I don't know how to code it for C#. Any help is greatly appreciated. BD |
|
|
|
#2 |
|
Guest
Posts: n/a
|
George Shepherd's Windows Forms FAQ contains an entry entitled: How do I catch a doubleclick in my datagrid? Check it out at: http://www.syncfusion.com/FAQ/Windo...c44c.aspx#q869q ============= Clay Burch Syncfusion, Inc. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
ClayB wrote: > George Shepherd's Windows Forms FAQ contains an entry entitled: > > How do I catch a doubleclick in my datagrid? > > Check it out at: > http://www.syncfusion.com/FAQ/Windo...c44c.aspx#q869q > > ============= > Clay Burch > Syncfusion, Inc. Read the article and it helps, but my overall problem is coding the filter to open form. In VBA I simply opened form on record that matched the ID field in event handler, such as: docmd.OpenForm "formname", , , "ID= " & me.datasheet.column(0) Have been unable to code this operation in C#. These are 2 seperate child forms with the same parent form using different datasets. Have thought about joining datasets or modifing existing to create a link, but creates additional overhead when opening forms. Filtering of some sort should do this. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

