void ReleaseDesignerOutlets()
        {
            if (Img1 != null)
            {
                Img1.Dispose();
                Img1 = null;
            }

            if (Btn1 != null)
            {
                Btn1.Dispose();
                Btn1 = null;
            }

            if (Img3 != null)
            {
                Img3.Dispose();
                Img3 = null;
            }

            if (Btn3 != null)
            {
                Btn3.Dispose();
                Btn3 = null;
            }

            if (Img2 != null)
            {
                Img2.Dispose();
                Img2 = null;
            }

            if (Btn2 != null)
            {
                Btn2.Dispose();
                Btn2 = null;
            }

            if (Img4 != null)
            {
                Img4.Dispose();
                Img4 = null;
            }

            if (Btn4 != null)
            {
                Btn4.Dispose();
                Btn4 = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (Btn1 != null)
     {
         Btn1.Dispose();
         Btn1 = null;
     }
     if (Btn2 != null)
     {
         Btn2.Dispose();
         Btn2 = null;
     }
     if (Btn3 != null)
     {
         Btn3.Dispose();
         Btn3 = null;
     }
     if (Btn4 != null)
     {
         Btn4.Dispose();
         Btn4 = null;
     }
     if (Btn5 != null)
     {
         Btn5.Dispose();
         Btn5 = null;
     }
     if (Btn6 != null)
     {
         Btn6.Dispose();
         Btn6 = null;
     }
     if (Btn7 != null)
     {
         Btn7.Dispose();
         Btn7 = null;
     }
     if (Btn8 != null)
     {
         Btn8.Dispose();
         Btn8 = null;
     }
 }