Exemplo n.º 1
0
        /// <summary>
        /// instantiate subsection two
        /// </summary>
        /// <param name="parent">control to instantiate in</param>
        private static void InstantiateSubsectionTwo(Control parent)
        {
            TableCell itemCell = new TextTableCell();

            itemCell.VerticalAlign = VerticalAlign.Top;
            itemCell.CssClass      = PatientBannerCssClasses.ZoneTwoData;
            ContactLabel contactLabel = new ContactLabel();

            contactLabel.LabelStyle = PatientBannerCssClasses.ZoneTwoLabel;
            contactLabel.ID         = PatientBannerControlIds.ContactDetails;
            itemCell.Controls.Add(contactLabel);

            parent.Controls.Add(itemCell);
        }
Exemplo n.º 2
0
        /// <summary>
        /// instantiate subsection two
        /// </summary>
        /// <param name="parent">control to instantiate in</param>
        private static void InstantiateSubsectionTwo(Control parent)
        {
            TableCell itemCell = new TextTableCell();
            itemCell.VerticalAlign = VerticalAlign.Top;
            itemCell.CssClass = PatientBannerCssClasses.ZoneTwoData;
            ContactLabel contactLabel = new ContactLabel();

            contactLabel.LabelStyle = PatientBannerCssClasses.ZoneTwoLabel;
            contactLabel.ID = PatientBannerControlIds.ContactDetails;
            itemCell.Controls.Add(contactLabel);

            parent.Controls.Add(itemCell);
        }