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

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

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

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

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

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

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