Auto login form with Visual Basic

前端 未结 2 1432
庸人自扰
庸人自扰 2021-01-17 06:50

I need make an auto login form application with Visual Basic 10.0 for the following code:


    

        
2条回答
  •  一整个雨季
    2021-01-17 07:14

    Try this:

    If Not String.IsNullOrEmpty(My.Settings.Username) And Not String.IsNullOrEmpty(My.Settings.Password) Then
            TxtUsername.Text = My.Settings.Username
            TxtPassword.Text = My.Settings.Password
    End If
    

提交回复
热议问题