Click here to Skip to main content
15,894,740 members
Articles / Programming Languages / Visual Basic

ModelStudio

Rate me:
Please Sign up or sign in to vote.
3.20/5 (4 votes)
6 Dec 2008CPOL4 min read 34.3K   385   28  
Class diagram and code generation tool.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmMethod
    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)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    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()
        Me.TableLayoutPanel1 = New System.Windows.Forms.TableLayoutPanel
        Me.OK_Button = New System.Windows.Forms.Button
        Me.Cancel_Button = New System.Windows.Forms.Button
        Me.r1 = New System.Windows.Forms.RadioButton
        Me.r2 = New System.Windows.Forms.RadioButton
        Me.Label1 = New System.Windows.Forms.Label
        Me.tn = New System.Windows.Forms.TextBox
        Me.Label2 = New System.Windows.Forms.Label
        Me.cboReturn = New System.Windows.Forms.ComboBox
        Me.Panel1 = New System.Windows.Forms.Panel
        Me.rp2 = New System.Windows.Forms.RadioButton
        Me.rp1 = New System.Windows.Forms.RadioButton
        Me.TableLayoutPanel1.SuspendLayout()
        Me.Panel1.SuspendLayout()
        Me.SuspendLayout()
        '
        'TableLayoutPanel1
        '
        Me.TableLayoutPanel1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.TableLayoutPanel1.ColumnCount = 2
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
        Me.TableLayoutPanel1.Controls.Add(Me.OK_Button, 0, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Cancel_Button, 1, 0)
        Me.TableLayoutPanel1.Location = New System.Drawing.Point(9, 144)
        Me.TableLayoutPanel1.Name = "TableLayoutPanel1"
        Me.TableLayoutPanel1.RowCount = 1
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
        Me.TableLayoutPanel1.Size = New System.Drawing.Size(146, 29)
        Me.TableLayoutPanel1.TabIndex = 0
        '
        'OK_Button
        '
        Me.OK_Button.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.OK_Button.Location = New System.Drawing.Point(3, 3)
        Me.OK_Button.Name = "OK_Button"
        Me.OK_Button.Size = New System.Drawing.Size(67, 23)
        Me.OK_Button.TabIndex = 0
        Me.OK_Button.Text = "OK"
        '
        'Cancel_Button
        '
        Me.Cancel_Button.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Cancel_Button.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Cancel_Button.Location = New System.Drawing.Point(76, 3)
        Me.Cancel_Button.Name = "Cancel_Button"
        Me.Cancel_Button.Size = New System.Drawing.Size(67, 23)
        Me.Cancel_Button.TabIndex = 1
        Me.Cancel_Button.Text = "Cancel"
        '
        'r1
        '
        Me.r1.AutoSize = True
        Me.r1.Checked = True
        Me.r1.Location = New System.Drawing.Point(12, 40)
        Me.r1.Name = "r1"
        Me.r1.Size = New System.Drawing.Size(44, 17)
        Me.r1.TabIndex = 1
        Me.r1.TabStop = True
        Me.r1.Text = "Sub"
        Me.r1.UseVisualStyleBackColor = True
        '
        'r2
        '
        Me.r2.AutoSize = True
        Me.r2.Location = New System.Drawing.Point(62, 40)
        Me.r2.Name = "r2"
        Me.r2.Size = New System.Drawing.Size(66, 17)
        Me.r2.TabIndex = 2
        Me.r2.Text = "Function"
        Me.r2.UseVisualStyleBackColor = True
        '
        'Label1
        '
        Me.Label1.AutoSize = True
        Me.Label1.Location = New System.Drawing.Point(9, 60)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(38, 13)
        Me.Label1.TabIndex = 3
        Me.Label1.Text = "Name:"
        '
        'tn
        '
        Me.tn.Location = New System.Drawing.Point(12, 76)
        Me.tn.Name = "tn"
        Me.tn.Size = New System.Drawing.Size(140, 20)
        Me.tn.TabIndex = 4
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.Location = New System.Drawing.Point(9, 99)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(69, 13)
        Me.Label2.TabIndex = 5
        Me.Label2.Text = "Return Type:"
        '
        'cboReturn
        '
        Me.cboReturn.FormattingEnabled = True
        Me.cboReturn.Items.AddRange(New Object() {"<Custom>", "Boolean", "Byte", "Char", "Date", "Decimal", "Double", "Integer", "Long", "SByte", "Short", "Single", "String", "System.Collections.Specialized.StringCollection", "System.Drawing.Color", "System.Drawing.Font", "System.Drawing.Point", "System.Drawing.Size", "System.Guid", "System.Timespan", "UInteger", "ULong", "UShort"})
        Me.cboReturn.Location = New System.Drawing.Point(12, 115)
        Me.cboReturn.Name = "cboReturn"
        Me.cboReturn.Size = New System.Drawing.Size(140, 21)
        Me.cboReturn.Sorted = True
        Me.cboReturn.TabIndex = 6
        '
        'Panel1
        '
        Me.Panel1.Controls.Add(Me.rp2)
        Me.Panel1.Controls.Add(Me.rp1)
        Me.Panel1.Location = New System.Drawing.Point(9, 3)
        Me.Panel1.Name = "Panel1"
        Me.Panel1.Size = New System.Drawing.Size(146, 31)
        Me.Panel1.TabIndex = 7
        '
        'rp2
        '
        Me.rp2.AutoSize = True
        Me.rp2.Location = New System.Drawing.Point(63, 9)
        Me.rp2.Name = "rp2"
        Me.rp2.Size = New System.Drawing.Size(58, 17)
        Me.rp2.TabIndex = 1
        Me.rp2.TabStop = True
        Me.rp2.Text = "Private"
        Me.rp2.UseVisualStyleBackColor = True
        '
        'rp1
        '
        Me.rp1.AutoSize = True
        Me.rp1.Checked = True
        Me.rp1.Location = New System.Drawing.Point(3, 9)
        Me.rp1.Name = "rp1"
        Me.rp1.Size = New System.Drawing.Size(54, 17)
        Me.rp1.TabIndex = 0
        Me.rp1.TabStop = True
        Me.rp1.Text = "Public"
        Me.rp1.UseVisualStyleBackColor = True
        '
        'FrmMethod
        '
        Me.AcceptButton = Me.OK_Button
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.CancelButton = Me.Cancel_Button
        Me.ClientSize = New System.Drawing.Size(167, 185)
        Me.Controls.Add(Me.Panel1)
        Me.Controls.Add(Me.cboReturn)
        Me.Controls.Add(Me.Label2)
        Me.Controls.Add(Me.tn)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.r2)
        Me.Controls.Add(Me.r1)
        Me.Controls.Add(Me.TableLayoutPanel1)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "FrmMethod"
        Me.ShowInTaskbar = False
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent
        Me.Text = "New Method"
        Me.TableLayoutPanel1.ResumeLayout(False)
        Me.Panel1.ResumeLayout(False)
        Me.Panel1.PerformLayout()
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel
    Friend WithEvents OK_Button As System.Windows.Forms.Button
    Friend WithEvents Cancel_Button As System.Windows.Forms.Button
    Friend WithEvents r1 As System.Windows.Forms.RadioButton
    Friend WithEvents r2 As System.Windows.Forms.RadioButton
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents tn As System.Windows.Forms.TextBox
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents cboReturn As System.Windows.Forms.ComboBox
    Friend WithEvents Panel1 As System.Windows.Forms.Panel
    Friend WithEvents rp2 As System.Windows.Forms.RadioButton
    Friend WithEvents rp1 As System.Windows.Forms.RadioButton

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Founder Arkitech EBC Corporation
United States United States
MS, BBA, software developer, consultant, and trainer. Specializing in building data-centric applications designed for business, university, community & faith based organizations. Started developing Excel VBA macros and never looked back. Freelance developer utilizing VB.Net, SQL Server, Microsoft Access, and ASP.Net.

Comments and Discussions