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

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

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

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

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

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