📄 mainmenueditorcontrol.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 System;
using System.Diagnostics;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Windows.Forms;
using System.Windows.Forms.Design;
using ICSharpCode.SharpDevelop.FormDesigner.Hosts;
using System.Drawing.Design;
namespace ICSharpCode.SharpDevelop.FormDesigner {
public class MainMenuEditorControl : AbstractMenuEditorControl
{
public MainMenuEditorControl(IDesignerHost host, Menu menu) : base(host, menu)
{
}
protected override void OnLostFocus(EventArgs e)
{
MenuEditorFocused = base.subMenuEditor != null && !subMenuEditor.iveTheFocus;
base.OnLostFocus(e);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -