I am writing a game and when opening a form certain radio buttons are set automatically in different tabs. They are options that change variables in game play, like weapon choices. When closing the form and reopening the the form the radio buttons go back to preset, I want them to stay where the user put them, but I can't leave the form open. Also, If I close the form and reopen it without declaring it there is disposing error.
Private Sub optionsbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optionsbutton.Click
Dim usefrmoptions As New Form()
This works but makes new each time with preset, and if i declare usefrmoptions at the beggining of the frmmain then disposing error occurs after opening, closing, then triing to open the frmoptions again.