27 lines
679 B
C#
27 lines
679 B
C#
using JD.Remoting.WPF.Module.Settings;
|
|
using Plume.Icons;
|
|
using Action = Plume.Interfaces.WPF.Actions.Action;
|
|
|
|
namespace JD.Remoting.WPF.Module.Actions
|
|
{
|
|
public class ManageConnectionsAction : Action
|
|
{
|
|
public ManageConnectionsAction()
|
|
: base("Manage connections", "Manage connections of the application", StandardIcon.Settings)
|
|
{
|
|
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public override void TryExecute()
|
|
{
|
|
Context.DialogManager.ShowSettingsDialog<RemotingSettings>();
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public override bool CanExecute()
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|