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.
59 lines
2.3 KiB
59 lines
2.3 KiB
<?xml version="1.0"?> |
|
<Template author="TFSThiago1112" version="1.0"> |
|
<Config name="${res:Templates.File.WindowsForm.Name}" icon="VBNet.File.Form" category="VB" subcategory="${res:Templates.File.Categories.WindowsApplications}" defaultname="Form${Number}.vb" language="VB"/> |
|
<Description>${res:Templates.File.WindowsForm.Description}</Description> |
|
<References> |
|
<Reference include="System.Drawing" /> |
|
<Reference include="System.Windows.Forms" /> |
|
</References> |
|
<!-- |
|
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="${Path}/${FileNameWithoutExtension}.Designer.vb" DependentUpon="${FileName}" language="VBNET"><![CDATA[${StandardHeader.VBNET} |
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ |
|
Partial Class ${ClassName} |
|
Inherits System.Windows.Forms.Form |
|
|
|
'Form overrides dispose to clean up the component list. |
|
<System.Diagnostics.DebuggerNonUserCode()> _ |
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean) |
|
Try |
|
If disposing AndAlso components IsNot Nothing Then |
|
components.Dispose() |
|
End If |
|
Finally |
|
MyBase.Dispose(disposing) |
|
End Try |
|
End Sub |
|
|
|
'Required by the Windows Form Designer |
|
Private components As System.ComponentModel.IContainer |
|
|
|
'NOTE: The following procedure is required by the Windows Form Designer |
|
'It can be modified using the Windows Form Designer. |
|
'Do not modify it using the code editor. |
|
<System.Diagnostics.DebuggerStepThrough()> _ |
|
Private Sub InitializeComponent() |
|
components = New System.ComponentModel.Container |
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font |
|
Me.Text = "${ClassName}" |
|
End Sub |
|
End Class |
|
]]> |
|
</File> |
|
<File name="${FullName}" language="VBNET"><![CDATA[${StandardHeader.VBNET} |
|
Public Class ${ClassName} |
|
|
|
End Class |
|
]]></File> |
|
</Files> |
|
<AdditionalOptions/> |
|
</Template>
|
|
|