Exemplo n.º 1
0
        static void Main(string[] aArgs)
        {
            AppNetwork       appControl = new AppNetwork(aArgs);
            AppKinskyWinForm app        = new AppKinskyWinForm(appControl);

            app.Start();
            Application.Run(new Form1(app));
            app.Stop();
        }
Exemplo n.º 2
0
    static void Main(string[] aArgs)
    {
        Console.WriteLine("Starting Receiver");

        AppNetwork app = new AppNetwork(aArgs);

        app.Start();

        byte[]    addr = { 239, 255, 19, 72 };
        IPAddress ip   = new IPAddress(addr);

        UdpMulticastReader reader = new UdpMulticastReader(app.Interface, ip, 51972);

        Thread.Sleep(500000);
    }
Exemplo n.º 3
0
        public MainVM()
        {
            this._regions = new List <EFRegion>();
            this._network = new AppNetwork();

            using (var db = new AppDB())
            {
                foreach (EFRegion region in db.Regions)
                {
                    this._regions.Add(region);
                }
            }
            if (this._regions.Count == 0)
            {
                this.RequestRegions();
            }
            else
            {
                this._constructGroupedList();
            }
        }