protected override void OnStart() { if (lsClient != null) { lsClient.Connect(); } }
public void onServerError(int errorCode, string errorMessage) { Debug.WriteLine("Server Error - " + errorMessage + " - " + errorCode); rTfeed.StatusText = "Server failure: " + errorMessage; rTfeed.StatusColor = Color.Red; rTfeed.Connect(); }