static void Main(string[] args)
        {
            // Start Window
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            form = new UDPScope();

            // start thread to receive data and update screen
            int port = 11000;
            if(args.Length>0){
                port = int.Parse(args[0]);
            }
            form.StartReception(port);
            Application.Run(form);
        }
Exemple #2
0
        static void Main(string[] args)
        {
            // Start Window
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            form = new UDPScope();

            // start thread to receive data and update screen
            int port = 11000;

            if (args.Length > 0)
            {
                port = int.Parse(args[0]);
            }
            form.StartReception(port);
            Application.Run(form);
        }