Files
mRemoteNG/mRemoteV1/Tools/ExternalToolsService.cs
David Sparer 8b990ac273 improved external tools window
- can edit items in listview
- improved data binding between model and ui
- delete and launch buttons disabled if no item selected
- item selection updates when deleting/adding item
2017-11-11 20:37:37 -06:00

15 lines
436 B
C#

using System.Linq;
using mRemoteNG.Tools.CustomCollections;
namespace mRemoteNG.Tools
{
public class ExternalToolsService
{
public FullyObservableCollection<ExternalTool> ExternalTools { get; set; } = new FullyObservableCollection<ExternalTool>();
public ExternalTool GetExtAppByName(string name)
{
return ExternalTools.FirstOrDefault(extA => extA.DisplayName == name);
}
}
}