1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2026-02-22 20:33:26 +00:00

Friendly name comments

Signed-off-by: Troy Cook <cookta2012@gmail.com>
This commit is contained in:
Troy Cook
2020-08-09 21:27:25 -05:00
parent 869c4ebd78
commit 25c8b207b2
8 changed files with 220 additions and 66 deletions

View File

@@ -14,6 +14,7 @@ namespace MeshCentralRouter
{
public partial class MapUserControl : UserControl
{
public string ruleName;
public int protocol;
public int localPort;
public string remoteIP = null;
@@ -44,7 +45,14 @@ namespace MeshCentralRouter
public void UpdateInfo()
{
deviceNameLabel.Text = node.name;
if(this.ruleName != null)
{
deviceNameLabel.Text = node.name + ": " + this.ruleName;
}
else
{
deviceNameLabel.Text = node.name;
}
devicePictureBox.Image = deviceImageList.Images[node.icon - 1];
}