You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.7 KiB
58 lines
1.7 KiB
<?xml version="1.0"?> |
|
<Template author="Mike Krueger" version="1.0"> |
|
|
|
<Config |
|
name = "${res:Templates.File.WindowsForm.Name}" |
|
icon = "VBNet.File.Form" |
|
category = "VB" |
|
defaultname = "Form${Number}.vb" |
|
language = "VB" |
|
/> |
|
|
|
<Description>${res:Templates.File.WindowsForm.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} |
|
|
|
Public Class ${ClassName} |
|
Inherits System.Windows.Forms.Form |
|
|
|
Public Sub New() |
|
' |
|
' The Me.InitializeComponent call is required for Windows Forms designer support. |
|
' |
|
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.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font |
|
Me.ClientSize = New System.Drawing.Size(292, 266) |
|
Me.Name = "${ClassName}" |
|
Me.Text = "${ClassName}" |
|
End Sub |
|
#End Region |
|
End Class |
|
]]></File> |
|
</Files> |
|
|
|
<AdditionalOptions/> |
|
</Template>
|
|
|