createintro.cs

来自「中国海洋大学211工程网站的全部源码」· CS 代码 · 共 35 行

CS
35
字号
using System;

namespace _211
{
	/// <summary>
	/// CreateIntro 的摘要说明。
	/// </summary>
	public class CreateIntro:CreateHtml
	{
		Intro it;

		public CreateIntro(Intro intr):base("contentintro")
		{
			it=intr;
		}

		protected override void setContent()
		{
			base.setContent ();
			setIntro();
			setBlank();
		}

		protected void setIntro()
		{
			HtmlWeb.Replace("[$$$intro$$$]",it.getIntroContent());
		}

		public void Add()
		{
			base.Add ("部门介绍", "intro");
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?