Merge upstream

This commit is contained in:
Cyberboss
2017-11-05 21:22:04 -05:00
32 changed files with 352 additions and 236 deletions
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using TGServiceInterface;
using TGServiceInterface.Components;
namespace TGControlPanel
{
@@ -29,6 +30,11 @@ namespace TGControlPanel
{
InitializeComponent();
Interface = I;
if (Interface.IsRemoteConnection)
{
var splits = Interface.GetComponent<ITGSService>().Version().Split(' ');
Text = String.Format("TGS {0}: {1}:{2}", splits[splits.Length - 1], Interface.HTTPSURL, Interface.HTTPSPort);
}
Text += " Instance: " + I.InstanceName;
if (Interface.VersionMismatch(out string error) && MessageBox.Show(error, "Warning", MessageBoxButtons.OKCancel) == DialogResult.Cancel)
{