B
Brett Romero
How can I communicate with a parent form if that parent form type isn't
included in the project?
my.EXE project references a.DLL. a.DLL has a couple of forms that
my.exe uses. When my.exe opens a form in a.DLL, users can edit data in
that form. This data came out of a DataGrid on my.exe, which in turn
came from master.db. On the form in a.DLL, the user edits the data
and clicks update. A method in a.DLL saves to the DB. Now I need to
refresh the DataGrid in my.exe. What is the best way to do that?
Normally, I could cast the sender from a.DLL and refresh the grid in
my.exe. I can't do that here because my.exe isn't referencing a.DLL.
I'd like to keep a.DLL very generic, which means not including my.exe
as a reference, since the form in a.DLL can be called by any
application.
Any suggestions?
Thanks,
Brett
included in the project?
my.EXE project references a.DLL. a.DLL has a couple of forms that
my.exe uses. When my.exe opens a form in a.DLL, users can edit data in
that form. This data came out of a DataGrid on my.exe, which in turn
came from master.db. On the form in a.DLL, the user edits the data
and clicks update. A method in a.DLL saves to the DB. Now I need to
refresh the DataGrid in my.exe. What is the best way to do that?
Normally, I could cast the sender from a.DLL and refresh the grid in
my.exe. I can't do that here because my.exe isn't referencing a.DLL.
I'd like to keep a.DLL very generic, which means not including my.exe
as a reference, since the form in a.DLL can be called by any
application.
Any suggestions?
Thanks,
Brett