Exemplo n.º 1
0
        public TableRendererEthernet(int w, int h) : base(w, h)
        {
            server = new TcpCommunicationServer(25568, false);
            server.LaunchServer();

            skipStep = Program.GetParameterInt("renderskip", 0);
        }
        public TableRendererRemoteDisplay(int w, int h) : base(w, h)
        {
            server = new TcpCommunicationServer(25568, true);
            server.LaunchServer();

            string displayPath = @"D:\Projekte\Visual Studio\TableSimulator\TableSimulator\bin\Debug\TableSimulator.exe";

            /*
             * if (System.IO.File.Exists(displayPath))
             * {
             *  displayProcess = Process.Start(displayPath);
             *  Console.CancelKeyPress += OnProcesssExit;
             * }
             */
        }