Exemplo n.º 1
0
        private void MainGUI_Load(object sender, EventArgs e)
        {
            ToolStripStatusLabel.Text = "";
            LogTextBox.Text          += "Homepage: http://github.com/sztanpet/SC2ReplaySync" + Environment.NewLine;

            Log.LogboxUpdate += new LogboxUpdateEventHandler(Logbox_Update);
            Program.SCWindow  = new WindowHandling();
            Program.SCWindow.StatusUpdate += new StatusUpdateEventHandler(StatusLabel_Update);

            NetworkClient             = new Network.Client();
            NetworkClient.PingUpdate += new PingUpdateEventHandler(Ping_Update);
            NetworkServer             = new Network.Server();
            NetworkServer.PingUpdate += new PingUpdateEventHandler(Ping_Update);
        }
Exemplo n.º 2
0
        private void MainGUI_Load(object sender, EventArgs e)
        {
            ToolStripStatusLabel.Text = "";
            LogTextBox.Text += "Homepage: http://github.com/sztanpet/SC2ReplaySync" + Environment.NewLine;

            Log.LogboxUpdate += new LogboxUpdateEventHandler(Logbox_Update);
            Program.SCWindow = new WindowHandling();
            Program.SCWindow.StatusUpdate += new StatusUpdateEventHandler(StatusLabel_Update);

            NetworkClient = new Network.Client();
            NetworkClient.PingUpdate += new PingUpdateEventHandler(Ping_Update);
            NetworkServer = new Network.Server();
            NetworkServer.PingUpdate += new PingUpdateEventHandler(Ping_Update);
        }