Example #1
0
        public Client(string username)
        {
            this.client = new CodeWizardsServerClient();

            this.token = this.client.Join(username);

            this.updateTimer = new Timer(500);
            this.updateTimer.Elapsed += this.UpdateTimerElapsed;
            this.updateTimer.Start();
        }
Example #2
0
        public Form1()
        {
            InitializeComponent();

            client = new CodeWizardsServerClient();
        }