📄 slide.cs
字号:
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace AjaxControlToolkit
{
/// <summary>
/// Class to represent the slide object.
/// </summary>
[Serializable]
public class Slide
{
private string imagePath;
private string name;
private string description;
/// <summary>
/// Default constructor
/// </summary>
public Slide() : this(null, null, null)
{ }
/// <summary>
/// Slide constructor with params
/// </summary>
/// <param name="imagePath"></param>
/// <param name="name"></param>
/// <param name="description"></param>
public Slide(string imagePath, string name, string description)
{
this.imagePath = imagePath;
this.name = name;
this.description = description;
}
/// <summary>
/// image source path/url
/// </summary>
public string ImagePath
{
get { return this.imagePath; }
set { this.imagePath = value; }
}
/// <summary>
/// image name
/// </summary>
public string Name
{
get { return this.name; }
set { this.name = value; }
}
/// <summary>
/// image description
/// </summary>
public string Description
{
get { return this.description; }
set { this.description = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -