コード例 #1
0
        private static HtmlAnchor CreateOfficePageAnchor(string officekey, string text)
        {
            var a = new HtmlAnchor
            {
                HRef      = SecureAdminPage.GetOfficePageEditUrl(officekey),
                Target    = "office",
                InnerHtml = text
            };

            return(a);
        }
コード例 #2
0
ファイル: Report.cs プロジェクト: cloughin/VoteProject.5
        protected static HtmlAnchor CreateAdminOfficeAnchor(string officeKey,
                                                            string anchorText, string target = "office")
        {
            var a = new HtmlAnchor
            {
                HRef      = SecureAdminPage.GetOfficePageEditUrl(officeKey),
                Target    = target,
                InnerHtml = anchorText
            };

            return(a);
        }