private void Form1_Load(object sender, EventArgs e) { button1.Text = "Send"; button2.Text = "Connect"; timer1.Start(); console = new ChatUtils.Console(); button1.Enabled = false; }
private void button1_Click(object sender, EventArgs e) { timer1.Start(); console = new ChatUtils.Console(); server = new TCPServer(console); }