using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AyaNova.PlugIn.V8 { public partial class Auth : Form { public Auth() { InitializeComponent(); } private void btnTest_Click(object sender, EventArgs e) { } private async void btnOk_Click(object sender, EventArgs e) { var result = await util.TestUrlAsync(edServerUrl.Text); if (result == "OK") { MessageBox.Show("Server URL is GOOD!"); } else { MessageBox.Show("Server could not be reached at that URL\n" + result); } } private void btnCancel_Click(object sender, EventArgs e) { } } }