Пример #1
0
        //private string _longText;
        //public string LongText
        //{
        //    get { return _longText; }
        //    set
        //    {
        //        _longText = value;
        //        OnPropertyChanged();
        //    }
        //}

        public PreparateHate GetPanelType()
        {
            var newType = new PreparateHate();

            //newType.LongName = LongText;
            newType.Str = ShortText;
            return(newType);
        }
        public PreparateHateDataSource(PreparateHate Recomendations, IUnitOfWork UnitOfWork)
        {
            List <string> buff2 = new List <string>();

            foreach (var x in UnitOfWork.PreparateHateComment.GetAll)
            {
                buff2.Add(x.Str);
            }


            PreparateHateCommentList = buff2;

            IsVisibleTotal = true;
            this.Data      = Recomendations;
            IsChecked      = false;
        }