private void searchLabel_Click(object sender, EventArgs e) { Form s = this.FindForm(); s.Controls.Remove(this); SearchScreen ss = new SearchScreen(); s.Controls.Add(ss); }
private void searchLabel_Click(object sender, EventArgs e) { //takes the user to the search screen Form f = this.FindForm(); f.Controls.Remove(this); SearchScreen ss = new SearchScreen(); f.Controls.Add(ss); }