Files
Troll-V2/Quasar.Server/Helper/WindowHelper.cs
T
2026-08-27 11:22:16 -06:00

18 lines
530 B
C#

using Quasar.Server.Networking;
namespace Quasar.Server.Helper
{
public static class WindowHelper
{
public static string GetWindowTitle(string title, Client c)
{
return string.Format("{0} - {1}@{2} [{3}:{4}]", title, c.Value.Username, c.Value.PcName, c.EndPoint.Address.ToString(), c.EndPoint.Port.ToString());
}
public static string GetWindowTitle(string title, int count)
{
return string.Format("{0} [Selected: {1}]", title, count);
}
}
}