Click here to Skip to main content
12,634,788 members (28,653 online)
Click here to Skip to main content

Stats

434.4K views
62.9K downloads
508 bookmarked
Posted

A Serious Outlook Style Navigation Pane Control

, 15 Nov 2010 CC (ASA 2.5)
A quality rendered Outlook style navigation pane control
Guifreaks.NavigationBar.dll
Guifreaks.NavigationBar.XmlSerializers.dll
NavigationBarDemo.exe
Guifreaks.Common.dll
Guifreaks.NavigationBar
Design
ClassDiagram02.cd
Guifreaks.NavigationBar.csproj.user
img
Down.png
Up.png
Key.snk
NaviBar.bmp
NaviGroup.bmp
Properties
Resources
DesignTimeText.xls
NavigationBarDemo
img
bookmark.png
colorize.png
contents.png
history.png
klipper.png
Thumbs.db
wizard.png
imgSmall
bookmark.png
colorize.png
history.png
klipper_dock.png
wizard.png
NavigationBarDemo.csproj.user
Properties
Resources
Down.png
Up.png
Screenie.jpg
System.Windows.Forms.NavigationBar2.suo
Build
Guifreaks.NavigationBar.XmlSerializers.dll
Guifreaks.Common
Guifreaks.Common.csproj.user
Key.snk
Properties
NavigationBarDemoAppVb.suo
NavigationBarDemoAppVb
bin
Debug
Guifreaks.Common.dll
Guifreaks.NavigationBar.dll
Guifreaks.NavigationBar.XmlSerializers.dll
NavigationBarDemoAppVb.exe
NavigationBarDemoAppVb.vshost.exe
My Project
Application.myapp
Resources
bookmark.png
bookmark1.png
colorize.png
colorize1.png
Down.png
history.png
history1.png
klipper.png
klipper_dock.png
Up.png
wizard.png
wizard1.png
ThirdParty
Guifreaks.Common.dll
Guifreaks.NavigationBar.dll
Guifreaks.NavigationBar.XmlSerializers.dll
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FormMain
    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)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    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.components = New System.ComponentModel.Container
        Me.tabControl1 = New System.Windows.Forms.TabControl
        Me.tabPage1 = New System.Windows.Forms.TabPage
        Me.buttonLoadSettings = New System.Windows.Forms.Button
        Me.buttonSaveSettings = New System.Windows.Forms.Button
        Me.ButtonAddBand = New System.Windows.Forms.Button
        Me.checkBoxGroupExpanded = New System.Windows.Forms.CheckBox
        Me.ButtonActivateBand = New System.Windows.Forms.Button
        Me.label4 = New System.Windows.Forms.Label
        Me.ComboBoxLayoutBar = New System.Windows.Forms.ComboBox
        Me.checkBoxRightToLeft = New System.Windows.Forms.CheckBox
        Me.checkBoxShowCollapseButton = New System.Windows.Forms.CheckBox
        Me.checkBoxCollapsed = New System.Windows.Forms.CheckBox
        Me.checkBoxMoreOptions = New System.Windows.Forms.CheckBox
        Me.labelSmallButtonsHeight = New System.Windows.Forms.Label
        Me.textBoxSmallButtonsHeight = New System.Windows.Forms.TextBox
        Me.label3 = New System.Windows.Forms.Label
        Me.textBoxVisibleButtons = New System.Windows.Forms.TextBox
        Me.labelHeaderHeight = New System.Windows.Forms.Label
        Me.textBoxHeaderHeight = New System.Windows.Forms.TextBox
        Me.label1 = New System.Windows.Forms.Label
        Me.textBoxButtonHeight = New System.Windows.Forms.TextBox
        Me.checkBox1 = New System.Windows.Forms.CheckBox
        Me.button2 = New System.Windows.Forms.Button
        Me.button1 = New System.Windows.Forms.Button
        Me.textBoxBarLog = New System.Windows.Forms.TextBox
        Me.naviBar1 = New Guifreaks.NavigationBar.NaviBar(Me.components)
        Me.naviBand3 = New Guifreaks.NavigationBar.NaviBand(Me.components)
        Me.naviBand2 = New Guifreaks.NavigationBar.NaviBand(Me.components)
        Me.naviGroup2 = New Guifreaks.NavigationBar.NaviGroup(Me.components)
        Me.naviGroup1 = New Guifreaks.NavigationBar.NaviGroup(Me.components)
        Me.naviBand1 = New Guifreaks.NavigationBar.NaviBand(Me.components)
        Me.button5 = New System.Windows.Forms.Button
        Me.naviBand4 = New Guifreaks.NavigationBar.NaviBand(Me.components)
        Me.naviGroup4 = New Guifreaks.NavigationBar.NaviGroup(Me.components)
        Me.naviGroup3 = New Guifreaks.NavigationBar.NaviGroup(Me.components)
        Me.checkedListBox1 = New System.Windows.Forms.CheckedListBox
        Me.tabPage2 = New System.Windows.Forms.TabPage
        Me.splitContainer1 = New System.Windows.Forms.SplitContainer
        Me.naviButton1 = New Guifreaks.NavigationBar.NaviButton(Me.components)
        Me.checkBoxShowImage = New System.Windows.Forms.CheckBox
        Me.textBox1 = New System.Windows.Forms.TextBox
        Me.checkBoxMinimized = New System.Windows.Forms.CheckBox
        Me.checkBoxActivated = New System.Windows.Forms.CheckBox
        Me.label2 = New System.Windows.Forms.Label
        Me.textBox2 = New System.Windows.Forms.TextBox
        Me.checkBox2 = New System.Windows.Forms.CheckBox
        Me.button3 = New System.Windows.Forms.Button
        Me.button4 = New System.Windows.Forms.Button
        Me.textBox3 = New System.Windows.Forms.TextBox
        Me.openFileDialogSettings = New System.Windows.Forms.OpenFileDialog
        Me.saveFileDialogSettings = New System.Windows.Forms.SaveFileDialog
        Me.tabControl1.SuspendLayout()
        Me.tabPage1.SuspendLayout()
        CType(Me.naviBar1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.naviBar1.SuspendLayout()
        Me.naviBand3.SuspendLayout()
        Me.naviBand2.ClientArea.SuspendLayout()
        Me.naviBand2.SuspendLayout()
        CType(Me.naviGroup2, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.naviGroup1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.naviBand1.ClientArea.SuspendLayout()
        Me.naviBand1.SuspendLayout()
        Me.naviBand4.ClientArea.SuspendLayout()
        Me.naviBand4.SuspendLayout()
        CType(Me.naviGroup4, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.naviGroup3, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.naviGroup3.SuspendLayout()
        Me.tabPage2.SuspendLayout()
        Me.splitContainer1.Panel1.SuspendLayout()
        Me.splitContainer1.Panel2.SuspendLayout()
        Me.splitContainer1.SuspendLayout()
        Me.SuspendLayout()
        '
        'tabControl1
        '
        Me.tabControl1.Controls.Add(Me.tabPage1)
        Me.tabControl1.Controls.Add(Me.tabPage2)
        Me.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.tabControl1.Location = New System.Drawing.Point(0, 0)
        Me.tabControl1.Name = "tabControl1"
        Me.tabControl1.RightToLeftLayout = True
        Me.tabControl1.SelectedIndex = 0
        Me.tabControl1.Size = New System.Drawing.Size(768, 502)
        Me.tabControl1.TabIndex = 11
        '
        'tabPage1
        '
        Me.tabPage1.Controls.Add(Me.buttonLoadSettings)
        Me.tabPage1.Controls.Add(Me.buttonSaveSettings)
        Me.tabPage1.Controls.Add(Me.ButtonAddBand)
        Me.tabPage1.Controls.Add(Me.checkBoxGroupExpanded)
        Me.tabPage1.Controls.Add(Me.ButtonActivateBand)
        Me.tabPage1.Controls.Add(Me.label4)
        Me.tabPage1.Controls.Add(Me.ComboBoxLayoutBar)
        Me.tabPage1.Controls.Add(Me.checkBoxRightToLeft)
        Me.tabPage1.Controls.Add(Me.checkBoxShowCollapseButton)
        Me.tabPage1.Controls.Add(Me.checkBoxCollapsed)
        Me.tabPage1.Controls.Add(Me.checkBoxMoreOptions)
        Me.tabPage1.Controls.Add(Me.labelSmallButtonsHeight)
        Me.tabPage1.Controls.Add(Me.textBoxSmallButtonsHeight)
        Me.tabPage1.Controls.Add(Me.label3)
        Me.tabPage1.Controls.Add(Me.textBoxVisibleButtons)
        Me.tabPage1.Controls.Add(Me.labelHeaderHeight)
        Me.tabPage1.Controls.Add(Me.textBoxHeaderHeight)
        Me.tabPage1.Controls.Add(Me.label1)
        Me.tabPage1.Controls.Add(Me.textBoxButtonHeight)
        Me.tabPage1.Controls.Add(Me.checkBox1)
        Me.tabPage1.Controls.Add(Me.button2)
        Me.tabPage1.Controls.Add(Me.button1)
        Me.tabPage1.Controls.Add(Me.textBoxBarLog)
        Me.tabPage1.Controls.Add(Me.naviBar1)
        Me.tabPage1.Location = New System.Drawing.Point(4, 22)
        Me.tabPage1.Name = "tabPage1"
        Me.tabPage1.Padding = New System.Windows.Forms.Padding(3)
        Me.tabPage1.Size = New System.Drawing.Size(760, 476)
        Me.tabPage1.TabIndex = 0
        Me.tabPage1.Text = "NaviBar"
        Me.tabPage1.UseVisualStyleBackColor = True
        '
        'buttonLoadSettings
        '
        Me.buttonLoadSettings.Location = New System.Drawing.Point(505, 35)
        Me.buttonLoadSettings.Name = "buttonLoadSettings"
        Me.buttonLoadSettings.Size = New System.Drawing.Size(101, 23)
        Me.buttonLoadSettings.TabIndex = 27
        Me.buttonLoadSettings.Text = "Load settings"
        Me.buttonLoadSettings.UseVisualStyleBackColor = True
        '
        'buttonSaveSettings
        '
        Me.buttonSaveSettings.Location = New System.Drawing.Point(505, 6)
        Me.buttonSaveSettings.Name = "buttonSaveSettings"
        Me.buttonSaveSettings.Size = New System.Drawing.Size(101, 23)
        Me.buttonSaveSettings.TabIndex = 26
        Me.buttonSaveSettings.Text = "Save settings"
        Me.buttonSaveSettings.UseVisualStyleBackColor = True
        '
        'ButtonAddBand
        '
        Me.ButtonAddBand.Location = New System.Drawing.Point(398, 35)
        Me.ButtonAddBand.Name = "ButtonAddBand"
        Me.ButtonAddBand.Size = New System.Drawing.Size(101, 23)
        Me.ButtonAddBand.TabIndex = 25
        Me.ButtonAddBand.Text = "Add band"
        Me.ButtonAddBand.UseVisualStyleBackColor = True
        '
        'checkBoxGroupExpanded
        '
        Me.checkBoxGroupExpanded.AutoSize = True
        Me.checkBoxGroupExpanded.Location = New System.Drawing.Point(461, 57)
        Me.checkBoxGroupExpanded.Name = "checkBoxGroupExpanded"
        Me.checkBoxGroupExpanded.Size = New System.Drawing.Size(143, 30)
        Me.checkBoxGroupExpanded.TabIndex = 24
        Me.checkBoxGroupExpanded.Text = "Personal tasks (in tasks) " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "expanded"
        Me.checkBoxGroupExpanded.UseVisualStyleBackColor = True
        '
        'ButtonActivateBand
        '
        Me.ButtonActivateBand.Location = New System.Drawing.Point(398, 6)
        Me.ButtonActivateBand.Name = "ButtonActivateBand"
        Me.ButtonActivateBand.Size = New System.Drawing.Size(101, 23)
        Me.ButtonActivateBand.TabIndex = 23
        Me.ButtonActivateBand.Text = "Activate band 0"
        Me.ButtonActivateBand.UseVisualStyleBackColor = True
        '
        'label4
        '
        Me.label4.AutoSize = True
        Me.label4.Location = New System.Drawing.Point(291, 289)
        Me.label4.Name = "label4"
        Me.label4.Size = New System.Drawing.Size(39, 13)
        Me.label4.TabIndex = 22
        Me.label4.Text = "Layout"
        '
        'ComboBoxLayoutBar
        '
        Me.ComboBoxLayoutBar.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.ComboBoxLayoutBar.FormattingEnabled = True
        Me.ComboBoxLayoutBar.Items.AddRange(New Object() {"Office 2003 Blue", "Office 2003 Green", "Office 2003 Silver", "Office 2007 Blue", "Office 2007 Black", "Office 2007 Silver"})
        Me.ComboBoxLayoutBar.Location = New System.Drawing.Point(398, 286)
        Me.ComboBoxLayoutBar.Name = "ComboBoxLayoutBar"
        Me.ComboBoxLayoutBar.Size = New System.Drawing.Size(349, 21)
        Me.ComboBoxLayoutBar.TabIndex = 21
        '
        'checkBoxRightToLeft
        '
        Me.checkBoxRightToLeft.AutoSize = True
        Me.checkBoxRightToLeft.Location = New System.Drawing.Point(294, 156)
        Me.checkBoxRightToLeft.Name = "checkBoxRightToLeft"
        Me.checkBoxRightToLeft.Size = New System.Drawing.Size(80, 17)
        Me.checkBoxRightToLeft.TabIndex = 20
        Me.checkBoxRightToLeft.Text = "Right to left"
        Me.checkBoxRightToLeft.UseVisualStyleBackColor = True
        '
        'checkBoxShowCollapseButton
        '
        Me.checkBoxShowCollapseButton.AutoSize = True
        Me.checkBoxShowCollapseButton.Location = New System.Drawing.Point(294, 133)
        Me.checkBoxShowCollapseButton.Name = "checkBoxShowCollapseButton"
        Me.checkBoxShowCollapseButton.Size = New System.Drawing.Size(128, 17)
        Me.checkBoxShowCollapseButton.TabIndex = 19
        Me.checkBoxShowCollapseButton.Text = "Show collapse button"
        Me.checkBoxShowCollapseButton.UseVisualStyleBackColor = True
        '
        'checkBoxCollapsed
        '
        Me.checkBoxCollapsed.AutoSize = True
        Me.checkBoxCollapsed.Location = New System.Drawing.Point(294, 110)
        Me.checkBoxCollapsed.Name = "checkBoxCollapsed"
        Me.checkBoxCollapsed.Size = New System.Drawing.Size(72, 17)
        Me.checkBoxCollapsed.TabIndex = 18
        Me.checkBoxCollapsed.Text = "Collapsed"
        Me.checkBoxCollapsed.UseVisualStyleBackColor = True
        '
        'checkBoxMoreOptions
        '
        Me.checkBoxMoreOptions.AutoSize = True
        Me.checkBoxMoreOptions.Location = New System.Drawing.Point(294, 87)
        Me.checkBoxMoreOptions.Name = "checkBoxMoreOptions"
        Me.checkBoxMoreOptions.Size = New System.Drawing.Size(149, 17)
        Me.checkBoxMoreOptions.TabIndex = 17
        Me.checkBoxMoreOptions.Text = "Show more options button"
        Me.checkBoxMoreOptions.UseVisualStyleBackColor = True
        '
        'labelSmallButtonsHeight
        '
        Me.labelSmallButtonsHeight.AutoSize = True
        Me.labelSmallButtonsHeight.Location = New System.Drawing.Point(291, 180)
        Me.labelSmallButtonsHeight.Name = "labelSmallButtonsHeight"
        Me.labelSmallButtonsHeight.Size = New System.Drawing.Size(102, 13)
        Me.labelSmallButtonsHeight.TabIndex = 16
        Me.labelSmallButtonsHeight.Text = "Height small buttons"
        '
        'textBoxSmallButtonsHeight
        '
        Me.textBoxSmallButtonsHeight.Location = New System.Drawing.Point(398, 177)
        Me.textBoxSmallButtonsHeight.Name = "textBoxSmallButtonsHeight"
        Me.textBoxSmallButtonsHeight.Size = New System.Drawing.Size(128, 20)
        Me.textBoxSmallButtonsHeight.TabIndex = 15
        '
        'label3
        '
        Me.label3.AutoSize = True
        Me.label3.Location = New System.Drawing.Point(291, 206)
        Me.label3.Name = "label3"
        Me.label3.Size = New System.Drawing.Size(101, 13)
        Me.label3.TabIndex = 14
        Me.label3.Text = "Visible large buttons"
        '
        'textBoxVisibleButtons
        '
        Me.textBoxVisibleButtons.Location = New System.Drawing.Point(398, 203)
        Me.textBoxVisibleButtons.Name = "textBoxVisibleButtons"
        Me.textBoxVisibleButtons.Size = New System.Drawing.Size(128, 20)
        Me.textBoxVisibleButtons.TabIndex = 13
        '
        'labelHeaderHeight
        '
        Me.labelHeaderHeight.AutoSize = True
        Me.labelHeaderHeight.Location = New System.Drawing.Point(291, 258)
        Me.labelHeaderHeight.Name = "labelHeaderHeight"
        Me.labelHeaderHeight.Size = New System.Drawing.Size(76, 13)
        Me.labelHeaderHeight.TabIndex = 12
        Me.labelHeaderHeight.Text = "Header Height"
        '
        'textBoxHeaderHeight
        '
        Me.textBoxHeaderHeight.Location = New System.Drawing.Point(398, 255)
        Me.textBoxHeaderHeight.Name = "textBoxHeaderHeight"
        Me.textBoxHeaderHeight.Size = New System.Drawing.Size(128, 20)
        Me.textBoxHeaderHeight.TabIndex = 11
        '
        'label1
        '
        Me.label1.AutoSize = True
        Me.label1.Location = New System.Drawing.Point(291, 232)
        Me.label1.Name = "label1"
        Me.label1.Size = New System.Drawing.Size(70, 13)
        Me.label1.TabIndex = 10
        Me.label1.Text = "Button height"
        '
        'textBoxButtonHeight
        '
        Me.textBoxButtonHeight.Location = New System.Drawing.Point(398, 229)
        Me.textBoxButtonHeight.Name = "textBoxButtonHeight"
        Me.textBoxButtonHeight.Size = New System.Drawing.Size(128, 20)
        Me.textBoxButtonHeight.TabIndex = 9
        '
        'checkBox1
        '
        Me.checkBox1.AutoSize = True
        Me.checkBox1.Location = New System.Drawing.Point(294, 64)
        Me.checkBox1.Name = "checkBox1"
        Me.checkBox1.Size = New System.Drawing.Size(92, 17)
        Me.checkBox1.TabIndex = 8
        Me.checkBox1.Text = "Band 1 visible"
        Me.checkBox1.UseVisualStyleBackColor = True
        '
        'button2
        '
        Me.button2.Location = New System.Drawing.Point(290, 35)
        Me.button2.Name = "button2"
        Me.button2.Size = New System.Drawing.Size(101, 23)
        Me.button2.TabIndex = 7
        Me.button2.Text = "Less buttons"
        Me.button2.UseVisualStyleBackColor = True
        '
        'button1
        '
        Me.button1.Location = New System.Drawing.Point(290, 6)
        Me.button1.Name = "button1"
        Me.button1.Size = New System.Drawing.Size(101, 23)
        Me.button1.TabIndex = 6
        Me.button1.Text = "More buttons"
        Me.button1.UseVisualStyleBackColor = True
        '
        'textBoxBarLog
        '
        Me.textBoxBarLog.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.textBoxBarLog.Location = New System.Drawing.Point(288, 347)
        Me.textBoxBarLog.Multiline = True
        Me.textBoxBarLog.Name = "textBoxBarLog"
        Me.textBoxBarLog.Size = New System.Drawing.Size(459, 116)
        Me.textBoxBarLog.TabIndex = 5
        '
        'naviBar1
        '
        Me.naviBar1.ActiveBand = Me.naviBand4
        Me.naviBar1.Controls.Add(Me.naviBand4)
        Me.naviBar1.Controls.Add(Me.naviBand2)
        Me.naviBar1.Controls.Add(Me.naviBand3)
        Me.naviBar1.Controls.Add(Me.naviBand1)
        Me.naviBar1.Dock = System.Windows.Forms.DockStyle.Left
        Me.naviBar1.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviBar1.Location = New System.Drawing.Point(3, 3)
        Me.naviBar1.Name = "naviBar1"
        Me.naviBar1.Size = New System.Drawing.Size(198, 470)
        Me.naviBar1.TabIndex = 0
        Me.naviBar1.Text = "naviBar1"
        Me.naviBar1.VisibleLargeButtons = 2
        '
        'naviBand3
        '
        '
        'naviBand3.ClientArea
        '
        Me.naviBand3.ClientArea.Location = New System.Drawing.Point(0, 0)
        Me.naviBand3.ClientArea.Name = "ClientArea"
        Me.naviBand3.ClientArea.Size = New System.Drawing.Size(196, 339)
        Me.naviBand3.ClientArea.TabIndex = 0
        Me.naviBand3.LargeImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.history
        Me.naviBand3.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviBand3.Location = New System.Drawing.Point(1, 27)
        Me.naviBand3.Name = "naviBand3"
        Me.naviBand3.Size = New System.Drawing.Size(196, 339)
        Me.naviBand3.SmallImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.history1
        Me.naviBand3.TabIndex = 1
        Me.naviBand3.Text = "Schedule"
        '
        'naviBand2
        '
        '
        'naviBand2.ClientArea
        '
        Me.naviBand2.ClientArea.Controls.Add(Me.naviGroup2)
        Me.naviBand2.ClientArea.Controls.Add(Me.naviGroup1)
        Me.naviBand2.ClientArea.Location = New System.Drawing.Point(0, 0)
        Me.naviBand2.ClientArea.Name = "ClientArea"
        Me.naviBand2.ClientArea.Size = New System.Drawing.Size(196, 339)
        Me.naviBand2.ClientArea.TabIndex = 0
        Me.naviBand2.LargeImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.colorize
        Me.naviBand2.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviBand2.Location = New System.Drawing.Point(1, 27)
        Me.naviBand2.Name = "naviBand2"
        Me.naviBand2.Size = New System.Drawing.Size(196, 339)
        Me.naviBand2.SmallImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.colorize1
        Me.naviBand2.TabIndex = 0
        Me.naviBand2.Text = "Colors"
        '
        'naviGroup2
        '
        Me.naviGroup2.Caption = Nothing
        Me.naviGroup2.Dock = System.Windows.Forms.DockStyle.Top
        Me.naviGroup2.ExpandedHeight = 146
        Me.naviGroup2.HeaderContextMenuStrip = Nothing
        Me.naviGroup2.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviGroup2.Location = New System.Drawing.Point(0, 110)
        Me.naviGroup2.Name = "naviGroup2"
        Me.naviGroup2.Padding = New System.Windows.Forms.Padding(1, 22, 1, 1)
        Me.naviGroup2.Size = New System.Drawing.Size(196, 146)
        Me.naviGroup2.TabIndex = 22
        Me.naviGroup2.Text = "naviGroup2"
        '
        'naviGroup1
        '
        Me.naviGroup1.Caption = Nothing
        Me.naviGroup1.Dock = System.Windows.Forms.DockStyle.Top
        Me.naviGroup1.ExpandedHeight = 110
        Me.naviGroup1.HeaderContextMenuStrip = Nothing
        Me.naviGroup1.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviGroup1.Location = New System.Drawing.Point(0, 0)
        Me.naviGroup1.Name = "naviGroup1"
        Me.naviGroup1.Padding = New System.Windows.Forms.Padding(1, 22, 1, 1)
        Me.naviGroup1.Size = New System.Drawing.Size(196, 110)
        Me.naviGroup1.TabIndex = 21
        Me.naviGroup1.Text = "naviGroup1"
        '
        'naviBand1
        '
        '
        'naviBand1.ClientArea
        '
        Me.naviBand1.ClientArea.Controls.Add(Me.button5)
        Me.naviBand1.ClientArea.Location = New System.Drawing.Point(0, 0)
        Me.naviBand1.ClientArea.Name = "ClientArea"
        Me.naviBand1.ClientArea.Size = New System.Drawing.Size(196, 339)
        Me.naviBand1.ClientArea.TabIndex = 0
        Me.naviBand1.LargeImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.wizard
        Me.naviBand1.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviBand1.Location = New System.Drawing.Point(1, 27)
        Me.naviBand1.Name = "naviBand1"
        Me.naviBand1.Size = New System.Drawing.Size(196, 339)
        Me.naviBand1.SmallImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.wizard1
        Me.naviBand1.TabIndex = 4
        Me.naviBand1.Text = "Wizard"
        '
        'button5
        '
        Me.button5.Location = New System.Drawing.Point(61, 173)
        Me.button5.Name = "button5"
        Me.button5.Size = New System.Drawing.Size(75, 23)
        Me.button5.TabIndex = 23
        Me.button5.Text = "button5"
        Me.button5.UseVisualStyleBackColor = True
        '
        'naviBand4
        '
        '
        'naviBand4.ClientArea
        '
        Me.naviBand4.ClientArea.Controls.Add(Me.naviGroup4)
        Me.naviBand4.ClientArea.Controls.Add(Me.naviGroup3)
        Me.naviBand4.ClientArea.Location = New System.Drawing.Point(0, 0)
        Me.naviBand4.ClientArea.Name = "ClientArea"
        Me.naviBand4.ClientArea.Size = New System.Drawing.Size(196, 339)
        Me.naviBand4.ClientArea.TabIndex = 0
        Me.naviBand4.LargeImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.klipper
        Me.naviBand4.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviBand4.Location = New System.Drawing.Point(1, 27)
        Me.naviBand4.Name = "naviBand4"
        Me.naviBand4.Size = New System.Drawing.Size(196, 339)
        Me.naviBand4.SmallImage = Global.NavigationBarDemoAppVb.My.Resources.Resources.klipper_dock
        Me.naviBand4.TabIndex = 2
        Me.naviBand4.Text = "Tasks"
        '
        'naviGroup4
        '
        Me.naviGroup4.Caption = "Todo's"
        Me.naviGroup4.Dock = System.Windows.Forms.DockStyle.Top
        Me.naviGroup4.Expanded = False
        Me.naviGroup4.HeaderContextMenuStrip = Nothing
        Me.naviGroup4.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviGroup4.Location = New System.Drawing.Point(0, 150)
        Me.naviGroup4.Name = "naviGroup4"
        Me.naviGroup4.Padding = New System.Windows.Forms.Padding(1, 22, 1, 1)
        Me.naviGroup4.Size = New System.Drawing.Size(196, 20)
        Me.naviGroup4.TabIndex = 22
        Me.naviGroup4.Text = "naviGroup4"
        '
        'naviGroup3
        '
        Me.naviGroup3.Caption = "Personal tasks"
        Me.naviGroup3.Controls.Add(Me.checkedListBox1)
        Me.naviGroup3.Dock = System.Windows.Forms.DockStyle.Top
        Me.naviGroup3.HeaderContextMenuStrip = Nothing
        Me.naviGroup3.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2007Black
        Me.naviGroup3.Location = New System.Drawing.Point(0, 0)
        Me.naviGroup3.Name = "naviGroup3"
        Me.naviGroup3.Padding = New System.Windows.Forms.Padding(1, 22, 1, 1)
        Me.naviGroup3.Size = New System.Drawing.Size(196, 150)
        Me.naviGroup3.TabIndex = 21
        Me.naviGroup3.Text = "naviGroup3"
        '
        'checkedListBox1
        '
        Me.checkedListBox1.BorderStyle = System.Windows.Forms.BorderStyle.None
        Me.checkedListBox1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.checkedListBox1.FormattingEnabled = True
        Me.checkedListBox1.Items.AddRange(New Object() {"Fix all outstanding issues.", "Make new release.", "Upload to the site. "})
        Me.checkedListBox1.Location = New System.Drawing.Point(1, 22)
        Me.checkedListBox1.Name = "checkedListBox1"
        Me.checkedListBox1.Size = New System.Drawing.Size(194, 120)
        Me.checkedListBox1.TabIndex = 21
        '
        'tabPage2
        '
        Me.tabPage2.Controls.Add(Me.splitContainer1)
        Me.tabPage2.Location = New System.Drawing.Point(4, 22)
        Me.tabPage2.Name = "tabPage2"
        Me.tabPage2.Padding = New System.Windows.Forms.Padding(3)
        Me.tabPage2.Size = New System.Drawing.Size(760, 476)
        Me.tabPage2.TabIndex = 1
        Me.tabPage2.Text = "NaviButton"
        Me.tabPage2.UseVisualStyleBackColor = True
        '
        'splitContainer1
        '
        Me.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.splitContainer1.Location = New System.Drawing.Point(3, 3)
        Me.splitContainer1.Name = "splitContainer1"
        '
        'splitContainer1.Panel1
        '
        Me.splitContainer1.Panel1.Controls.Add(Me.naviButton1)
        Me.splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No
        '
        'splitContainer1.Panel2
        '
        Me.splitContainer1.Panel2.Controls.Add(Me.checkBoxShowImage)
        Me.splitContainer1.Panel2.Controls.Add(Me.textBox1)
        Me.splitContainer1.Panel2.Controls.Add(Me.checkBoxMinimized)
        Me.splitContainer1.Panel2.Controls.Add(Me.checkBoxActivated)
        Me.splitContainer1.Panel2.Padding = New System.Windows.Forms.Padding(10)
        Me.splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.splitContainer1.Size = New System.Drawing.Size(754, 470)
        Me.splitContainer1.SplitterDistance = 346
        Me.splitContainer1.TabIndex = 5
        '
        'naviButton1
        '
        Me.naviButton1.LayoutStyle = Guifreaks.NavigationBar.NaviLayoutStyle.Office2003Blue
        Me.naviButton1.Location = New System.Drawing.Point(26, 33)
        Me.naviButton1.Name = "naviButton1"
        Me.naviButton1.Size = New System.Drawing.Size(183, 47)
        Me.naviButton1.TabIndex = 1
        Me.naviButton1.Text = "naviButtoeeee"
        '
        'checkBoxShowImage
        '
        Me.checkBoxShowImage.AutoSize = True
        Me.checkBoxShowImage.Location = New System.Drawing.Point(10, 59)
        Me.checkBoxShowImage.Name = "checkBoxShowImage"
        Me.checkBoxShowImage.Size = New System.Drawing.Size(84, 17)
        Me.checkBoxShowImage.TabIndex = 9
        Me.checkBoxShowImage.Text = "Show image"
        Me.checkBoxShowImage.UseVisualStyleBackColor = True
        '
        'textBox1
        '
        Me.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.textBox1.Location = New System.Drawing.Point(10, 344)
        Me.textBox1.Multiline = True
        Me.textBox1.Name = "textBox1"
        Me.textBox1.Size = New System.Drawing.Size(384, 116)
        Me.textBox1.TabIndex = 4
        '
        'checkBoxMinimized
        '
        Me.checkBoxMinimized.AutoSize = True
        Me.checkBoxMinimized.Location = New System.Drawing.Point(10, 36)
        Me.checkBoxMinimized.Name = "checkBoxMinimized"
        Me.checkBoxMinimized.Size = New System.Drawing.Size(72, 17)
        Me.checkBoxMinimized.TabIndex = 2
        Me.checkBoxMinimized.Text = "Minimized"
        Me.checkBoxMinimized.UseVisualStyleBackColor = True
        '
        'checkBoxActivated
        '
        Me.checkBoxActivated.AutoSize = True
        Me.checkBoxActivated.Location = New System.Drawing.Point(10, 13)
        Me.checkBoxActivated.Name = "checkBoxActivated"
        Me.checkBoxActivated.Size = New System.Drawing.Size(71, 17)
        Me.checkBoxActivated.TabIndex = 3
        Me.checkBoxActivated.Text = "Activated"
        Me.checkBoxActivated.UseVisualStyleBackColor = True
        '
        'label2
        '
        Me.label2.AutoSize = True
        Me.label2.Location = New System.Drawing.Point(291, 90)
        Me.label2.Name = "label2"
        Me.label2.Size = New System.Drawing.Size(70, 13)
        Me.label2.TabIndex = 17
        Me.label2.Text = "Button height"
        '
        'textBox2
        '
        Me.textBox2.Location = New System.Drawing.Point(378, 87)
        Me.textBox2.Name = "textBox2"
        Me.textBox2.Size = New System.Drawing.Size(128, 20)
        Me.textBox2.TabIndex = 16
        '
        'checkBox2
        '
        Me.checkBox2.AutoSize = True
        Me.checkBox2.Location = New System.Drawing.Point(294, 64)
        Me.checkBox2.Name = "checkBox2"
        Me.checkBox2.Size = New System.Drawing.Size(92, 17)
        Me.checkBox2.TabIndex = 15
        Me.checkBox2.Text = "Band 1 visible"
        Me.checkBox2.UseVisualStyleBackColor = True
        '
        'button3
        '
        Me.button3.Location = New System.Drawing.Point(290, 35)
        Me.button3.Name = "button3"
        Me.button3.Size = New System.Drawing.Size(101, 23)
        Me.button3.TabIndex = 14
        Me.button3.Text = "Less buttons"
        Me.button3.UseVisualStyleBackColor = True
        '
        'button4
        '
        Me.button4.Location = New System.Drawing.Point(290, 6)
        Me.button4.Name = "button4"
        Me.button4.Size = New System.Drawing.Size(101, 23)
        Me.button4.TabIndex = 13
        Me.button4.Text = "More buttons"
        Me.button4.UseVisualStyleBackColor = True
        '
        'textBox3
        '
        Me.textBox3.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.textBox3.Location = New System.Drawing.Point(290, 313)
        Me.textBox3.Multiline = True
        Me.textBox3.Name = "textBox3"
        Me.textBox3.Size = New System.Drawing.Size(296, 116)
        Me.textBox3.TabIndex = 12
        '
        'openFileDialogSettings
        '
        Me.openFileDialogSettings.DefaultExt = "xml"
        Me.openFileDialogSettings.FileName = "settings.xml"
        Me.openFileDialogSettings.Filter = "XML Files|*.xml"
        Me.openFileDialogSettings.Title = "Select a settings file"
        '
        'saveFileDialogSettings
        '
        Me.saveFileDialogSettings.DefaultExt = "xml"
        Me.saveFileDialogSettings.FileName = "settings.xml"
        Me.saveFileDialogSettings.Filter = "XML Files|*.xml"
        Me.saveFileDialogSettings.Title = "Save settings file as:"
        '
        'FormMain
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(768, 502)
        Me.Controls.Add(Me.tabControl1)
        Me.Controls.Add(Me.label2)
        Me.Controls.Add(Me.textBox2)
        Me.Controls.Add(Me.checkBox2)
        Me.Controls.Add(Me.button3)
        Me.Controls.Add(Me.button4)
        Me.Controls.Add(Me.textBox3)
        Me.Name = "FormMain"
        Me.Text = "Form1"
        Me.tabControl1.ResumeLayout(False)
        Me.tabPage1.ResumeLayout(False)
        Me.tabPage1.PerformLayout()
        CType(Me.naviBar1, System.ComponentModel.ISupportInitialize).EndInit()
        Me.naviBar1.ResumeLayout(False)
        Me.naviBand3.ResumeLayout(False)
        Me.naviBand2.ClientArea.ResumeLayout(False)
        Me.naviBand2.ResumeLayout(False)
        CType(Me.naviGroup2, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.naviGroup1, System.ComponentModel.ISupportInitialize).EndInit()
        Me.naviBand1.ClientArea.ResumeLayout(False)
        Me.naviBand1.ResumeLayout(False)
        Me.naviBand4.ClientArea.ResumeLayout(False)
        Me.naviBand4.ResumeLayout(False)
        CType(Me.naviGroup4, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.naviGroup3, System.ComponentModel.ISupportInitialize).EndInit()
        Me.naviGroup3.ResumeLayout(False)
        Me.tabPage2.ResumeLayout(False)
        Me.splitContainer1.Panel1.ResumeLayout(False)
        Me.splitContainer1.Panel2.ResumeLayout(False)
        Me.splitContainer1.Panel2.PerformLayout()
        Me.splitContainer1.ResumeLayout(False)
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Private WithEvents tabControl1 As System.Windows.Forms.TabControl
    Private WithEvents tabPage1 As System.Windows.Forms.TabPage
    Private WithEvents buttonLoadSettings As System.Windows.Forms.Button
    Private WithEvents buttonSaveSettings As System.Windows.Forms.Button
    Private WithEvents ButtonAddBand As System.Windows.Forms.Button
    Private WithEvents checkBoxGroupExpanded As System.Windows.Forms.CheckBox
    Private WithEvents ButtonActivateBand As System.Windows.Forms.Button
    Private WithEvents label4 As System.Windows.Forms.Label
    Private WithEvents ComboBoxLayoutBar As System.Windows.Forms.ComboBox
    Private WithEvents checkBoxRightToLeft As System.Windows.Forms.CheckBox
    Private WithEvents checkBoxShowCollapseButton As System.Windows.Forms.CheckBox
    Private WithEvents checkBoxCollapsed As System.Windows.Forms.CheckBox
    Private WithEvents checkBoxMoreOptions As System.Windows.Forms.CheckBox
    Private WithEvents labelSmallButtonsHeight As System.Windows.Forms.Label
    Private WithEvents textBoxSmallButtonsHeight As System.Windows.Forms.TextBox
    Private WithEvents label3 As System.Windows.Forms.Label
    Private WithEvents textBoxVisibleButtons As System.Windows.Forms.TextBox
    Private WithEvents labelHeaderHeight As System.Windows.Forms.Label
    Private WithEvents textBoxHeaderHeight As System.Windows.Forms.TextBox
    Private WithEvents label1 As System.Windows.Forms.Label
    Private WithEvents textBoxButtonHeight As System.Windows.Forms.TextBox
    Private WithEvents checkBox1 As System.Windows.Forms.CheckBox
    Private WithEvents button2 As System.Windows.Forms.Button
    Private WithEvents button1 As System.Windows.Forms.Button
    Private WithEvents textBoxBarLog As System.Windows.Forms.TextBox
    Private WithEvents naviBar1 As Guifreaks.NavigationBar.NaviBar
    Private WithEvents naviBand3 As Guifreaks.NavigationBar.NaviBand
    Private WithEvents naviBand2 As Guifreaks.NavigationBar.NaviBand
    Private WithEvents naviGroup2 As Guifreaks.NavigationBar.NaviGroup
    Private WithEvents naviGroup1 As Guifreaks.NavigationBar.NaviGroup
    Private WithEvents naviBand1 As Guifreaks.NavigationBar.NaviBand
    Private WithEvents button5 As System.Windows.Forms.Button
    Private WithEvents naviBand4 As Guifreaks.NavigationBar.NaviBand
    Private WithEvents naviGroup4 As Guifreaks.NavigationBar.NaviGroup
    Private WithEvents naviGroup3 As Guifreaks.NavigationBar.NaviGroup
    Private WithEvents checkedListBox1 As System.Windows.Forms.CheckedListBox
    Private WithEvents tabPage2 As System.Windows.Forms.TabPage
    Private WithEvents splitContainer1 As System.Windows.Forms.SplitContainer
    Private WithEvents naviButton1 As Guifreaks.NavigationBar.NaviButton
    Private WithEvents checkBoxShowImage As System.Windows.Forms.CheckBox
    Private WithEvents textBox1 As System.Windows.Forms.TextBox
    Private WithEvents checkBoxMinimized As System.Windows.Forms.CheckBox
    Private WithEvents checkBoxActivated As System.Windows.Forms.CheckBox
    Private WithEvents label2 As System.Windows.Forms.Label
    Private WithEvents textBox2 As System.Windows.Forms.TextBox
    Private WithEvents checkBox2 As System.Windows.Forms.CheckBox
    Private WithEvents button3 As System.Windows.Forms.Button
    Private WithEvents button4 As System.Windows.Forms.Button
    Private WithEvents textBox3 As System.Windows.Forms.TextBox
    Private WithEvents openFileDialogSettings As System.Windows.Forms.OpenFileDialog
    Private WithEvents saveFileDialogSettings As System.Windows.Forms.SaveFileDialog

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 Creative Commons Attribution-ShareAlike 2.5 License

Share

About the Author

HawVie
Architect
Netherlands Netherlands
I design software for a ERP software vendor in the Netherlands.

For more information, the latest version installer etc goto guifreaks.net

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 15 Nov 2010
Article Copyright 2009 by HawVie
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid