This commit is contained in:
43
source/Plugins/AyaNova.Plugin.V8/Auth.cs
Normal file
43
source/Plugins/AyaNova.Plugin.V8/Auth.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user