Public Class frmWelkomScherm
    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 PictureBox1 As System.Windows.Forms.PictureBox
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents btnAlbumBeheer As System.Windows.Forms.Button
    Friend WithEvents btnOntlenerBeheer As System.Windows.Forms.Button
    Friend WithEvents BtnOntleningBeheer As System.Windows.Forms.Button
    Friend WithEvents btnLocatieBeheer As System.Windows.Forms.Button
    Friend WithEvents btnHelp As System.Windows.Forms.Button
    Friend WithEvents btnAfsluiten As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmWelkomScherm))
        Me.PictureBox1 = New System.Windows.Forms.PictureBox
        Me.Label1 = New System.Windows.Forms.Label
        Me.btnAlbumBeheer = New System.Windows.Forms.Button
        Me.Label2 = New System.Windows.Forms.Label
        Me.btnOntlenerBeheer = New System.Windows.Forms.Button
        Me.Label3 = New System.Windows.Forms.Label
        Me.BtnOntleningBeheer = New System.Windows.Forms.Button
        Me.Label4 = New System.Windows.Forms.Label
        Me.btnLocatieBeheer = New System.Windows.Forms.Button
        Me.Label5 = New System.Windows.Forms.Label
        Me.btnHelp = New System.Windows.Forms.Button
        Me.Label6 = New System.Windows.Forms.Label
        Me.btnAfsluiten = New System.Windows.Forms.Button
        Me.Label7 = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'PictureBox1
        '
        Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
        Me.PictureBox1.Location = New System.Drawing.Point(0, 0)
        Me.PictureBox1.Name = "PictureBox1"
        Me.PictureBox1.Size = New System.Drawing.Size(500, 70)
        Me.PictureBox1.TabIndex = 0
        Me.PictureBox1.TabStop = False
        '
        'Label1
        '
        Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.25!)
        Me.Label1.Location = New System.Drawing.Point(24, 88)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(456, 24)
        Me.Label1.TabIndex = 1
        Me.Label1.Text = "Welkom op de mediatheek, maak hier uw keuze of gebruik het menu bovenaan !"
        '
        'btnAlbumBeheer
        '
        Me.btnAlbumBeheer.Image = CType(resources.GetObject("btnAlbumBeheer.Image"), System.Drawing.Image)
        Me.btnAlbumBeheer.ImageAlign = System.Drawing.ContentAlignment.BottomRight
        Me.btnAlbumBeheer.Location = New System.Drawing.Point(40, 120)
        Me.btnAlbumBeheer.Name = "btnAlbumBeheer"
        Me.btnAlbumBeheer.Size = New System.Drawing.Size(56, 48)
        Me.btnAlbumBeheer.TabIndex = 2
        Me.btnAlbumBeheer.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'Label2
        '
        Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!)
        Me.Label2.Location = New System.Drawing.Point(112, 136)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(112, 24)
        Me.Label2.TabIndex = 3
        Me.Label2.Text = "Albumbeheer"
        '
        'btnOntlenerBeheer
        '
        Me.btnOntlenerBeheer.Image = CType(resources.GetObject("btnOntlenerBeheer.Image"), System.Drawing.Image)
        Me.btnOntlenerBeheer.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.btnOntlenerBeheer.Location = New System.Drawing.Point(40, 192)
        Me.btnOntlenerBeheer.Name = "btnOntlenerBeheer"
        Me.btnOntlenerBeheer.Size = New System.Drawing.Size(56, 48)
        Me.btnOntlenerBeheer.TabIndex = 4
        '
        'Label3
        '
        Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label3.Location = New System.Drawing.Point(112, 208)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(128, 24)
        Me.Label3.TabIndex = 5
        Me.Label3.Text = "Ontlenerbeheer"
        '
        'BtnOntleningBeheer
        '
        Me.BtnOntleningBeheer.Image = CType(resources.GetObject("BtnOntleningBeheer.Image"), System.Drawing.Image)
        Me.BtnOntleningBeheer.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.BtnOntleningBeheer.Location = New System.Drawing.Point(272, 120)
        Me.BtnOntleningBeheer.Name = "BtnOntleningBeheer"
        Me.BtnOntleningBeheer.Size = New System.Drawing.Size(56, 48)
        Me.BtnOntleningBeheer.TabIndex = 6
        '
        'Label4
        '
        Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label4.Location = New System.Drawing.Point(344, 136)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(136, 24)
        Me.Label4.TabIndex = 7
        Me.Label4.Text = "Ontleningbeheer"
        '
        'btnLocatieBeheer
        '
        Me.btnLocatieBeheer.Image = CType(resources.GetObject("btnLocatieBeheer.Image"), System.Drawing.Image)
        Me.btnLocatieBeheer.Location = New System.Drawing.Point(40, 264)
        Me.btnLocatieBeheer.Name = "btnLocatieBeheer"
        Me.btnLocatieBeheer.Size = New System.Drawing.Size(56, 48)
        Me.btnLocatieBeheer.TabIndex = 8
        '
        'Label5
        '
        Me.Label5.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label5.Location = New System.Drawing.Point(112, 280)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(136, 24)
        Me.Label5.TabIndex = 9
        Me.Label5.Text = "Locatiebeheer"
        '
        'btnHelp
        '
        Me.btnHelp.Image = CType(resources.GetObject("btnHelp.Image"), System.Drawing.Image)
        Me.btnHelp.Location = New System.Drawing.Point(272, 192)
        Me.btnHelp.Name = "btnHelp"
        Me.btnHelp.Size = New System.Drawing.Size(56, 48)
        Me.btnHelp.TabIndex = 10
        '
        'Label6
        '
        Me.Label6.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label6.Location = New System.Drawing.Point(344, 208)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(136, 24)
        Me.Label6.TabIndex = 11
        Me.Label6.Text = "Help"
        '
        'btnAfsluiten
        '
        Me.btnAfsluiten.Image = CType(resources.GetObject("btnAfsluiten.Image"), System.Drawing.Image)
        Me.btnAfsluiten.Location = New System.Drawing.Point(272, 264)
        Me.btnAfsluiten.Name = "btnAfsluiten"
        Me.btnAfsluiten.Size = New System.Drawing.Size(56, 48)
        Me.btnAfsluiten.TabIndex = 12
        '
        'Label7
        '
        Me.Label7.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label7.Location = New System.Drawing.Point(344, 280)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(136, 24)
        Me.Label7.TabIndex = 13
        Me.Label7.Text = "Afsluiten"
        '
        'frmWelkomScherm
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(482, 327)
        Me.Controls.Add(Me.Label7)
        Me.Controls.Add(Me.btnAfsluiten)
        Me.Controls.Add(Me.Label6)
        Me.Controls.Add(Me.btnHelp)
        Me.Controls.Add(Me.Label5)
        Me.Controls.Add(Me.btnLocatieBeheer)
        Me.Controls.Add(Me.Label4)
        Me.Controls.Add(Me.BtnOntleningBeheer)
        Me.Controls.Add(Me.Label3)
        Me.Controls.Add(Me.btnOntlenerBeheer)
        Me.Controls.Add(Me.Label2)
        Me.Controls.Add(Me.btnAlbumBeheer)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.PictureBox1)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.MaximizeBox = False
        Me.Name = "frmWelkomScherm"
        Me.Text = "Welkom op de mediatheek!"
        Me.ResumeLayout(False)

    End Sub

