⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pinvoke.addin

📁 c#源代码
💻 ADDIN
字号:
<AddIn name        = "PInvoke Add-in"
       author      = "Matt Ward"
       copyright   = "GPL"
       url         = "http://www.icsharpcode.net/"
       description = "PInvoke.Net integration for SharpDevelop."
       version     = "0.0.1">

	<Runtime>
		<Import assembly="PInvokeAddIn.dll" />
	</Runtime>

	<!-- Menu options -->
 	<Extension path = "/SharpDevelop/Workbench/MainMenu/Tools">
		 <Conditional action="Disable">
			<Or>
				<Condition activeextension = ".vb"/>
				<Condition activeextension = ".cs"/>
			</Or>
			<MenuItem id           = "InsertPInvoke"
				  insertafter  = "RegExpTk"
			          insertbefore = "Separator4"
				  label        = "${res:ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesMenuLabel}" 
				  description  = "Insert PInvoke signatures." 
				  class        = "ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesCommand"
			/>
		 </Conditional>
	</Extension>

	<!-- Right click in text editor menu option -->
	<Extension path = "/SharpDevelop/ViewContent/DefaultTextEditor/ContextMenu">

		<MenuItem id          = "Separator4"
		          label       = "-" 
		          insertafter = "Options"
		/>

		<Conditional action="Disable">
			<Or>
				<Condition activeextension = ".vb"/>
				<Condition activeextension = ".cs"/>
			</Or>		
			<MenuItem id          = "InsertPInvoke"
		                  label       = "${res:ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesMenuLabel}"
			          insertafter = "Separator4"
		                  class       ="ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesCommand"
			/>
		</Conditional>
	</Extension>

</AddIn>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -