private void exitToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); //Application.Exit(); FrmHomePage home = new FrmHomePage(); home.Show(); }
private void timer1_Tick(object sender, EventArgs e) { progressBar1.Value = progressBar1.Value + 2; if (progressBar1.Value == 100) { timer1.Enabled = false; this.Hide(); FrmHomePage f1 = new FrmHomePage(); f1.Show(); } lblMarquee.Left = lblMarquee.Left - 120; if (lblMarquee.Left <= -740) { lblMarquee.Left = 773; } }