using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1proj
{
    public partial class Form11 : Form
    {
        public static Form11 frm11;
        public Form11()
        {
            InitializeComponent();
        }

        private void Form11_Load(object sender, EventArgs e)
        {
            frm11 = this;
            //this.Show();
            if (Form1.frm1.j == 1)
            {
                label1.Visible = true;
                label2.Visible = false;
                label3.Visible = false;
                label4.Visible = false;
                label5.Visible = false;
               // this.Show();
            }
            else  if (Form1.frm1.j == 2)
            {
                label1.Visible = false;
                label2.Visible = true;
                label3.Visible = false;
                label4.Visible = false;
                label5.Visible = false;
               // this.Show();
            }
          else  if (Form1.frm1.j ==3)
            {
                label1.Visible = false;
                label2.Visible = false;
                label3.Visible = true;
                label4.Visible = false;
                label5.Visible = false;
               // this.Show();
            }
          else  if (Form1.frm1.j == 4)
            {
                label1.Visible = false;
                label2.Visible = false;
                label3.Visible = false;
                label4.Visible = true;
                label5.Visible = false;
                //this.Show();
            }
          else  if (Form1.frm1.j == 5)
            {
                label1.Visible = false;
                label2.Visible = false;
                label3.Visible = false;
                label4.Visible = false;
                label5.Visible = true;
                //this.Show();
            }
        }
    }
}