Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (BtnChangeCertificate != null)
            {
                BtnChangeCertificate.Dispose();
                BtnChangeCertificate = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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