imports nbfSqlReporter
Public Class nbfSelectSQLSource
Inherits System.Windows.Forms.Form
public Abandoned as boolean
#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 GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton
Friend WithEvents HelpProvider1 As System.Windows.Forms.HelpProvider
Friend WithEvents NbfGrid1 As odGridControls.nbfGrid
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(nbfSelectSQLSource))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.RadioButton3 = New System.Windows.Forms.RadioButton
Me.RadioButton2 = New System.Windows.Forms.RadioButton
Me.RadioButton1 = New System.Windows.Forms.RadioButton
Me.Button1 = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.HelpProvider1 = New System.Windows.Forms.HelpProvider
Me.NbfGrid1 = New odGridControls.nbfGrid
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.GroupBox1.Controls.Add(Me.RadioButton3)
Me.GroupBox1.Controls.Add(Me.RadioButton2)
Me.GroupBox1.Controls.Add(Me.RadioButton1)
Me.GroupBox1.Location = New System.Drawing.Point(312, 8)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(124, 92)
Me.GroupBox1.TabIndex = 2
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Selection Type"
'
'RadioButton3
'
Me.RadioButton3.Location = New System.Drawing.Point(12, 64)
Me.RadioButton3.Name = "RadioButton3"
Me.RadioButton3.Size = New System.Drawing.Size(104, 16)
Me.RadioButton3.TabIndex = 2
Me.RadioButton3.Text = "Report"
'
'RadioButton2
'
Me.RadioButton2.Location = New System.Drawing.Point(12, 44)
Me.RadioButton2.Name = "RadioButton2"
Me.RadioButton2.Size = New System.Drawing.Size(104, 16)
Me.RadioButton2.TabIndex = 1
Me.RadioButton2.Text = "List"
'
'RadioButton1
'
Me.RadioButton1.Location = New System.Drawing.Point(12, 24)
Me.RadioButton1.Name = "RadioButton1"
Me.RadioButton1.Size = New System.Drawing.Size(104, 16)
Me.RadioButton1.TabIndex = 0
Me.RadioButton1.Text = "Single Column"
'
'Button1
'
Me.Button1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.Button1.Location = New System.Drawing.Point(316, 108)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(56, 20)
Me.Button1.TabIndex = 3
Me.Button1.Text = "OK"
'
'Button2
'
Me.Button2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.Button2.Location = New System.Drawing.Point(380, 108)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(56, 20)
Me.Button2.TabIndex = 4
Me.Button2.Text = "Cancel"
'
'NbfGrid1
'
Me.NbfGrid1.AllowEdit = False
Me.NbfGrid1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.NbfGrid1.HDBC = Nothing
Me.NbfGrid1.Location = New System.Drawing.Point(8, 4)
Me.NbfGrid1.Name = "NbfGrid1"
Me.NbfGrid1.RepBreak1HeadFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.NbfGrid1.RepBreak2HeadFont = New System.Drawing.Font("Tahoma", 8.0!)
Me.NbfGrid1.RepSubHeadFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.NbfGrid1.Size = New System.Drawing.Size(300, 268)
Me.NbfGrid1.SourceGList = Nothing
Me.NbfGrid1.SourceObject = Nothing
Me.NbfGrid1.SourceObjectType = Nothing
Me.NbfGrid1.SourceSQL = Nothing
Me.NbfGrid1.SourceTable = Nothing
Me.NbfGrid1.TabIndex = 5
Me.NbfGrid1.Text = "NbfGrid1"
'
'nbfSelectSQLSource
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(444, 273)
Me.Controls.Add(Me.NbfGrid1)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.GroupBox1)
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.Name = "nbfSelectSQLSource"
Me.Text = "Select Data Source"
Me.GroupBox1.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
#End Region
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Abandoned = False
me.hide
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Abandoned = true
me.hide
End Sub
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
RadioButton1.Checked = true
Me.helpProvider1.HelpNamespace = "OpenDoor.chm"
Me.helpProvider1.SetShowHelp(Me, True)
End Sub
End Class