示例#1
0
        private void label1_Click(object sender, EventArgs e)
        {
            Form22 fm22 = new Form22();

            fm22.ShowDialog();
            this.Close();
        }
示例#2
0
        private void button3_Click(object sender, EventArgs e)
        {
            Form22 f22 = new Form22();

            f22.Show();
            this.Hide();
        }
示例#3
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Form22 f4 = new Form22();

            f4.ShowDialog();
            this.Visible = true;
        }
示例#4
0
        private void 修改密码ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Form22 f4 = new Form22();

            f4.ShowDialog();
            this.Visible = true;
        }
示例#5
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";
 }
示例#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 = 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";
 }
示例#7
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";
 }
 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";
 }
示例#10
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";
 }
示例#11
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";
 }
示例#12
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.";
 }
示例#13
0
        private void выборЗаказовПокупателяToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f10 = new Form22();

            f10.Show();
        }