mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2026-02-22 20:33:26 +00:00
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user