ZooFlow: Set OperationModeOverride from FlowForm
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
Imports System.Drawing
|
||||
Imports System.Threading
|
||||
Imports System.Globalization
|
||||
Imports System.Drawing
|
||||
Imports System.Windows.Forms
|
||||
Imports DevExpress.XtraEditors
|
||||
Imports DigitalData.GUIs.Common
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports DigitalData.Modules.Windows
|
||||
Imports DigitalData.Modules.Language
|
||||
Imports DigitalData.Modules.ZooFlow
|
||||
Imports DigitalData.Modules.ZooFlow.Params
|
||||
Imports DigitalData.Modules
|
||||
Imports System.Threading
|
||||
Imports System.Globalization
|
||||
Imports DigitalData.Modules.ZooFlow.Constants
|
||||
|
||||
''' <summary>
|
||||
'''
|
||||
@@ -65,7 +64,7 @@ Public Class frmMatch
|
||||
End Sub
|
||||
|
||||
Private Function GetResultString(CreatedTiles, MatchedProfiles, ClipboardContents) As String
|
||||
Dim oLanguage = Language.Utils.NotNull(_Environment.User.Language, State.UserState.LANG_EN_US)
|
||||
Dim oLanguage = Utils.NotNull(_Environment.User.Language, State.UserState.LANG_EN_US)
|
||||
|
||||
Select Case _Language
|
||||
Case State.UserState.LANG_DE_DE
|
||||
@@ -340,12 +339,13 @@ Public Class frmMatch
|
||||
End Sub
|
||||
|
||||
Private Sub OpenDocumentResults(Profile As ProfileData, Searches As List(Of ProfileSearches.Search))
|
||||
Dim oNameSlug = Language.Utils.ConvertTextToSlug(Profile.Name)
|
||||
Dim oNameSlug = Utils.ConvertTextToSlug(Profile.Name)
|
||||
Dim oSearchGuids = Searches.Select(Function(s) s.Guid).ToArray
|
||||
Dim oWindowGuid = $"{Profile.Guid}-{oNameSlug}-{String.Join("-", oSearchGuids)}"
|
||||
Dim oParams = New DocumentResultParams() With {
|
||||
.WindowGuid = oWindowGuid,
|
||||
.WindowTitle = GetResultWindowString(_Params.ClipboardContents)
|
||||
.WindowTitle = GetResultWindowString(_Params.ClipboardContents),
|
||||
.OperationModeOverride = _Params.OperationModeOverride
|
||||
}
|
||||
|
||||
For Each oSearch In Searches
|
||||
@@ -362,7 +362,7 @@ Public Class frmMatch
|
||||
End Sub
|
||||
|
||||
Private Sub OpenDataResults(Profile As ProfileData, Searches As List(Of ProfileSearches.Search))
|
||||
Dim oNameSlug = Language.Utils.ConvertTextToSlug(Profile.Name)
|
||||
Dim oNameSlug = Utils.ConvertTextToSlug(Profile.Name)
|
||||
Dim oSearchGuids = Searches.Select(Function(s) s.Guid).ToArray
|
||||
Dim oWindowGuid = $"{Profile.Guid}-{oNameSlug}-{String.Join("-", oSearchGuids)}"
|
||||
Dim oParams = New DataResultParams() With {
|
||||
|
||||
Reference in New Issue
Block a user