I’m using Visual Studio 2010 to create a C# Windows Form application. In the main Form I’ve a button which opens secondary form using ShowDialog() which makes some updates on the database. When user saves data and closes that form, I need to update my ListView on main Form from database. How to trigger updates on ListView when secondary Form is closed? I tried mouse events to make update on ListView but that is a bit late. Is there any event which I can use to achieve this?
I’m using Visual Studio 2010 to create a C# Windows Form application. In the
Share
If you use ShowDialog() than execution continues from next string after the form was closed: