vbnet.forms.usercontrol.xft

来自「c#源代码」· XFT 代码 · 共 64 行

XFT
64
字号
<?xml version="1.0"?>
<Template author="Mike Krueger" version="1.0">
	
	<Config
		name        = "${res:Templates.File.WindowsUserControl.Name}"
		icon        = "VB.File.Form"
		category    = "VB"
		defaultname = "UserControl${Number}.vb"
		language    = "VBNET"/>
	
	<Description>${res:Templates.File.WindowsUserControl.Description}</Description>
	
	<!-- 
	Special new file templates:
		${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension
		${FullName}                 -> Full generated path name
		${FileName}                 -> File name with extension
		${FileNameWithoutExtension} -> File name without extension
		${Extension}                -> Extension in the form ".cs"
		${Path}                     -> Full path of the file
	 -->
	<Files>
		<File name="${FullName}" language="VBNET"><![CDATA[${StandardHeader.VBNET}

Imports System
Imports System.Drawing
Imports System.ComponentModel
Imports System.Windows.Forms

Namespace ${StandardNamespace}
	
	Public Class ${ClassName}
		Inherits System.Windows.Forms.UserControl
		
		Public Sub New()
			MyBase.New
			' Must be called for initialization
			Me.InitializeComponent
			'
			' TODO : Add constructor code after InitializeComponents
			'
		End Sub
		
		#Region " Windows Forms Designer generated code "
		' This method is required for Windows Forms designer support.
		' Do not change the method contents inside the source code editor. The Forms designer might
		' not be able to load this method if it was changed manually.
		Private Sub InitializeComponent()
			'
			'${ClassName}
			'
			Me.Name = "${ClassName}"
		End Sub
		#End Region
		
	End Class
End Namespace
]]></File>
	</Files>
	
	<AdditionalOptions/>
</Template>

⌨️ 快捷键说明

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