private void btnEndPark_Click(object sender, EventArgs e)
        {
            var vehBox = new VehicleControl();

            MessageBox.Show("Button work");
            this.Dispose();
        }
 public void VehicleIcon() //#M003
 {
     if (cmbBxVehType.Text == "Car")
     {
         var vehBox = new VehicleControl();
         this.Controls.Add(vehBox);
         vehBox.lblTESST.Text = txtBoxTag.Text;
         vehBox.Top           = 90;
         vehBox.Left          = a;
         a = a + 110;
     }
     else if (cmbBxVehType.Text == "SUV")
     {
         var vehBox = new VehicleControl();
         this.Controls.Add(vehBox);
         vehBox.lblTESST.Text = txtBoxTag.Text;
         vehBox.Top           = 90;
         vehBox.Left          = a;
         a = a + 110;
     }
     else
     {
         var vehBox = new VehicleControl();
         this.Controls.Add(vehBox);
         vehBox.Top  = 90;
         vehBox.Left = a;
         a           = a + 110;
     }
 }