Ejemplo n.º 1
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 370;
     //Set Form 22's marker's y position
     f22.markerYPos = 5;
     //Set Form 22's marker's width
     f22.markerWidth = 130;
     //Set Form 22's marker's height
     f22.markerHeight = 80;
     //Call the Form 22's drawCircle method to draw the circular marker over the Ancient Egypt exhibit part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = f22.directions = "Go to the History exhibit just across the main hall. It should be to your front left between Roman History and the People exhibit";
 }
Ejemplo n.º 2
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 15;
     //Set Form 22's marker's y position
     f22.markerYPos = 15;
     //Set Form 22's marker's width
     f22.markerWidth = 110;
     //Set Form 22's marker's height
     f22.markerHeight = 70;
     //Call the Form 22's drawCircle method to draw the circular marker over the energy exhibit part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = "Go through the entrance, then turn left and go through the Air and Space gallery. Go through the Transport gallery and then go left";
 }
Ejemplo n.º 3
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 330;
     //Set Form 22's marker's y position
     f22.markerYPos = 115;
     //Set Form 22's marker's width
     f22.markerWidth = 80;
     //Set Form 22's marker's height
     f22.markerHeight = 50;
     //Call the Form 22's drawCircle method to draw the circular marker over the people exhibition part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = f22.directions = "Go to the History exhibit just across the main hall. Then turn left";
 }
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance active
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 85;
     //Set Form 22's marker's y position
     f22.markerYPos = 265;
     //Set Form 22's marker's width
     f22.markerWidth = 150;
     //Set Form 22's marker's height
     f22.markerHeight = 100;
     //Call the Form 22's drawCircle method to draw the circular marker over the air and space exhibit part
     f22.drawCircle();
     //Set the Form 22's directions String
     f22.directions = "Go through the entrance, and then turn left before the History exhibit. It should be in front of you";
 }
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 680;
     //Set Form 22's marker's y position
     f22.markerYPos = 5;
     //Set Form 22's marker's width
     f22.markerWidth = 120;
     //Set Form 22's marker's height
     f22.markerHeight = 80;
     //Call the Form 22's drawCircle method to draw the circular marker over the wartime Britain part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = f22.directions = "Go to the History exhibit just across the main hall. It should be furthest to your right just next to Roman History";
 }
Ejemplo n.º 6
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 470;
     //Set Form 22's marker's y position
     f22.markerYPos = 100;
     //Set Form 22's marker's width
     f22.markerWidth = 170;
     //Set Form 22's marker's height
     f22.markerHeight = 80;
     //Call the Form 22's drawCircle method to draw the circular marker over the history exhibit part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = "The History exhibit should be across the main hall opposite the entrance. Walk ahead and you will be there";
 }
Ejemplo n.º 7
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance active
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 330;
     //Set Form 22's marker's y position
     f22.markerYPos = 260;
     //Set Form 22's marker's width
     f22.markerWidth = 130;
     //Set Form 22's marker's height
     f22.markerHeight = 80;
     //Call the Form 22's drawCircle method to draw the circular marker over the communications exhibit part of the map
     f22.drawCircle();
     //Set the Form 22's directions String
     f22.directions = "Go through the entrance, and then turn left just after the cafeteria. It should be right next to it";
 }
Ejemplo n.º 8
0
 private void label2_Click(object sender, EventArgs e)
 {
     //If there is no Form 22 instance
     if (f22 == null)
     {
         //Instantiate Form 22
         f22 = new Form22();
     }
     //Show the new Form 22 instance
     f22.Show();
     //Set Form 22's marker's x position
     f22.markerXPos = 720;
     //Set Form 22's marker's y position
     f22.markerYPos = 260;
     //Set Form 22's marker's width
     f22.markerWidth = 80;
     //Set Form 22's marker's height
     f22.markerHeight = 150;
     //Call the Form 22's drawCircle method to draw the circular marker over the Science and Nature part of the map
     f22.drawCircle();
     //Set the directions String of Form 22
     f22.directions = "As soon as you walk through the entrance, turn right.";
 }