void usrTrainingPlanSerieEditor1_TrainingPlanSetChanged(object sender, ParameterEventArgs <TrainingPlanSerie> e)
        {
            var entry = getSelected <TrainingPlanSerie>();

            if (entry == null)
            {
                return;
            }
            tvDetails.SelectedNode.Text = entry.GetDisplayText();
        }
        private void UsrTrainingPlanEntryEditor1_TrainingPlanChanged(object sender, ParameterEventArgs <TrainingPlanEntry> e)
        {
            var entry = getSelected <TrainingPlanEntry>();

            if (entry == null)
            {
                return;
            }
            var exercise = ObjectsReposidory.GetExercise(entry.ExerciseId);

            tvDetails.SelectedNode.Text             = exercise.GetLocalizedName();
            tvDetails.SelectedNode.SelectedImageKey = tvDetails.SelectedNode.ImageKey = getTrainingPlanEntryIcon(entry);
        }