diff --git a/GUIs.ZooFlow/My Project/Resources.Designer.vb b/GUIs.ZooFlow/My Project/Resources.Designer.vb index 3649f8b8..2973c99b 100644 --- a/GUIs.ZooFlow/My Project/Resources.Designer.vb +++ b/GUIs.ZooFlow/My Project/Resources.Designer.vb @@ -60,6 +60,36 @@ Namespace My.Resources End Set End Property + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property _0_ZOO_FLOW_Hintergrund() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("0_ZOO_FLOW_Hintergrund", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property _1_ZOO_FLOW_Person() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("1_ZOO_FLOW_Person", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property _1_ZOO_FLOW_Search() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("1_ZOO_FLOW_Search", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. ''' diff --git a/GUIs.ZooFlow/My Project/Resources.resx b/GUIs.ZooFlow/My Project/Resources.resx index 75aeebdb..c3000fef 100644 --- a/GUIs.ZooFlow/My Project/Resources.resx +++ b/GUIs.ZooFlow/My Project/Resources.resx @@ -118,17 +118,26 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\GLOBIX_GEFUNDEN_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ZOOFLOW_Home_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CW_GEFUNDEN_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\ZOOFLOW_Home_klein_Eckig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\GLOBIX_GEFUNDEN_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\1_ZOO_FLOW_Person.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\ZOOFLOW_Home_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Find_5650.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\1_ZOO_FLOW_Search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\CW_klein.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -139,7 +148,7 @@ ..\Resources\ZOOFLOW_Home_klein_Cropped.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Find_5650.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\0_ZOO_FLOW_Hintergrund.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/GUIs.ZooFlow/Resources/0_ZOO_FLOW_Hintergrund.png b/GUIs.ZooFlow/Resources/0_ZOO_FLOW_Hintergrund.png new file mode 100644 index 00000000..ee589ec6 Binary files /dev/null and b/GUIs.ZooFlow/Resources/0_ZOO_FLOW_Hintergrund.png differ diff --git a/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Person.png b/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Person.png new file mode 100644 index 00000000..25e5b89e Binary files /dev/null and b/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Person.png differ diff --git a/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Search.png b/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Search.png new file mode 100644 index 00000000..1e0d6ef7 Binary files /dev/null and b/GUIs.ZooFlow/Resources/1_ZOO_FLOW_Search.png differ diff --git a/GUIs.ZooFlow/ZooFlow.vbproj b/GUIs.ZooFlow/ZooFlow.vbproj index 378790d4..eb4d48c1 100644 --- a/GUIs.ZooFlow/ZooFlow.vbproj +++ b/GUIs.ZooFlow/ZooFlow.vbproj @@ -245,6 +245,9 @@ + + + diff --git a/GUIs.ZooFlow/frmFlowForm.vb b/GUIs.ZooFlow/frmFlowForm.vb index 5e912bcb..82d4a78f 100644 --- a/GUIs.ZooFlow/frmFlowForm.vb +++ b/GUIs.ZooFlow/frmFlowForm.vb @@ -128,7 +128,7 @@ Public Class frmFlowForm Case OnFlowFormStateChangedEvent.FlowFormState.HasFileDropped SetBitmap(My.Resources.GLOBIX_GEFUNDEN_klein) Case Else - SetBitmap(My.Resources.ZOOFLOW_Home_klein_Eckig) + SetBitmap(My.Resources.ZOOFLOW_Home_klein) End Select End Sub diff --git a/GUIs.ZooFlow/frmFlowForm_Test1.Designer.vb b/GUIs.ZooFlow/frmFlowForm_Test1.Designer.vb index 7240d71a..90d92b38 100644 --- a/GUIs.ZooFlow/frmFlowForm_Test1.Designer.vb +++ b/GUIs.ZooFlow/frmFlowForm_Test1.Designer.vb @@ -23,34 +23,77 @@ Partial Class frmFlowForm_Test1 Private Sub InitializeComponent() Me.SimpleButton1 = New DevExpress.XtraEditors.SimpleButton() + Me.SimpleButton2 = New DevExpress.XtraEditors.SimpleButton() Me.SuspendLayout() ' 'SimpleButton1 ' - Me.SimpleButton1.Appearance.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer)) + Me.SimpleButton1.Appearance.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton1.Appearance.BorderColor = System.Drawing.Color.Transparent Me.SimpleButton1.Appearance.Options.UseBackColor = True - Me.SimpleButton1.Location = New System.Drawing.Point(171, 12) + Me.SimpleButton1.Appearance.Options.UseBorderColor = True + Me.SimpleButton1.AppearanceDisabled.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton1.AppearanceDisabled.Options.UseBackColor = True + Me.SimpleButton1.AppearanceHovered.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton1.AppearanceHovered.BorderColor = System.Drawing.Color.Transparent + Me.SimpleButton1.AppearanceHovered.Options.UseBackColor = True + Me.SimpleButton1.AppearanceHovered.Options.UseBorderColor = True + Me.SimpleButton1.AppearancePressed.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton1.AppearancePressed.BorderColor = System.Drawing.Color.Transparent + Me.SimpleButton1.AppearancePressed.Options.UseBackColor = True + Me.SimpleButton1.AppearancePressed.Options.UseBorderColor = True + Me.SimpleButton1.ImageOptions.Image = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources._1_ZOO_FLOW_Search + Me.SimpleButton1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter + Me.SimpleButton1.Location = New System.Drawing.Point(69, 12) + Me.SimpleButton1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.UltraFlat + Me.SimpleButton1.LookAndFeel.UseDefaultLookAndFeel = False Me.SimpleButton1.Name = "SimpleButton1" - Me.SimpleButton1.Size = New System.Drawing.Size(75, 41) + Me.SimpleButton1.PaintStyle = DevExpress.XtraEditors.Controls.PaintStyles.Light + Me.SimpleButton1.ShowFocusRectangle = DevExpress.Utils.DefaultBoolean.[False] + Me.SimpleButton1.ShowToolTips = False + Me.SimpleButton1.Size = New System.Drawing.Size(65, 61) Me.SimpleButton1.TabIndex = 0 - Me.SimpleButton1.Text = "SimpleButton1" + ' + 'SimpleButton2 + ' + Me.SimpleButton2.Appearance.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton2.Appearance.Options.UseBackColor = True + Me.SimpleButton2.AppearanceDisabled.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton2.AppearanceDisabled.Options.UseBackColor = True + Me.SimpleButton2.AppearanceHovered.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton2.AppearanceHovered.Options.UseBackColor = True + Me.SimpleButton2.AppearancePressed.BackColor = System.Drawing.Color.Transparent + Me.SimpleButton2.AppearancePressed.Options.UseBackColor = True + Me.SimpleButton2.ImageOptions.Image = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources._1_ZOO_FLOW_Person + Me.SimpleButton2.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter + Me.SimpleButton2.Location = New System.Drawing.Point(69, 119) + Me.SimpleButton2.Name = "SimpleButton2" + Me.SimpleButton2.PaintStyle = DevExpress.XtraEditors.Controls.PaintStyles.Light + Me.SimpleButton2.ShowFocusRectangle = DevExpress.Utils.DefaultBoolean.[False] + Me.SimpleButton2.ShowToolTips = False + Me.SimpleButton2.Size = New System.Drawing.Size(65, 69) + Me.SimpleButton2.TabIndex = 0 ' 'frmFlowForm_Test1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.BackgroundImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.ZOOFLOW_Home_klein - Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None - Me.ClientSize = New System.Drawing.Size(250, 250) + Me.BackColor = System.Drawing.SystemColors.Control + Me.BackgroundImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources._0_ZOO_FLOW_Hintergrund + Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch + Me.ClientSize = New System.Drawing.Size(200, 200) + Me.Controls.Add(Me.SimpleButton2) Me.Controls.Add(Me.SimpleButton1) + Me.DoubleBuffered = True Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Me.Name = "frmFlowForm_Test1" Me.Text = "frmFlowForm_Test1" Me.TopMost = True - Me.TransparencyKey = System.Drawing.SystemColors.Control + Me.TransparencyKey = System.Drawing.Color.Fuchsia Me.ResumeLayout(False) End Sub Friend WithEvents SimpleButton1 As DevExpress.XtraEditors.SimpleButton + Friend WithEvents SimpleButton2 As DevExpress.XtraEditors.SimpleButton End Class diff --git a/GUIs.ZooFlow/frmFlowForm_Test1.vb b/GUIs.ZooFlow/frmFlowForm_Test1.vb index 9a313154..d63a552c 100644 --- a/GUIs.ZooFlow/frmFlowForm_Test1.vb +++ b/GUIs.ZooFlow/frmFlowForm_Test1.vb @@ -19,11 +19,23 @@ Public Class frmFlowForm_Test1 TopMost = True AllowDrop = True ShowInTaskbar = False - Opacity = OPACITY_HIDDEN + Opacity = OPACITY_SHOWN SetFormLocation() AddHandler KeyDown, AddressOf frmFlowForm_KeyDown AddHandler KeyUp, AddressOf frmFlowForm_KeyDown + + For Each oControl As Control In Controls + AddHandler oControl.MouseHover, AddressOf frmFlowForm_MouseHover + AddHandler oControl.MouseLeave, AddressOf frmFlowForm_MouseLeave + Next + End Sub + + Protected Overrides Sub OnPaint(e As PaintEventArgs) + 'MyBase.OnPaint(e) + Dim oShape As New Drawing2D.GraphicsPath() + oShape.AddEllipse(0, 0, Width, Height) + Region = New Region(oShape) End Sub Public Sub SetFormLocation() @@ -31,11 +43,11 @@ Public Class frmFlowForm_Test1 End Sub Private Sub frmFlowForm_MouseLeave(sender As Object, e As EventArgs) Handles Me.MouseLeave - Opacity = OPACITY_HIDDEN + 'Opacity = OPACITY_HIDDEN End Sub Private Sub frmFlowForm_MouseHover(sender As Object, e As EventArgs) Handles Me.MouseHover - Opacity = OPACITY_SHOWN + ' Opacity = OPACITY_SHOWN End Sub Private Sub frmFlowForm_MouseMove(ByVal sender As Object, ByVal e As MouseEventArgs) Handles Me.MouseMove