private void bunifuImageButton1_Click(object sender, EventArgs e) { this.Hide(); ApplicationLogin al = new ApplicationLogin(); al.ShowDialog(); }
public void timer1_Tick(object sender, EventArgs e) { try { //timer1.Start(); xuiFlatProgressBar1.Value += 1; if (xuiFlatProgressBar1.Value >= 100) { timer1.Stop(); ApplicationLogin frm = new ApplicationLogin(); frm.Show(); this.Hide(); } } catch (Exception) { return; } }