Forums:
I have a Winform that I was using to make a sort of "Wizard" for an assembly to edit a series of expression values. It was working okay when testing initially and now the form will not fully close when I click the close button. It wont let me recompile when I make a change because NX is still accessing the application. To get around this I have to fully kill my NX session which takes forever to reopen. Can anyone help me, this is my code for the close button.
PrivateSub Button8_Click(sender AsObject, e As EventArgs)Handles Button8.ClickIfMsgBox("ARE YOU SURE YOU WOULD LIKE TO EXIT?", vbYesNo, "Confirm Exit")= vbYes Then Form2.Close() Form3.Close() Me.Close()EndIf EndSub