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

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

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

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

            if (TabBar != null)
            {
                TabBar.Dispose();
                TabBar = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (IndexTextField != null)
            {
                IndexTextField.Dispose();
                IndexTextField = null;
            }

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

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