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

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

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

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

            if (VinSearch != null)
            {
                VinSearch.Dispose();
                VinSearch = null;
            }
        }
Ejemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (BtnAddNew != null)
            {
                BtnAddNew.Dispose();
                BtnAddNew = null;
            }

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

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

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

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

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