After the user clicks the red close button on my application, I would like the window to re-appear when the icon in the dock is clicked. I have created the method to re-show the window in the menu bar, but I would also like an icon-click to invoke the same method.
What method is invoked when the icon is clicked?
What method is invoked when the icon is clicked?