?? viewcommands.cs
字號:
/*
* Created by SharpDevelop.
* User: Forstmeier Helmut
* Date: 19.01.2006
* Time: 10:04
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;
namespace SharpReportAddin.Commands{
/// <summary>
/// This command is used when starting the <see cref="SharpReportView"></see>
/// from MainMenu/Extras/ReportGenerator
/// </summary>
///
public class RunSharpReport: AbstractMenuCommand{
public override void Run(){
SharpReportView view = new SharpReportView();
if (view != null) {
if (SharpReportCore.GlobalValues.IsValidPrinter()) {
WorkbenchSingleton.Workbench.ShowView(view);
} else {
MessageService.ShowError(ResourceService.GetString("Sharpreport.Error.NoPrinter"));
}
}
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -