mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-21 16:38:38 +08:00
- 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
15 lines
436 B
C#
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);
|
|
}
|
|
}
|
|
} |