Hi I am trying to save settings on close I have the following code
Private Sub MainSystem_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing My.Settings.firstRun = Me.RadCheckBoxFirstLoad.Checked = True End Sub
and on form load
If My.Settings.firstRun = False Then RadPanelWelcome.Show() Else RadPanelWelcome.Hide() End If
I have edited the control properties of the checkBox and bound the checkBox with settings value under application settings
when I load the form the checkBox is always checked = false ?
what have I done wrong?