private void btnLog_Click(object sender, EventArgs e) { frmDash fr = new frmDash(); this.Hide(); fr.Show(); }
private void timer1_Tick(object sender, EventArgs e) { st += 1; progressBar1.Value = st; if (progressBar1.Value == 100) { progressBar1.Value = 0; timer1.Stop(); frmDash ds = new frmDash(); this.Hide(); ds.Show(); } }
private void button1_Click(object sender, EventArgs e) { frmDash fr = new frmDash(); fr.Show(); }