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.UserControl.xft < prev    next >
Extensible Markup Language  |  2004-10-06  |  2KB  |  64 lines

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