private void buttonPlay_Click(object sender, EventArgs e) { //Open the play mode window for the play button click and hide the other window PlayModeWindow pMW = new PlayModeWindow(); pMW.Show(); this.Visible=false; }
private void buttonBack_Click(object sender, EventArgs e) { this.Visible = false; PlayModeWindow pmwi = new PlayModeWindow(); pmwi.Show(); }
private void buttonMainMenu_Click(object sender, EventArgs e) { this.Visible = false; PlayModeWindow pmw = new PlayModeWindow(); pmw.Show(); }