📄 icommand.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 915 $</version>
// </file>
using System;
using System.Collections;
using System.CodeDom.Compiler;
using System.Windows.Forms;
namespace ICSharpCode.Core
{
/// <summary>
/// A basic command interface. A command has simply an owner which "runs" the command
/// and a Run method which invokes the command.
/// </summary>
public interface ICommand
{
/// <summary>
/// Returns the owner of the command.
/// </summary>
object Owner {
get;
set;
}
/// <summary>
/// Invokes the command.
/// </summary>
void Run();
/// <summary>
/// Is called when the Owner property is changed.
/// </summary>
event EventHandler OwnerChanged;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -