initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user