private void recentBoard_Click(object sender, EventArgs e) { //go to recently played matches screen Form f = this.FindForm(); f.Controls.Remove(this); TallyScreen ts = new TallyScreen(); // set the tally screen to display centre screen ts.Location = new Point((f.Width - ts.Width) / 2, (f.Height - ts.Height) / 2); f.Controls.Add(ts); }