private void button2_Click(object sender, EventArgs e) { stdntregister NewForm = new stdntregister(); NewForm.Show(); this.Dispose(false); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var stdntregister = new stdntregister(); stdntregister.Closed += (s, args) => this.Close(); stdntregister.Show(); }