Beispiel #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (progressBar1.Value < 100)
     {
         progressBar1.Value = progressBar1.Value + 2;
     }
     else
     {
         timer1.Enabled = false;
         Frm_login frm = new Frm_login();
         frm.Show();
         this.Visible = false;
     }
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Frm_login frm = new Frm_login();

            frm.ShowDialog();
        }