Closing Child Window
I'm having trouble closing a child window in my app. The form contains a close button and the following code is attached to it:
private void ncCloseButton_Click(object sender, System.EventArgs e)
NewCustomer ncClose = new NewCustomer();
When I click the close button on the form, nothing happens. I want the other windows to stay open (this is a MDI app). Of course, I can click the 'x' in the right corner to close it, but how can I make the form to close programmatically?
Thanks in advance!