1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-16 08:13:25 +00:00

Added edit/run buttons on custom apps.

This commit is contained in:
Ylian Saint-Hilaire
2022-05-12 17:10:21 -07:00
parent bf668eae23
commit 957bdb2648
3 changed files with 30 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ namespace MeshCentralRouter
private void UpdateInfo()
{
removeButton.Enabled = (mainListView.SelectedItems.Count > 0);
runButton.Enabled = editButton.Enabled = (mainListView.SelectedItems.Count == 1);
}
private void removeButton_Click(object sender, EventArgs e)