diff --git a/GUIs.ZooFlow/frmFlowForm.Designer.vb b/GUIs.ZooFlow/frmFlowForm.Designer.vb index ef9bcd76..449b0b42 100644 --- a/GUIs.ZooFlow/frmFlowForm.Designer.vb +++ b/GUIs.ZooFlow/frmFlowForm.Designer.vb @@ -133,6 +133,9 @@ Partial Class frmFlowForm Me.ZooFlowBeendenToolStripMenuItem.Size = New System.Drawing.Size(169, 22) Me.ZooFlowBeendenToolStripMenuItem.Text = "ZooFlow beenden" ' + 'TimerRefreshData + ' + ' 'PictureBoxPM ' Me.PictureBoxPM.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) @@ -400,7 +403,7 @@ Partial Class frmFlowForm Me.TaskBadge.Appearance.BackColor = System.Drawing.Color.FromArgb(CType(CType(165, Byte), Integer), CType(CType(36, Byte), Integer), CType(CType(49, Byte), Integer)) Me.TaskBadge.Appearance.Options.UseBackColor = True Me.TaskBadge.Properties.Location = System.Drawing.ContentAlignment.TopRight - Me.TaskBadge.Properties.Offset = New System.Drawing.Point(0, 0) + Me.TaskBadge.Properties.Offset = New System.Drawing.Point(-5, -5) Me.TaskBadge.Properties.PaintStyle = DevExpress.Utils.VisualEffects.BadgePaintStyle.[Default] Me.TaskBadge.Properties.Text = "0" Me.TaskBadge.TargetElement = Me.PictureBoxPM diff --git a/GUIs.ZooFlow/frmFlowForm.resx b/GUIs.ZooFlow/frmFlowForm.resx index b0efd3ba..5b1cfc0c 100644 --- a/GUIs.ZooFlow/frmFlowForm.resx +++ b/GUIs.ZooFlow/frmFlowForm.resx @@ -2039,6 +2039,6 @@ - 17, 56 + 1115, 17 \ No newline at end of file diff --git a/GUIs.ZooFlow/frmFlowForm.vb b/GUIs.ZooFlow/frmFlowForm.vb index db9e92cf..06b58481 100644 --- a/GUIs.ZooFlow/frmFlowForm.vb +++ b/GUIs.ZooFlow/frmFlowForm.vb @@ -1292,5 +1292,9 @@ Public Class frmFlowForm Private Sub PictureBoxPM_MouseLeave(sender As Object, e As EventArgs) Handles PictureBoxPM.MouseLeave PictureBoxPM.SvgImage = My.Resources.FLOW_Sidebar_Task_inaktiv End Sub + + Private Sub TimerRefreshData_Tick_1(sender As Object, e As EventArgs) Handles TimerRefreshData.Tick + TaskBadge.Properties.Text = Date.Now.Millisecond.ToString.Last + End Sub End Class