username
password
If CheckBox1.Checked = True Then My.Settings.username = TextBox1.Text My.Settings.password = TextBox2.Text Form2.Show Me.Hide Else Form2.Show Me.Hide
TextBox1.Text = My.Settings.username TextBox2.Text = My.Settings.password

If CheckBox2.Checked = True Then
My.Settings.username = ("")
My.Settings.password = ("")
Checkbox1.Enabled = False
Else If
If Checkbox2.Checked = False Then
Checkbox1.Enabled = True
End If
If CheckBox1.Checked = True Then
My.Settings.username = TextBox1.Text
My.Settings.password = TextBox2.Text
Checkbox2.Enabled = False
Else If
If Checkbox1.Checked = False Then
Checkbox2.Enabled = True
End If