예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (CalendarGridWrapperView != null)
            {
                CalendarGridWrapperView.Dispose();
                CalendarGridWrapperView = null;
            }

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

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

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

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