Zooflow: Replace old Usermenu, waiting overlay for search and globix

This commit is contained in:
Jonathan Jenne
2022-02-21 16:41:11 +01:00
parent 77597f0ef2
commit 227bd7cf1b
25 changed files with 685 additions and 586 deletions

View File

@@ -15,6 +15,7 @@ Imports DigitalData.Modules.Language.Utils
Imports DigitalData.Modules.Logging
Imports DigitalData.Modules.Patterns
Imports DevExpress.XtraEditors
Imports DevExpress.XtraSplashScreen
Public Class frmGlobix_Index
#Region "+++++ Variablen ++++++"
@@ -39,6 +40,8 @@ Public Class frmGlobix_Index
Private Property Database As DatabaseWithFallback
Private Property Patterns2 As Patterns2
Private Property OverlayHandle As IOverlaySplashScreenHandle
'Public Class ControlMeta
' Public Property IndexName As String
' Public Property IndexType As String
@@ -67,14 +70,15 @@ Public Class frmGlobix_Index
' Abbruchzähler zurücksetzen
CancelAttempts = 0
' Show Loading Overlay
OverlayHandle = SplashScreenManager.ShowOverlayForm(Me)
My.Application.Globix.INDEXING_ACTIVE = True
End Sub
Private Async Sub frmGlobix_Index_Shown(sender As Object, e As EventArgs) Handles Me.Shown
Cursor = Cursors.Default
SplashScreenManager.ShowWaitForm()
checkItemTopMost.Checked = My.UIConfig.Globix.TopMost
TopMost = My.UIConfig.Globix.TopMost
BringToFront()
@@ -176,7 +180,7 @@ Public Class frmGlobix_Index
Catch ex As Exception
Logger.Warn("Unexpected error DTTBGI_REGEX_DOCTYPE - ErrorMessage: " & vbNewLine & ex.Message)
Finally
SplashScreenManager.CloseWaitForm()
SplashScreenManager.CloseOverlayForm(OverlayHandle)
FormLoaded = True
End Try
End Sub