Fixing our client issue with static MainForm overwritten when using multiple clients.
That was basically our issue with broadcast not working the way it should.
2 using System.Collections.Generic;
5 using System.Threading.Tasks;
6 using System.ServiceModel;
7 using System.Collections;
10 namespace SharpDisplayInterface
13 [ServiceContract( CallbackContract = typeof(IDisplayServiceCallback),
14 SessionMode = SessionMode.Required)]
15 public interface IDisplayService
17 [OperationContract(IsOneWay = true)]
18 void Connect(string aClientName);
20 [OperationContract(IsOneWay = true)]
21 void Disconnect(string aClientName);
23 [OperationContract(IsOneWay = true)]
24 void SetText(int aLineIndex, string aText);
26 [OperationContract(IsOneWay = true)]
27 void SetTexts(System.Collections.Generic.IList<string> aTexts);
31 public interface IDisplayServiceCallback
33 [OperationContract(IsOneWay = true)]
36 [OperationContract(IsOneWay = true)]
37 void OnServerClosing();