#End Region

#Region "Opvulling"
    'een tussenform maken, is gebruiksvriendelijk
    Private Sub btnAlbumBeheer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAlbumBeheer.Click
        Dim oAlbumBeheer As New frmAlbumBeheer
        oAlbumBeheer.Show()
    End Sub

    Private Sub btnOntlenerBeheer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOntlenerBeheer.Click
        Dim oOntlenerBeheer As New frmOntlenerBeheer
        oOntlenerBeheer.Show()

    End Sub


    Private Sub btnLocatieBeheer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLocatieBeheer.Click

        Dim oLocatieBeheer As New frmLocatieBeheer
        oLocatieBeheer.Show()

    End Sub

    Private Sub BtnOntleningBeheer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOntleningBeheer.Click

        Dim oOntleningBeheer As New frmOntleningen
        oOntleningBeheer.Show()

    End Sub


    Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHelp.Click

        Help.ShowHelp(Me, "mediatheek.chm", HelpNavigator.Topic)

    End Sub

    
#End Region

    Private Sub btnAfsluiten_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAfsluiten.Click
        Dim response As MsgBoxResult
        response = MsgBox("Bent U zeker dat U het programma wil sluiten? ", MsgBoxStyle.YesNo, "Confirmatie Mediatheek sluiten")

        If response = MsgBoxResult.Yes Then
            Me.ParentForm.Close()
        ElseIf response = MsgBoxResult.No Then
            'do nothing
        End If
    End Sub
End Class
