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

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

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

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

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

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

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

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

			if (GuiProgressIndicator != null) {
				GuiProgressIndicator.Dispose ();
				GuiProgressIndicator = null;
			}
		}
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (GuiBtnAdd != null)
            {
                GuiBtnAdd.Dispose();
                GuiBtnAdd = null;
            }

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

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

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

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

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

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

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

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

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