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

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

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

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

            if (ItemList != null)
            {
                ItemList.Dispose();
                ItemList = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (Click != null)
            {
                Click.Dispose();
                Click = null;
            }

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

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