Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var skinnable = Master as BaseMasterPage;

            if (skinnable != null)
            {
                skinnable.Skin = new CustomerFocusSkin(ViewSelector.CurrentViewIs(MasterPageFile));
            }

            var reportId = GetReportIdFromQueryString();

            if (reportId == -1)
            {
                return;
            }

            _problem = _repo.ReadProblemReport(reportId);

            this.subject.InnerText    = _problem.SubjectLine();
            this.reportDate.InnerText = _problem.ReportDate.ToBritishDateWithDay();
            this.messageHtml.Text     = _problem.MessageHtml;

            DisplayWebAuthors();
        }