Ejemplo n.º 1
0
        //INCHIDERE APLICATIE
        private void BtnExit_Click(object sender, EventArgs e)
        {
            ContForm x = new ContForm();

            x.Close();
            this.Close();
        }
Ejemplo n.º 2
0
 //PROGRES CONECTARE LA SERVER
 private void Timer1_Tick(object sender, EventArgs e)
 {
     progressBar1.Value = progressBar1.Value + 5;
     if (progressBar1.Value == 100)
     {
         UsernameForm.uname = tbUsernameUserE.Text;
         this.Hide();
         ContForm f = new ContForm();
         f.Show();
         timer1.Enabled = false;
         label13.Text   = "CONECTARE REUSITA !";
         timer1.Stop();
     }
 }