//General private void label16_Click(object sender, EventArgs e) { this.Hide(); Your_Profile f = new Your_Profile(); f.Show(); }
private void label2_Click(object sender, EventArgs e) { Your_Profile L = new Your_Profile(); L.Show(); this.Close(); Dashboard newform = (Dashboard)Application.OpenForms["Dashboard"]; newform.Close(); }