|
|
@ -389,6 +389,10 @@ namespace ServiceLib.ViewModels
|
|
|
|
RefreshServers();
|
|
|
|
RefreshServers();
|
|
|
|
NoticeHandler.Instance.Enqueue(string.Format(ResUI.SuccessfullyImportedServerViaClipboard, ret));
|
|
|
|
NoticeHandler.Instance.Enqueue(string.Format(ResUI.SuccessfullyImportedServerViaClipboard, ret));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
NoticeHandler.Instance.Enqueue(ResUI.OperationFailed);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public async Task AddServerViaScanAsync()
|
|
|
|
public async Task AddServerViaScanAsync()
|
|
|
@ -433,6 +437,10 @@ namespace ServiceLib.ViewModels
|
|
|
|
RefreshServers();
|
|
|
|
RefreshServers();
|
|
|
|
NoticeHandler.Instance.Enqueue(ResUI.SuccessfullyImportedServerViaScan);
|
|
|
|
NoticeHandler.Instance.Enqueue(ResUI.SuccessfullyImportedServerViaScan);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
NoticeHandler.Instance.Enqueue(ResUI.OperationFailed);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|