📄 imementocapable.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version value="$version"/>
// </file>
using ICSharpCode.Core.Properties;
namespace ICSharpCode.SharpDevelop.Gui
{
/// <summary>
/// This interface flags an object beeing "mementocapable". This means that the
/// state of the object could be saved to an <see cref="IXmlConvertable"/> object
/// and set from a object from the same class.
/// This is used to save and restore the state of GUI objects.
/// </summary>
public interface IMementoCapable
{
/// <summary>
/// Creates a new memento from the state.
/// </summary>
IXmlConvertable CreateMemento();
/// <summary>
/// Sets the state to the given memento.
/// </summary>
void SetMemento(IXmlConvertable memento);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -