// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #region Public methods public ServerAgent(string IPAddress, int PortNumber, WMSClient Client, SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult) { this.Client = Client; this.IPAddress = IPAddress; this.PortNumber = PortNumber; WriteToFile("Start", true); DataRepresent = new DataDrawing(DrawConnectionStatus, ShowPingResult); }
public ServerAgent(string IPAddress, int PortNumber, WMSClient Client, SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult) { this.Client = Client; this.IPAddress = IPAddress; this.PortNumber = PortNumber; WriteToFile("Start", true); DataRepresent = new DataDrawing(DrawConnectionStatus, ShowPingResult); }