CmisSync.SetupSubCustomizeController.ReleaseDesignerOutlets C# (CSharp) Method

ReleaseDesignerOutlets() private method

private ReleaseDesignerOutlets ( ) : void
return void
		void ReleaseDesignerOutlets ()
		{
			if (AddButton != null) {
				AddButton.Dispose ();
				AddButton = null;
			}

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

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

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

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

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

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

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

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