Esempio n. 1
0
        public ServerForm()
        {
            InitializeComponent();
            NetworkingServer.Initialize();

            networkUpdateTimer.Interval = 20;
            networkUpdateTimer.Start();
            networkUpdateTimer.Tick += networkUpdateTimer_Tick;
            DatabaseOpen();

            rand = new Random();
        }
Esempio n. 2
0
 private void networkUpdateTimer_Tick(object sender, EventArgs e)
 {
     NetworkingServer.Update();
 }