1,新建:右键新增项-外观文件
2,编辑:如
3,应用:在web.config中的
页面级引用: <%@ Page Theme="Skin1" .........
4,新建多个主题,选择改变,在程序中指定
protected void Page_PreInit(object sender, System.EventArgs e)
{
try
{
Theme = "Skin1";
}
catch
{
// Empty strings result in no theme being applied.
Theme = "";
}
}