コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (CompareButton != null)
            {
                CompareButton.Dispose();
                CompareButton = null;
            }

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

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

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

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

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

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

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

            if (ViewAttributeTypeDiffButton != null)
            {
                ViewAttributeTypeDiffButton.Dispose();
                ViewAttributeTypeDiffButton = null;
            }
        }
コード例 #2
0
 void ReleaseDesignerOutlets()
 {
     if (CompareButton != null)
     {
         CompareButton.Dispose();
         CompareButton = null;
     }
     if (FirstWordTextField != null)
     {
         FirstWordTextField.Dispose();
         FirstWordTextField = null;
     }
     if (ResultLabel != null)
     {
         ResultLabel.Dispose();
         ResultLabel = null;
     }
     if (SecondWordTextField != null)
     {
         SecondWordTextField.Dispose();
         SecondWordTextField = null;
     }
 }