219 lines
10 KiB
VB.net
219 lines
10 KiB
VB.net
Partial Public Class frmMain
|
|
Inherits DevExpress.XtraBars.Ribbon.RibbonForm
|
|
|
|
''' <summary>
|
|
''' Required designer variable.
|
|
''' </summary>
|
|
Private components As System.ComponentModel.IContainer = Nothing
|
|
|
|
''' <summary>
|
|
''' Clean up any resources being used.
|
|
''' </summary>
|
|
''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
|
If disposing AndAlso (components IsNot Nothing) Then
|
|
components.Dispose()
|
|
End If
|
|
MyBase.Dispose(disposing)
|
|
End Sub
|
|
|
|
#Region "Windows Form Designer generated code"
|
|
|
|
''' <summary>
|
|
''' Required method for Designer support - do not modify
|
|
''' the contents of this method with the code editor.
|
|
''' </summary>
|
|
Private Sub InitializeComponent()
|
|
Me.components = New System.ComponentModel.Container()
|
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain))
|
|
Me.ListBoxControl1 = New DevExpress.XtraEditors.ListBoxControl()
|
|
Me.RibbonControl1 = New DevExpress.XtraBars.Ribbon.RibbonControl()
|
|
Me.btnSyncStart = New DevExpress.XtraBars.BarButtonItem()
|
|
Me.btnStopSync = New DevExpress.XtraBars.BarButtonItem()
|
|
Me.BarButtonItem1 = New DevExpress.XtraBars.BarButtonItem()
|
|
Me.btnForceSync = New DevExpress.XtraBars.BarButtonItem()
|
|
Me.RibbonPage1 = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
|
Me.RibbonPageGroup1 = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
|
Me.RibbonPageGroup2 = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
|
Me.SyncTimer = New System.Windows.Forms.Timer(Me.components)
|
|
Me.TrayIcon = New System.Windows.Forms.NotifyIcon(Me.components)
|
|
Me.TrayMenu = New System.Windows.Forms.ContextMenuStrip(Me.components)
|
|
Me.btnToggleWindow = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.btnExit = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.RibbonStatusBar1 = New DevExpress.XtraBars.Ribbon.RibbonStatusBar()
|
|
Me.txtFilesProcessed = New DevExpress.XtraBars.BarStaticItem()
|
|
Me.txtErrorsOccurred = New DevExpress.XtraBars.BarStaticItem()
|
|
CType(Me.ListBoxControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
|
CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
|
Me.TrayMenu.SuspendLayout()
|
|
Me.SuspendLayout()
|
|
'
|
|
'ListBoxControl1
|
|
'
|
|
Me.ListBoxControl1.Dock = System.Windows.Forms.DockStyle.Fill
|
|
Me.ListBoxControl1.Location = New System.Drawing.Point(0, 63)
|
|
Me.ListBoxControl1.Name = "ListBoxControl1"
|
|
Me.ListBoxControl1.Size = New System.Drawing.Size(632, 215)
|
|
Me.ListBoxControl1.TabIndex = 0
|
|
'
|
|
'RibbonControl1
|
|
'
|
|
Me.RibbonControl1.CommandLayout = DevExpress.XtraBars.Ribbon.CommandLayout.Simplified
|
|
Me.RibbonControl1.ExpandCollapseItem.Id = 0
|
|
Me.RibbonControl1.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl1.ExpandCollapseItem, Me.RibbonControl1.SearchEditItem, Me.btnSyncStart, Me.btnStopSync, Me.BarButtonItem1, Me.btnForceSync, Me.txtFilesProcessed, Me.txtErrorsOccurred})
|
|
Me.RibbonControl1.Location = New System.Drawing.Point(0, 0)
|
|
Me.RibbonControl1.MaxItemId = 7
|
|
Me.RibbonControl1.Name = "RibbonControl1"
|
|
Me.RibbonControl1.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPage1})
|
|
Me.RibbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.[False]
|
|
Me.RibbonControl1.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.[False]
|
|
Me.RibbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.[False]
|
|
Me.RibbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide
|
|
Me.RibbonControl1.ShowToolbarCustomizeItem = False
|
|
Me.RibbonControl1.Size = New System.Drawing.Size(632, 63)
|
|
Me.RibbonControl1.StatusBar = Me.RibbonStatusBar1
|
|
Me.RibbonControl1.Toolbar.ShowCustomizeItem = False
|
|
'
|
|
'btnSyncStart
|
|
'
|
|
Me.btnSyncStart.Caption = "Sync starten"
|
|
Me.btnSyncStart.Id = 1
|
|
Me.btnSyncStart.ImageOptions.SvgImage = CType(resources.GetObject("btnSyncStart.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
|
Me.btnSyncStart.Name = "btnSyncStart"
|
|
'
|
|
'btnStopSync
|
|
'
|
|
Me.btnStopSync.Caption = "Sync stoppen"
|
|
Me.btnStopSync.Enabled = False
|
|
Me.btnStopSync.Id = 2
|
|
Me.btnStopSync.ImageOptions.SvgImage = CType(resources.GetObject("btnStopSync.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
|
Me.btnStopSync.Name = "btnStopSync"
|
|
'
|
|
'BarButtonItem1
|
|
'
|
|
Me.BarButtonItem1.Caption = "Log öffnen"
|
|
Me.BarButtonItem1.Id = 3
|
|
Me.BarButtonItem1.ImageOptions.SvgImage = CType(resources.GetObject("BarButtonItem1.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
|
Me.BarButtonItem1.Name = "BarButtonItem1"
|
|
'
|
|
'btnForceSync
|
|
'
|
|
Me.btnForceSync.Caption = "Sync Auslösen"
|
|
Me.btnForceSync.Enabled = False
|
|
Me.btnForceSync.Id = 4
|
|
Me.btnForceSync.ImageOptions.SvgImage = CType(resources.GetObject("btnForceSync.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
|
Me.btnForceSync.Name = "btnForceSync"
|
|
'
|
|
'RibbonPage1
|
|
'
|
|
Me.RibbonPage1.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonPageGroup1, Me.RibbonPageGroup2})
|
|
Me.RibbonPage1.Name = "RibbonPage1"
|
|
Me.RibbonPage1.Text = "RibbonPage1"
|
|
'
|
|
'RibbonPageGroup1
|
|
'
|
|
Me.RibbonPageGroup1.ItemLinks.Add(Me.btnSyncStart)
|
|
Me.RibbonPageGroup1.ItemLinks.Add(Me.btnStopSync)
|
|
Me.RibbonPageGroup1.ItemLinks.Add(Me.btnForceSync)
|
|
Me.RibbonPageGroup1.Name = "RibbonPageGroup1"
|
|
Me.RibbonPageGroup1.Text = "RibbonPageGroup1"
|
|
'
|
|
'RibbonPageGroup2
|
|
'
|
|
Me.RibbonPageGroup2.Alignment = DevExpress.XtraBars.Ribbon.RibbonPageGroupAlignment.Far
|
|
Me.RibbonPageGroup2.ItemLinks.Add(Me.BarButtonItem1)
|
|
Me.RibbonPageGroup2.Name = "RibbonPageGroup2"
|
|
Me.RibbonPageGroup2.Text = "RibbonPageGroup2"
|
|
'
|
|
'SyncTimer
|
|
'
|
|
'
|
|
'TrayIcon
|
|
'
|
|
Me.TrayIcon.ContextMenuStrip = Me.TrayMenu
|
|
Me.TrayIcon.Icon = CType(resources.GetObject("TrayIcon.Icon"), System.Drawing.Icon)
|
|
Me.TrayIcon.Text = "Connector"
|
|
Me.TrayIcon.Visible = True
|
|
'
|
|
'TrayMenu
|
|
'
|
|
Me.TrayMenu.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.btnToggleWindow, Me.btnExit})
|
|
Me.TrayMenu.Name = "TrayMenu"
|
|
Me.TrayMenu.Size = New System.Drawing.Size(185, 48)
|
|
'
|
|
'btnToggleWindow
|
|
'
|
|
Me.btnToggleWindow.Name = "btnToggleWindow"
|
|
Me.btnToggleWindow.Size = New System.Drawing.Size(184, 22)
|
|
Me.btnToggleWindow.Text = "Anzeigen/Verstecken"
|
|
'
|
|
'btnExit
|
|
'
|
|
Me.btnExit.Name = "btnExit"
|
|
Me.btnExit.Size = New System.Drawing.Size(184, 22)
|
|
Me.btnExit.Text = "Beenden"
|
|
'
|
|
'RibbonStatusBar1
|
|
'
|
|
Me.RibbonStatusBar1.ItemLinks.Add(Me.txtFilesProcessed)
|
|
Me.RibbonStatusBar1.ItemLinks.Add(Me.txtErrorsOccurred)
|
|
Me.RibbonStatusBar1.Location = New System.Drawing.Point(0, 254)
|
|
Me.RibbonStatusBar1.Name = "RibbonStatusBar1"
|
|
Me.RibbonStatusBar1.Ribbon = Me.RibbonControl1
|
|
Me.RibbonStatusBar1.Size = New System.Drawing.Size(632, 24)
|
|
'
|
|
'txtFilesProcessed
|
|
'
|
|
Me.txtFilesProcessed.Caption = "Keine Dateien"
|
|
Me.txtFilesProcessed.Id = 5
|
|
Me.txtFilesProcessed.Name = "txtFilesProcessed"
|
|
'
|
|
'txtErrorsOccurred
|
|
'
|
|
Me.txtErrorsOccurred.Caption = "Keine Dateien"
|
|
Me.txtErrorsOccurred.Id = 6
|
|
Me.txtErrorsOccurred.Name = "txtErrorsOccurred"
|
|
'
|
|
'frmMain
|
|
'
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|
Me.ClientSize = New System.Drawing.Size(632, 278)
|
|
Me.Controls.Add(Me.RibbonStatusBar1)
|
|
Me.Controls.Add(Me.ListBoxControl1)
|
|
Me.Controls.Add(Me.RibbonControl1)
|
|
Me.IconOptions.SvgImage = CType(resources.GetObject("frmMain.IconOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
|
Me.Name = "frmMain"
|
|
Me.Ribbon = Me.RibbonControl1
|
|
Me.StatusBar = Me.RibbonStatusBar1
|
|
Me.Text = "Sync"
|
|
CType(Me.ListBoxControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
|
CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
|
Me.TrayMenu.ResumeLayout(False)
|
|
Me.ResumeLayout(False)
|
|
Me.PerformLayout()
|
|
|
|
End Sub
|
|
|
|
Friend WithEvents ListBoxControl1 As DevExpress.XtraEditors.ListBoxControl
|
|
Friend WithEvents RibbonControl1 As DevExpress.XtraBars.Ribbon.RibbonControl
|
|
Friend WithEvents RibbonPage1 As DevExpress.XtraBars.Ribbon.RibbonPage
|
|
Friend WithEvents btnSyncStart As DevExpress.XtraBars.BarButtonItem
|
|
Friend WithEvents btnStopSync As DevExpress.XtraBars.BarButtonItem
|
|
Friend WithEvents RibbonPageGroup1 As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
|
Friend WithEvents BarButtonItem1 As DevExpress.XtraBars.BarButtonItem
|
|
Friend WithEvents RibbonPageGroup2 As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
|
Friend WithEvents SyncTimer As Timer
|
|
Friend WithEvents TrayIcon As NotifyIcon
|
|
Friend WithEvents TrayMenu As ContextMenuStrip
|
|
Friend WithEvents btnToggleWindow As ToolStripMenuItem
|
|
Friend WithEvents btnExit As ToolStripMenuItem
|
|
Friend WithEvents btnForceSync As DevExpress.XtraBars.BarButtonItem
|
|
Friend WithEvents txtFilesProcessed As DevExpress.XtraBars.BarStaticItem
|
|
Friend WithEvents txtErrorsOccurred As DevExpress.XtraBars.BarStaticItem
|
|
Friend WithEvents RibbonStatusBar1 As DevExpress.XtraBars.Ribbon.RibbonStatusBar
|
|
|
|
#End Region
|
|
|
|
End Class
|