mainmenueditorcontrol.cs
来自「c#源代码」· CS 代码 · 共 35 行
CS
35 行
// <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 + =
减小字号Ctrl + -
显示快捷键?