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

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

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

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

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

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

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

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