Created
April 30, 2020 18:06
-
-
Save jianminchen/8c3f0d33918d871746616dc26b776080 to your computer and use it in GitHub Desktop.
coronavirus project showcase - make it simple - April 30, 2020
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
/// <summary> | |
/// Summary description for Html_Div_PIS | |
/// </summary> | |
/// namespace | |
/// | |
/// https://msdn.microsoft.com/en-us/library/z2kcy19k.aspx | |
/// | |
namespace MainSlideShow.Html | |
{ | |
public class HtmlDivSubTitle | |
{ | |
public static string cssClass = "subTitle"; | |
public HtmlDivSubTitle() | |
{ | |
// | |
// TODO: Add constructor logic here | |
// | |
} | |
/// <summary> | |
/// April 27, 2020 | |
/// Add id to div html | |
/// March 14, 2016 | |
/// </summary> | |
/// <param name="subTitle"></param> | |
/// <returns></returns> | |
public static string Compose(string name, string subTitle) | |
{ //March 14, 2016 | |
string html = "<div id=\"" + name + "\" class=\"mount_id "; | |
html += cssClass; | |
html += "\" class=\"grid_2\">"; | |
html += subTitle; | |
html += "</div>"; | |
return html; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment