📄 memo.cs
字号:
#region Using Directives
using System;
#endregion
namespace Org.InteliIM.Applications.MiniTools.Memos
{
/// <summary>
/// Represents a memo.
/// </summary>
public class Memo
{
/// <summary>
/// Initializes a new instance of the Memo class.
/// </summary>
public Memo()
{
}
private string ownerId;
/// <summary>
/// Gets or sets the owner's id.
/// </summary>
public string OwnerId
{
get
{
if (this.ownerId == null)
this.ownerId = "";
return this.ownerId;
}
set
{
this.ownerId = value;
}
}
private DateTime date = DateTime.Now;
/// <summary>
/// Gets or sets the date.
/// </summary>
public DateTime Date
{
get
{
return this.date;
}
set
{
this.date = value;
}
}
private string weather;
/// <summary>
/// Gets or sets the weather.
/// </summary>
public string Weather
{
get
{
if (this.weather == null)
this.weather = "";
return this.weather;
}
set
{
this.weather = value;
}
}
private string emotion;
/// <summary>
/// Gets or sets the emotion.
/// </summary>
public string Emotion
{
get
{
if (this.emotion == null)
this.emotion = "";
return this.emotion;
}
set
{
this.emotion = value;
}
}
private string content;
/// <summary>
/// Gets or sets the content.
/// </summary>
public string Content
{
get
{
if (this.content == null)
this.content = "";
return this.content;
}
set
{
this.content = value;
}
}
private bool isPublic = false;
/// <summary>
/// Gets or sets a value indicating the Memo is public or not.
/// </summary>
public bool IsPublic
{
get
{
return this.isPublic;
}
set
{
this.isPublic = value;
}
}
private string backGroundImageSrc;
/// <summary>
/// Gets or sets the background image source.
/// </summary>
public string BackGroundImageSrc
{
get
{
if (this.backGroundImageSrc == null)
this.backGroundImageSrc = "";
return this.backGroundImageSrc;
}
set
{
this.backGroundImageSrc = value;
}
}
private string backGroundMusicSrc;
/// <summary>
/// Gets or sets the background music source.
/// </summary>
public string BackGroundMusicSrc
{
get
{
if (this.backGroundMusicSrc == null)
this.backGroundMusicSrc = "";
return this.backGroundMusicSrc;
}
set
{
this.backGroundMusicSrc = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -