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 async void btnTest_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 btnOk_Click(object sender, EventArgs e) { } private void btnCancel_Click(object sender, EventArgs e) { } private void Auth_Load(object sender, EventArgs e) { #if (DEBUG) edServerUrl.Text = "192.168.1.56:7575"; #endif } } }