I need a certain action to be taken when user exits my .NET windows application. For that purpose I worte code for the Exit button and also for Form_Closing event.
But none of that code gets executed if the user goes to Task List, selects the process that corresponds to my application, right-clicks on it and selects "end process". Where should I put the code for that in Dispose or Finalize? Or is there anything else?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.