public static void gopapa(PictureBox pic, Label des, Button Right, Button Left) { pic.Image = Image.FromFile("Bev2go.jpg"); des.Text = "Your dad takes you to another room and you lose consciousness.\n No one ever knows anything about you. \n GAME OVER"; Left.Visible = false; Right.Visible = true; Right.Text = "Exit"; Right.Click += (sender, args) => { pic.Image = Image.FromFile("FGO.jpg"); des.Text = ""; Right.Visible = false; Left.Visible = false; Aappearances.Starter ap = new Aappearances.Starter(); ap.BoolBev(); //Volver pantalla }; }
public static void Cuarto(PictureBox pic, Label des, Button Right, Button Left) { pic.Image = Image.FromFile("BevIT.png"); des.Text = "When you enter your room, you realize that \n Pennywise was waiting for you.\n GAME OVER"; Left.Visible = false; Right.Visible = true; Right.Text = "Exit"; Right.Click += (sender, args) => { pic.Image = Image.FromFile("FGO.jpg"); des.Text = ""; Right.Visible = false; Left.Visible = false; Aappearances.Starter ap = new Aappearances.Starter(); ap.BoolBev(); //Volver pantalla }; }
public static void Calle(PictureBox pic, Label des, Button Right, Button Left) { pic.Image = Image.FromFile("BevSafe.jpg"); des.Text = "You hide on the street and now are safe.\n Everything's going to be alright."; Left.Visible = false; Right.Visible = true; Right.Text = "Go back"; Right.Click += (sender, args) => { pic.Image = Image.FromFile("FGO.jpg"); des.Text = ""; Right.Visible = false; Left.Visible = false; Aappearances.Starter ap = new Aappearances.Starter(); ap.BoolBev(); //Volver pantalla }; }
public static void atck(PictureBox pic, Label des, Button Right, Button Left) { pic.Image = Image.FromFile("Bev3a.png"); des.Text = "You attack and kill you dad, now everything's going to be alright."; Left.Visible = false; Right.Visible = true; Right.Text = "Go back"; Right.Click += (sender, args) => { pic.Image = Image.FromFile("FGO.jpg"); des.Text = ""; Right.Visible = false; Left.Visible = false; Aappearances.Starter ap = new Aappearances.Starter(); ap.BoolBev(); //Volver pantalla }; }