This commit is contained in:
@@ -66,7 +66,7 @@ namespace AyaNovaQBI
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
{
|
||||
MessageBox.Show("Error attempting to login:\r\n" + ex.Message);
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
return;
|
||||
@@ -80,6 +80,9 @@ AyaNovaUserType: {util.AyaNovaUserType}");
|
||||
|
||||
|
||||
btnLogin.Enabled = btnTest.Enabled = true;
|
||||
//successful login, persist server setting
|
||||
Properties.Settings.Default.serverurl = edServerUrl.Text;
|
||||
Properties.Settings.Default.Save();
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
|
||||
Reference in New Issue
Block a user