This commit is contained in:
2020-04-28 00:11:47 +00:00
parent 3c4acc3911
commit d536bff961
3 changed files with 117 additions and 115 deletions

View File

@@ -30,6 +30,15 @@ namespace AyaNova.PlugIn.V8
}
private async void btnOk_Click(object sender, EventArgs e)
{
if (!util.Initialized)
{
var result = await util.TestUrlAsync(edServerUrl.Text);
if (result != "OK")
{
MessageBox.Show("Server could not be reached at that URL\n" + result);
return;
}
}
var res = await util.AuthenticateAsync(edUserName.Text,edPassword.Text);
if (!res)
{