private void button2_Click(object sender, EventArgs e) { principal IR = new principal(); this.Hide(); IR.Show(); }
public void fn_prbar() { progressBar1.Increment(1); label1.Text = progressBar1.Value.ToString() + "%"; if (progressBar1.Value == progressBar1.MarqueeAnimationSpeed) { timer1.Stop(); this.Hide(); principal ir = new principal(); ir.Show(); } }