Ejemplo n.º 1
0
        private void ButtonLogin_Click(object sender, EventArgs e)
        {
            if (CheckConnectionResult(Socket.Connect()))
            {
                LabelStatus.Text      = "Status: Connecting ...";
                LabelStatus.ForeColor = Color.ForestGreen;

                SecondCount = 0;

                ChangeControlActivity(false);

                Socket.SendRSAKey();

                TimerHandShake.Start();
            }
        }
Ejemplo n.º 2
0
 private void FormLogin_Load(object sender, EventArgs e)
 {
     ChangeControlActivity(true);
     TimerHandShake.Start();
 }