tabitem.cs

来自「Time Tracker Starter Kit 使您能轻松创建这样一个应用程序」· CS 代码 · 共 39 行

CS
39
字号
using System;

namespace ASPNET.StarterKit.TimeTracker.BusinessLogicLayer
{
	//*********************************************************************
	//
	// TabItem Class
	//
	// TabItem class used to represent one tab in the Banner.ascx user control
	// or one tab in the AdminTabs.ascx user control.  A class is used instead
	// of a struct so a parameterized constructor could be used.
	//
	//*********************************************************************

	public class TabItem
	{
		private string _name;
		private string _path;

		public TabItem(string newName, string newPath)
		{
			_name = newName;
			_path = newPath;
		}

		public string Name
		{
			get { return _name;}
			set { _name = value;}
		}

		public string Path 
		{
			get { return _path; }
			set { _path = value; }
		}
	}
}

⌨️ 快捷键说明

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