Partial Class Ribbon1
    Inherits Microsoft.Office.Tools.Ribbon.RibbonBase

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New(Globals.Factory.GetRibbonFactory())

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

    End Sub

    'Component 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 Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Ribbon1))
        Me.Tab1 = Me.Factory.CreateRibbonTab
        Me.Group1 = Me.Factory.CreateRibbonGroup
        Me.Box2 = Me.Factory.CreateRibbonBox
        Me.Button1 = Me.Factory.CreateRibbonButton
        Me.Box1 = Me.Factory.CreateRibbonBox
        Me.Button2 = Me.Factory.CreateRibbonButton
        Me.Group2 = Me.Factory.CreateRibbonGroup
        Me.Box3 = Me.Factory.CreateRibbonBox
        Me.TodayShamsiLbl = Me.Factory.CreateRibbonLabel
        Me.Label1 = Me.Factory.CreateRibbonLabel
        Me.Box4 = Me.Factory.CreateRibbonBox
        Me.TodayLbl = Me.Factory.CreateRibbonLabel
        Me.Label2 = Me.Factory.CreateRibbonLabel
        Me.Tab1.SuspendLayout()
        Me.Group1.SuspendLayout()
        Me.Box2.SuspendLayout()
        Me.Box1.SuspendLayout()
        Me.Group2.SuspendLayout()
        Me.Box3.SuspendLayout()
        Me.Box4.SuspendLayout()
        Me.SuspendLayout()
        '
        'Tab1
        '
        Me.Tab1.Groups.Add(Me.Group1)
        Me.Tab1.Groups.Add(Me.Group2)
        Me.Tab1.Label = "سابقه کار"
        Me.Tab1.Name = "Tab1"
        Me.Tab1.Position = Me.Factory.RibbonPosition.BeforeOfficeId("TabHome")
        '
        'Group1
        '
        Me.Group1.Items.Add(Me.Box2)
        Me.Group1.Items.Add(Me.Box1)
        Me.Group1.Label = "محاسبات"
        Me.Group1.Name = "Group1"
        '
        'Box2
        '
        Me.Box2.Items.Add(Me.Button1)
        Me.Box2.Name = "Box2"
        '
        'Button1
        '
        Me.Button1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge
        Me.Button1.Image = CType(resources.GetObject("Button1.Image"), System.Drawing.Image)
        Me.Button1.Label = "محاسبه"
        Me.Button1.Name = "Button1"
        Me.Button1.ShowImage = True
        '
        'Box1
        '
        Me.Box1.Items.Add(Me.Button2)
        Me.Box1.Name = "Box1"
        '
        'Button2
        '
        Me.Button2.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge
        Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Image)
        Me.Button2.Label = "پاک کردن صفحه"
        Me.Button2.Name = "Button2"
        Me.Button2.ShowImage = True
        '
        'Group2
        '
        Me.Group2.Items.Add(Me.Box3)
        Me.Group2.Items.Add(Me.Box4)
        Me.Group2.Label = "تاریخ امروز"
        Me.Group2.Name = "Group2"
        '
        'Box3
        '
        Me.Box3.Items.Add(Me.TodayShamsiLbl)
        Me.Box3.Items.Add(Me.Label1)
        Me.Box3.Name = "Box3"
        '
        'TodayShamsiLbl
        '
        Me.TodayShamsiLbl.Label = "امروز"
        Me.TodayShamsiLbl.Name = "TodayShamsiLbl"
        '
        'Label1
        '
        Me.Label1.Label = "شمسی:"
        Me.Label1.Name = "Label1"
        '
        'Box4
        '
        Me.Box4.Items.Add(Me.TodayLbl)
        Me.Box4.Items.Add(Me.Label2)
        Me.Box4.Name = "Box4"
        '
        'TodayLbl
        '
        Me.TodayLbl.Label = "امروز"
        Me.TodayLbl.Name = "TodayLbl"
        '
        'Label2
        '
        Me.Label2.Label = "میلادی"
        Me.Label2.Name = "Label2"
        '
        'Ribbon1
        '
        Me.Name = "Ribbon1"
        Me.RibbonType = "Microsoft.Excel.Workbook"
        Me.Tabs.Add(Me.Tab1)
        Me.Tab1.ResumeLayout(False)
        Me.Tab1.PerformLayout()
        Me.Group1.ResumeLayout(False)
        Me.Group1.PerformLayout()
        Me.Box2.ResumeLayout(False)
        Me.Box2.PerformLayout()
        Me.Box1.ResumeLayout(False)
        Me.Box1.PerformLayout()
        Me.Group2.ResumeLayout(False)
        Me.Group2.PerformLayout()
        Me.Box3.ResumeLayout(False)
        Me.Box3.PerformLayout()
        Me.Box4.ResumeLayout(False)
        Me.Box4.PerformLayout()
        Me.ResumeLayout(False)

    End Sub

    Friend WithEvents Tab1 As Microsoft.Office.Tools.Ribbon.RibbonTab
    Friend WithEvents Group1 As Microsoft.Office.Tools.Ribbon.RibbonGroup
    Friend WithEvents Box2 As Microsoft.Office.Tools.Ribbon.RibbonBox
    Friend WithEvents Button1 As Microsoft.Office.Tools.Ribbon.RibbonButton
    Friend WithEvents Box1 As Microsoft.Office.Tools.Ribbon.RibbonBox
    Friend WithEvents Button2 As Microsoft.Office.Tools.Ribbon.RibbonButton
    Friend WithEvents Group2 As Microsoft.Office.Tools.Ribbon.RibbonGroup
    Friend WithEvents TodayLbl As Microsoft.Office.Tools.Ribbon.RibbonLabel
    Friend WithEvents TodayShamsiLbl As Microsoft.Office.Tools.Ribbon.RibbonLabel
    Friend WithEvents Box3 As Microsoft.Office.Tools.Ribbon.RibbonBox
    Friend WithEvents Label1 As Microsoft.Office.Tools.Ribbon.RibbonLabel
    Friend WithEvents Box4 As Microsoft.Office.Tools.Ribbon.RibbonBox
    Friend WithEvents Label2 As Microsoft.Office.Tools.Ribbon.RibbonLabel
End Class

Partial Class ThisRibbonCollection

    <System.Diagnostics.DebuggerNonUserCode()> _
    Friend ReadOnly Property Ribbon1() As Ribbon1
        Get
            Return Me.GetRibbon(Of Ribbon1)()
        End Get
    End Property
End Class