Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (BoxFour != null)
            {
                BoxFour.Dispose();
                BoxFour = null;
            }

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

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

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

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

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

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

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

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