Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            settings.nickname        = nickTextBox.Text;
            settings.server.username = usernameTextBox.Text;
            settings.server.password = passwdTextBox.Text;

            login_cmdid = ttclient.DoLogin(nickTextBox.Text, usernameTextBox.Text,
                                           passwdTextBox.Text);
            button1.Enabled         = false;
            nickTextBox.Enabled     = false;
            usernameTextBox.Enabled = false;
            passwdTextBox.Enabled   = false;
        }