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

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

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

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

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

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

            if (ViewBottom != null)
            {
                ViewBottom.Dispose();
                ViewBottom = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (ProfileView != null)
            {
                ProfileView.Dispose();
                ProfileView = null;
            }

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

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

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

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

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