private void btnHelp_Click(object sender, EventArgs e) { this.Hide(); Frmlogin f = new Frmlogin(); f.Show(); }
static void Main() { System.Windows.Forms.Application.EnableVisualStyles(); System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false); Frmlogin Frmlogin = new Frmlogin(); Frmlogin.Show(); System.Windows.Forms.Application.Run( ); }
private void timer1_Tick(object sender, EventArgs e) { ProgressBar1__.Value = ProgressBar1__.Value + 2; if (ProgressBar1__.Value > 99) { Frmlogin fr = new Frmlogin(); fr.Show(); timer1.Enabled = false; this.Hide(); } }