diff -r 985ca4b6e099 -r 19c1aaf900dc Servers.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Servers.cs Tue Aug 12 20:37:57 2014 +0200 @@ -0,0 +1,27 @@ +using System; +using System.Windows.Forms; + +namespace SharpDisplayManager +{ + /// + /// Implement our display service. + /// This class is instantiated anew whenever a client send a request. + /// + class DisplayServer : IDisplayService + { + //From IDisplayService + public void SetText(int aLineIndex, string aText) + { + if (aLineIndex == 0) + { + Program.iMainForm.marqueeLabelTop.Text = aText; + } + else if (aLineIndex == 1) + { + Program.iMainForm.marqueeLabelBottom.Text = aText; + } + } + + } + +}