Let me preface this by saying I’m very new to C# and Visual Studio (just an intern), so I apologize if this is a simple question, but I just can’t seem to figure it out.
I have a window with a Data Grid View that displays item type descriptions (monitor, keyboard, mouse, etc.) as well as an inventory count for each one. I’d like to be able to double click on one item to bring up a window that would display details about the item and a place to add a new record.
My question is, how do I specify when to open each window? All I can see to find is content double click, which seems like if you double click anywhere in the data grid view, the event will occur…
If my question doesn’t make sense, I’d be happy to clarify.
If you’re asking how to create a field in the gridview that will display a link, you can design it using a templatefield, something like: