Click here to Skip to main content
15,895,809 members
Articles / Programming Languages / Visual Basic

Open Door - Reporting, Charts, Enquiry Drill-Downs

Rate me:
Please Sign up or sign in to vote.
4.37/5 (11 votes)
2 Feb 2009CPOL6 min read 39.4K   2K   59  
A utility for generating user editable reports, charts, documents, enquiries
imports nbfSqlReporter
Public Class nbfEditRepCols
    Inherits System.Windows.Forms.Form
    Public cis as nbfSqlColinfos
#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 Button1 As System.Windows.Forms.Button
    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(nbfEditRepCols))
        Me.Button1 = New System.Windows.Forms.Button
        Me.HelpProvider1 = New System.Windows.Forms.HelpProvider
        Me.NbfGrid1 = New odGridControls.nbfGrid
        Me.SuspendLayout()
        '
        '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(640, 8)
        Me.Button1.Name = "Button1"
        Me.Button1.Size = New System.Drawing.Size(56, 20)
        Me.Button1.TabIndex = 1
        Me.Button1.Text = "OK"
        '
        '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(4, 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(628, 268)
        Me.NbfGrid1.SourceGList = Nothing
        Me.NbfGrid1.SourceObject = Nothing
        Me.NbfGrid1.SourceObjectType = Nothing
        Me.NbfGrid1.SourceSQL = Nothing
        Me.NbfGrid1.SourceTable = Nothing
        Me.NbfGrid1.TabIndex = 2
        Me.NbfGrid1.Text = "NbfGrid1"
        '
        'nbfEditRepCols
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(700, 273)
        Me.Controls.Add(Me.NbfGrid1)
        Me.Controls.Add(Me.Button1)
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.Name = "nbfEditRepCols"
        Me.Text = "Edit Columns"
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        NbfGrid1.Update()
        Me.Close()
    End Sub
    Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
        Me.helpProvider1.HelpNamespace = "OpenDoor.chm"
        Me.helpProvider1.SetShowHelp(Me, True)
    End Sub
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
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions