private void EditCustomerWindowClosing(object sender, CancelEventArgs e) { EditWindow.Dispose(); EditWindow = null; }