示例#1
0
        protected override void ClearView()
        {
            ClearTargetCollection();

            Ratings.MoveCurrentToPosition(0);
            RatingTypes.MoveCurrentToPosition(0);

            TargetModel = new InpsRating();
        }
示例#2
0
        protected override void ClearView()
        {
            try
            {
                base.ClearTargetCollection();

                //Metrics = new Infrastructure.MangoService.Metrics();

                Metrics    = null;
                IsInfinity = false;
                Ratings.MoveCurrentToPosition(0);
                RatingTypes.MoveCurrentToPosition(0);
                TargetModel = new MetricRating();

                UpdateViewState(Edit.Mode.Loaded);

                //CanRemoveAllMetricRating = false;
            }
            catch (Exception ex)
            {
                Utility.DisplayMessage(ex.Message);
            }
        }