home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / Sharp / SharpDevelop_1.0.3.1761_Setup.exe / VBNet.Forms.Form.xft < prev    next >
Extensible Markup Language  |  2004-10-06  |  2KB  |  68 lines

  1. <?xml version="1.0"?>
  2. <Template author="Mike Krueger" version="1.0">
  3.     
  4.     <Config
  5.         name        = "${res:Templates.File.WindowsForm.Name}"
  6.         icon        = "VB.File.Form"
  7.         category    = "VB"
  8.         defaultname = "Form${Number}.vb"
  9.         language    = "VB"
  10.     />
  11.     
  12.     <Description>${res:Templates.File.WindowsForm.Description}</Description>
  13.     
  14.     <!-- 
  15.     Special new file templates:
  16.         ${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension
  17.         ${FullName}                 -> Full generated path name
  18.         ${FileName}                 -> File name with extension
  19.         ${FileNameWithoutExtension} -> File name without extension
  20.         ${Extension}                -> Extension in the form ".cs"
  21.         ${Path}                     -> Full path of the file
  22.      -->
  23.     <Files>
  24.         <File name="${FullName}" language="VBNET"><![CDATA[${StandardHeader.VBNET}
  25.  
  26. Imports System
  27. Imports System.Drawing
  28. Imports System.Windows.Forms
  29.  
  30. Namespace ${StandardNamespace}
  31.     
  32.     Public Class ${ClassName}
  33.         Inherits System.Windows.Forms.Form
  34.         
  35.         Public Sub New()
  36.             MyBase.New
  37.             '
  38.             ' The Me.InitializeComponent call is required for Windows Forms designer support.
  39.             '
  40.             Me.InitializeComponent
  41.             '
  42.             ' TODO : Add constructor code after InitializeComponents
  43.             '
  44.         End Sub
  45.         
  46.         #Region " Windows Forms Designer generated code "
  47.         ' This method is required for Windows Forms designer support.
  48.         ' Do not change the method contents inside the source code editor. The Forms designer might
  49.         ' not be able to load this method if it was changed manually.
  50.         Private Sub InitializeComponent()
  51.             '
  52.             '${ClassName}
  53.             '
  54.             Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
  55.             Me.ClientSize = New System.Drawing.Size(292, 266)
  56.             Me.Name = "${ClassName}"
  57.             Me.Text = "${ClassName}"
  58.         End Sub
  59.         #End Region
  60.         
  61.     End Class
  62. End Namespace
  63. ]]></File>
  64.     </Files>
  65.     
  66.     <AdditionalOptions/>
  67. </Template>
  68.