Imports AxSftButtonLib25
Imports SftButtonLib25
Imports Softelvdm.OLEConvert

Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        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.
Friend WithEvents label4 As System.Windows.Forms.Label
Friend WithEvents label3 As System.Windows.Forms.Label
Friend WithEvents label2 As System.Windows.Forms.Label
Friend WithEvents button1 As System.Windows.Forms.Button
Friend WithEvents label1 As System.Windows.Forms.Label
Friend WithEvents AxSftButton8 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton9 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton10 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton11 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton7 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton6 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton5 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton4 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton3 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton2 As AxSftButtonLib25.AxSftButton
Friend WithEvents AxSftButton1 As AxSftButtonLib25.AxSftButton
Friend WithEvents SftHelperComponent1 As Softelvdm.OCXHelper.SftHelperComponent
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
Me.AxSftButton8 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton9 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton10 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton11 = New AxSftButtonLib25.AxSftButton
Me.label4 = New System.Windows.Forms.Label
Me.AxSftButton7 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton6 = New AxSftButtonLib25.AxSftButton
Me.label3 = New System.Windows.Forms.Label
Me.AxSftButton5 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton4 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton3 = New AxSftButtonLib25.AxSftButton
Me.AxSftButton2 = New AxSftButtonLib25.AxSftButton
Me.label2 = New System.Windows.Forms.Label
Me.button1 = New System.Windows.Forms.Button
Me.label1 = New System.Windows.Forms.Label
Me.AxSftButton1 = New AxSftButtonLib25.AxSftButton
Me.SftHelperComponent1 = New Softelvdm.OCXHelper.SftHelperComponent(Me.components)
CType(Me.AxSftButton8, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton9, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton10, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton11, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton7, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton6, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton5, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton4, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxSftButton1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'AxSftButton8
'
Me.AxSftButton8.Location = New System.Drawing.Point(32, 272)
Me.AxSftButton8.Name = "AxSftButton8"
Me.AxSftButton8.OcxState = CType(resources.GetObject("AxSftButton8.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton8.Size = New System.Drawing.Size(80, 40)
Me.AxSftButton8.TabIndex = 21
'
'AxSftButton9
'
Me.AxSftButton9.Location = New System.Drawing.Point(128, 272)
Me.AxSftButton9.Name = "AxSftButton9"
Me.AxSftButton9.OcxState = CType(resources.GetObject("AxSftButton9.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton9.Size = New System.Drawing.Size(80, 40)
Me.AxSftButton9.TabIndex = 22
'
'AxSftButton10
'
Me.AxSftButton10.Location = New System.Drawing.Point(224, 272)
Me.AxSftButton10.Name = "AxSftButton10"
Me.AxSftButton10.OcxState = CType(resources.GetObject("AxSftButton10.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton10.Size = New System.Drawing.Size(80, 40)
Me.AxSftButton10.TabIndex = 24
'
'AxSftButton11
'
Me.AxSftButton11.Location = New System.Drawing.Point(320, 272)
Me.AxSftButton11.Name = "AxSftButton11"
Me.AxSftButton11.OcxState = CType(resources.GetObject("AxSftButton11.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton11.Size = New System.Drawing.Size(80, 40)
Me.AxSftButton11.TabIndex = 25
'
'label4
'
Me.label4.Location = New System.Drawing.Point(24, 208)
Me.label4.Name = "label4"
Me.label4.Size = New System.Drawing.Size(400, 56)
Me.label4.TabIndex = 26
Me.label4.Text = "Use bitmaps, icons, metafiles as picture components, single and multi-line text a" & _
"nd varying vertical and horizontal alignment options for each picture and text c" & _
"omponent."
'
'AxSftButton7
'
Me.AxSftButton7.Location = New System.Drawing.Point(320, 136)
Me.AxSftButton7.Name = "AxSftButton7"
Me.AxSftButton7.OcxState = CType(resources.GetObject("AxSftButton7.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton7.Size = New System.Drawing.Size(64, 64)
Me.AxSftButton7.TabIndex = 20
'
'AxSftButton6
'
Me.AxSftButton6.Location = New System.Drawing.Point(224, 136)
Me.AxSftButton6.Name = "AxSftButton6"
Me.AxSftButton6.OcxState = CType(resources.GetObject("AxSftButton6.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton6.Size = New System.Drawing.Size(64, 64)
Me.AxSftButton6.TabIndex = 19
'
'label3
'
Me.label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.label3.Location = New System.Drawing.Point(24, 104)
Me.label3.Name = "label3"
Me.label3.Size = New System.Drawing.Size(208, 24)
Me.label3.TabIndex = 23
Me.label3.Text = "Vertical Layout"
'
'AxSftButton5
'
Me.AxSftButton5.Location = New System.Drawing.Point(128, 136)
Me.AxSftButton5.Name = "AxSftButton5"
Me.AxSftButton5.OcxState = CType(resources.GetObject("AxSftButton5.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton5.Size = New System.Drawing.Size(64, 64)
Me.AxSftButton5.TabIndex = 18
'
'AxSftButton4
'
Me.AxSftButton4.Location = New System.Drawing.Point(320, 64)
Me.AxSftButton4.Name = "AxSftButton4"
Me.AxSftButton4.OcxState = CType(resources.GetObject("AxSftButton4.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton4.Size = New System.Drawing.Size(80, 24)
Me.AxSftButton4.TabIndex = 16
'
'AxSftButton3
'
Me.AxSftButton3.Location = New System.Drawing.Point(224, 64)
Me.AxSftButton3.Name = "AxSftButton3"
Me.AxSftButton3.OcxState = CType(resources.GetObject("AxSftButton3.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton3.Size = New System.Drawing.Size(80, 24)
Me.AxSftButton3.TabIndex = 15
'
'AxSftButton2
'
Me.AxSftButton2.Location = New System.Drawing.Point(128, 64)
Me.AxSftButton2.Name = "AxSftButton2"
Me.AxSftButton2.OcxState = CType(resources.GetObject("AxSftButton2.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton2.Size = New System.Drawing.Size(80, 24)
Me.AxSftButton2.TabIndex = 13
'
'label2
'
Me.label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.label2.Location = New System.Drawing.Point(24, 40)
Me.label2.Name = "label2"
Me.label2.Size = New System.Drawing.Size(208, 24)
Me.label2.TabIndex = 17
Me.label2.Text = "Horizontal Layout"
'
'button1
'
Me.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.button1.FlatStyle = System.Windows.Forms.FlatStyle.System
Me.button1.Location = New System.Drawing.Point(376, 8)
Me.button1.Name = "button1"
Me.button1.Size = New System.Drawing.Size(64, 24)
Me.button1.TabIndex = 27
Me.button1.Text = "Close"
'
'label1
'
Me.label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.label1.Location = New System.Drawing.Point(8, 8)
Me.label1.Name = "label1"
Me.label1.Size = New System.Drawing.Size(296, 24)
Me.label1.TabIndex = 14
Me.label1.Text = "Button Labels - Basic Styles"
'
'AxSftButton1
'
Me.AxSftButton1.Location = New System.Drawing.Point(32, 64)
Me.AxSftButton1.Name = "AxSftButton1"
Me.AxSftButton1.OcxState = CType(resources.GetObject("AxSftButton1.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxSftButton1.Size = New System.Drawing.Size(80, 24)
Me.AxSftButton1.TabIndex = 12
'
'Form1
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.CancelButton = Me.button1
Me.ClientSize = New System.Drawing.Size(448, 342)
Me.Controls.Add(Me.AxSftButton8)
Me.Controls.Add(Me.AxSftButton9)
Me.Controls.Add(Me.AxSftButton10)
Me.Controls.Add(Me.AxSftButton11)
Me.Controls.Add(Me.label4)
Me.Controls.Add(Me.AxSftButton7)
Me.Controls.Add(Me.AxSftButton6)
Me.Controls.Add(Me.label3)
Me.Controls.Add(Me.AxSftButton5)
Me.Controls.Add(Me.AxSftButton4)
Me.Controls.Add(Me.AxSftButton3)
Me.Controls.Add(Me.AxSftButton2)
Me.Controls.Add(Me.label2)
Me.Controls.Add(Me.button1)
Me.Controls.Add(Me.label1)
Me.Controls.Add(Me.AxSftButton1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.Name = "Form1"
Me.Text = "Softel vdm, Inc. - Label Sample"
CType(Me.AxSftButton8, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton9, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton10, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton11, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton7, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton6, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton5, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.AxSftButton1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)

    End Sub

#End Region
'--locate-marker--

Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
  Application.Exit()
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  AxSftButton8.Text = "Two Lines" & vbCrLf & "of Text"
End Sub

End Class