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

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

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

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

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

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

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

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

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

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

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

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

            if (OpenFileButton != null)
            {
                OpenFileButton.Dispose();
                OpenFileButton = null;
            }
        }
예제 #3
0
        void ReleaseDesignerOutlets()
        {
            if (RunAllTests != null)
            {
                RunAllTests.Dispose();
                RunAllTests = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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