private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Loginform lf = new Loginform(); this.Hide(); lf.Show(); }
private void btnlogin_Click(object sender, EventArgs e) { try { Loginform lf = new Loginform(); this.Hide(); lf.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }