Files
ayanova7/source/Plugins/AyaNova.Plugin.V8/Auth.cs
2020-04-27 20:55:03 +00:00

44 lines
966 B
C#

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)
{
}
}
}