EDMI: Checkin/out
This commit is contained in:
parent
abff7fa745
commit
809b4dafc3
@ -374,5 +374,8 @@
|
||||
<ItemGroup>
|
||||
<None Include="Resources\insertpagecount.svg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\business_world.svg" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
</Project>
|
||||
@ -22,13 +22,32 @@ Namespace DocumentResultList
|
||||
End Sub
|
||||
|
||||
#Region "Saving and Restoring layout"
|
||||
Public Sub Workspace_Save(pWorkspaceManager As WorkspaceManager)
|
||||
Try
|
||||
Dim oFileName = GetWorkspace_LayoutName()
|
||||
pWorkspaceManager.SaveWorkspaces(oFileName)
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Info("Error while restoring Workspaces: " & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
Public Sub Workspace_Restore(pWorkspaceManager As WorkspaceManager)
|
||||
Try
|
||||
Dim oFileName = GetWorkspace_LayoutName()
|
||||
If IO.File.Exists(oFileName) Then
|
||||
pWorkspaceManager.LoadWorkspaces(oFileName)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Info("Error while restoring Workspaces: " & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub DockManager_SaveLayout(pDockManager As DockManager)
|
||||
Try
|
||||
Dim oXml As String = GetDockmanager_LayoutName()
|
||||
pDockManager.SaveLayoutToXml(oXml)
|
||||
Dim oFileName As String = GetDockmanager_LayoutName()
|
||||
pDockManager.SaveLayoutToXml(oFileName)
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Info("Error while saving GridLayout: " & ex.Message)
|
||||
@ -37,8 +56,10 @@ Namespace DocumentResultList
|
||||
|
||||
Public Sub DockManager_RestoreLayout(pDockManager As DockManager)
|
||||
Try
|
||||
Dim oXml As String = GetDockmanager_LayoutName()
|
||||
pDockManager.RestoreLayoutFromXml(oXml)
|
||||
Dim oFilename As String = GetDockmanager_LayoutName()
|
||||
If IO.File.Exists(oFilename) Then
|
||||
pDockManager.RestoreLayoutFromXml(oFilename)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Info("Error while restoring GridLayout: " & ex.Message)
|
||||
@ -59,8 +80,8 @@ Namespace DocumentResultList
|
||||
|
||||
Public Sub GridView_SaveLayout(pGridView As GridView)
|
||||
Try
|
||||
Dim oXml As String = GetGrid_LayoutName(pGridView)
|
||||
pGridView.SaveLayoutToXml(oXml, OptionsLayoutBase.FullLayout)
|
||||
Dim oFileName As String = GetGrid_LayoutName(pGridView)
|
||||
pGridView.SaveLayoutToXml(oFileName, OptionsLayoutBase.FullLayout)
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Info("Error while saving GridLayout: " & ex.Message)
|
||||
@ -79,6 +100,12 @@ Namespace DocumentResultList
|
||||
Return IO.Path.Combine(oDirectory, Filename)
|
||||
End Function
|
||||
|
||||
Public Function GetWorkspace_LayoutName() As String
|
||||
Dim Filename As String = $"Workspace_UserLayout.xml"
|
||||
Dim oDirectory As String = IO.Path.GetDirectoryName(Config.UserConfigPath)
|
||||
Return IO.Path.Combine(oDirectory, Filename)
|
||||
End Function
|
||||
|
||||
Public Sub LoadWindowLocationAndSize(ByRef pForm As Form)
|
||||
If Utils.IsVisibleOnAnyScreen(Config.Config.WindowLocation) Then
|
||||
If Utils.LocationIsVisible(Config.Config.WindowLocation) Then
|
||||
|
||||
10
GUIs.Common/My Project/Resources.Designer.vb
generated
10
GUIs.Common/My Project/Resources.Designer.vb
generated
@ -130,6 +130,16 @@ Namespace My.Resources
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property business_world() As DevExpress.Utils.Svg.SvgImage
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("business_world", resourceCulture)
|
||||
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||
'''</summary>
|
||||
|
||||
@ -145,6 +145,9 @@
|
||||
<data name="ZooFlow-Vergroessern" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ZooFlow-Vergroessern.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\save.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="Open_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Open_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -157,8 +160,8 @@
|
||||
<data name="jpg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\jpg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="xls" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\xls.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="editcolors" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\editcolors.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="ppt" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ppt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
@ -166,14 +169,11 @@
|
||||
<data name="copy" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\copy.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="zoom_more" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\zoom_more.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="refreshallpivottable" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\refreshallpivottable.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="columnheaders" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\columnheaders.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
<data name="insertpagecount" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\insertpagecount.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="enablescrolling" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\enablescrolling.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
@ -181,9 +181,6 @@
|
||||
<data name="title" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\title.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="clearpivottable" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clearpivottable.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="singlepageview1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\singlepageview1.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
@ -196,8 +193,8 @@
|
||||
<data name="singlepageview" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\singlepageview.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="_page" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\_page.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="clearpivottable" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clearpivottable.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="categorize" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\categorize.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
@ -205,11 +202,17 @@
|
||||
<data name="tiff" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\tiff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="editcolors" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\editcolors.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
<data name="open" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\open.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\save.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
<data name="columnheaders" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\columnheaders.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="_page" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\_page.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="xls" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\xls.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="dwg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\dwg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
@ -229,13 +232,13 @@
|
||||
<data name="save1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\save1.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="open" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\open.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
<data name="zoom_more" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\zoom_more.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Article_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Article_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="insertpagecount" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\insertpagecount.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
<data name="business_world" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\business_world.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
</root>
|
||||
15
GUIs.Common/Resources/business_world.svg
Normal file
15
GUIs.Common/Resources/business_world.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||
<style type="text/css">
|
||||
.Blue{fill:#1177D7;}
|
||||
.Green{fill:#039C23;}
|
||||
.Yellow{fill:#FFB115;}
|
||||
.Black{fill:#727272;}
|
||||
.White{fill:#FFFFFF;}
|
||||
.Red{fill:#D11C1C;}
|
||||
.st0{opacity:0.75;}
|
||||
</style>
|
||||
<g id="World_1_">
|
||||
<path d="M15.8,2c-7.7,0-14,6.3-14,14s6.3,14,14,14s14-6.3,14-14S23.6,2,15.8,2z M20.1,19.1c-0.5,0.1-0.5-0.3-0.1-0.4 C20.1,18.9,20.2,18.8,20.1,19.1z M8.4,13.3c0-0.1,0-0.1,0-0.2C8.4,13.2,8.4,13.3,8.4,13.3z M22.1,21.9c0-0.1-0.1-0.1-0.1-0.1 c0.1,0.3-0.1,0.9-0.1,1.2c-0.1,0.4-0.4,1.3-0.7,1.3c0,0.2-0.4,0-0.3,0.2c-0.5,0.1-0.8,0.5-0.8,0.8c0,0.1-0.3,1.1-0.4,1.1 c0-0.1,0.1-0.2,0.1-0.3c0,0.1-0.1,0.1-0.1,0c0,0.2-0.3,0.8-0.4,0.9c-0.1,0.1-0.3,0.3-0.5,0.2c-0.1,0-0.3-0.2-0.3-0.4 c0,0.3,0.2,0.6,0.2,0.8c-0.9,0.2-1.8,0.3-2.7,0.3c-0.1,0-0.2,0-0.3,0c0.1-0.3,0.1-0.5,0.2-0.8c0.2-0.7,0.2-1.5,0.3-2.2 c0.1-0.4,0.3-1.5,0.1-1.9c-0.1-0.2-0.3-0.2-0.5-0.4c-0.6-0.4-0.6-0.7-0.8-1.3c-0.1-0.4-0.3-0.5-0.5-0.9c-0.1-0.2-0.2-0.2-0.2-0.5 c0-0.2,0.2-0.4,0.2-0.6c0,0-0.1,0.1-0.1,0.1c0,0-0.1-0.1-0.1-0.1c0-0.1,0-0.4,0.1-0.4c0-0.2,0.1-0.7,0.3-0.7c0-0.3,0.2-0.3,0.1-0.5 c0.3-0.2,0-0.9,0-1c-0.2,0-0.1-0.1-0.3-0.2c0,0.1-0.2,0.1-0.2,0.2c0,0.1,0.1,0,0.1,0.1c-0.3,0-0.4-0.2-0.6-0.3 c0,0.2-0.1-0.2-0.3-0.3c0.1,0.2-0.2-0.2-0.2-0.3c-0.1-0.2-0.2-0.3-0.2-0.5c-0.5,0-0.6-0.1-1-0.4c-0.4-0.3-0.7-0.1-1.2-0.3 c-0.3-0.1-0.7-0.3-0.9-0.5c-0.4-0.3-0.3-0.6-0.5-1c-0.1-0.3-0.7-0.7-0.6-1c-0.6,0-0.5-1.3-1.1-1.3c0,0.2,0.6,1.5,0.8,2 c-0.2-0.4-0.8-0.6-0.9-1c0.5,0-0.2-0.8-0.4-1c-0.2-0.3-0.2-0.6-0.7-0.6c0-0.2-0.2-0.4-0.2-0.7c-0.1,0-0.2-0.1-0.2-0.2 c0,0,0.1,0,0.1,0c0-0.1-0.1-0.1,0-0.2c-0.1,0,0,0-0.1,0c0,0,0,0,0,0.1C6,9.5,5.9,9.3,5.8,9.2c1.1-1.6,2.6-3,4.4-3.9 c0.1,0.1,0.1,0.3,0.2,0.3c0-0.1,0-0.2,0-0.3c0.7-0.4,1.5-0.7,2.4-0.9c0.1,0,0.1,0.1,0.2,0.1c0.2,0.1,0.4,0.1,0.6,0.2 c0.2,0.1,0.1,0.1,0.2,0.4c0,0.1,0.1,0.2,0.1,0.3c0.1,0,0.1,0,0.2,0c0,0.1-0.1,0.1-0.1,0C14,5.7,14.2,6,14.4,5.6 c0.1-0.2-0.2-0.4-0.1-0.7c0.1-0.2,0.5-0.4,0.5-0.6c0,0,0,0,0,0c0-0.1,0-0.2-0.1-0.3C15,4,15.4,4,15.7,4c0.7,0,1.3,0.1,2,0.2 c0,0,0,0,0,0.1c0,0-0.1,0-0.2,0c0,0,0,0.2,0,0.1c0.1,0,0.4,0.2,0.3,0.4c0.1,0,0.1,0.1,0.2,0.1c0-0.2,0.3,0.3,0.3,0 c-0.1,0,0.1,0.1,0.1,0.1c0,0.1-0.5,0.3-0.6,0.3c0,0.3,0.8-0.5,0.8,0c0,0,0,0,0.1-0.1c0,0.6-0.8,0.9-1.1,0.9c-0.2,0-0.6,0-0.8,0 c-0.2,0.1-0.4,0.6-0.7,0.6c0,0.3-0.1,0.3-0.2,0.4c0,0,1.3-1.3,1.3-0.6c0,0-0.1,0.2-0.3,0.3c0,0,0-0.1,0-0.1c-0.1,0.1,0,0.1,0,0.2 c0.1,0,0.2-0.1,0.2-0.1c0,0.1,0,0.2-0.1,0.2c0,0,0.1,0,0.1,0c0,0.1-0.1,0.3,0.1,0.3c0,0,0,0,0,0c0,0,0,0.1-0.1,0.1c0,0,0,0,0,0 c0.2,0,0.2,0,0.4,0c0,0.3,0,0,0.1,0.2c-0.1,0-0.4,0.3-0.4,0.3c0,0,0-0.1-0.1-0.1c0,0-0.2,0.3-0.2,0.3c0,0,0,0,0-0.1 c-0.7,0,0.3-0.5,0.3-0.5c-0.5,0-0.2,0.1-0.2-0.2c0,0-0.1,0-0.1,0c0,0.1-0.1,0.2-0.2,0.2c0,0,0-0.1,0-0.1c-0.1,0.1-0.1,0.1,0,0.1 c-0.1,0.1-0.1,0-0.2,0c-0.1,0.1,0.1,0.4-0.2,0.2c0,0.1,0,0,0,0.1c-0.1,0,0-0.1-0.1-0.1c0,0.3-0.6,0.2-0.3,0.7c-0.1,0-0.1,0-0.2,0 c0,0.1,0,0.1,0,0.1c-0.1,0-0.2,0.1-0.3,0.2c0.1,0,0.3,0,0.2,0c0,0.1-0.2,0.1-0.3,0.1C15.3,9,15.2,9.2,15,9.1c0,0.2,0.1,0.3-0.1,0.5 c0,0.1,0-0.4,0-0.5c-0.1,0.1-0.3,0.4-0.2,0.4c0,0.2,0.1,0.1,0.1,0.2c-0.2,0,0,0.2,0.1,0.3c-0.1,0-0.1,0-0.1,0.1 c0.1,0,0.2,0.1,0.2,0.1c-0.1,0-0.1,0-0.2,0c0,0.5-0.9,0.7-0.8,1.4c0,0.3,0.4,1,0.1,1.2c0-0.3-0.3-0.4-0.3-0.7c-0.1,0,0,0.1-0.1,0.1 c-0.1-0.1,0-0.3-0.1-0.5c-0.1-0.1-0.2,0-0.4-0.1c-0.1,0-0.5-0.2-0.5-0.2c-0.1,0-0.3,0-0.4,0.1c0.1,0.2,0.2,0,0.1,0.2 c0.1,0,0.1,0,0.1,0.1c-0.1,0-0.2-0.1-0.3-0.2c0,0.1,0,0.1,0,0.1c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.1,0-0.1c0,0-0.7,0-0.7,0 c0,0.2-0.4,0.5-0.5,0.8c-0.1,0.3,0,0.9,0,1.3c0.1,0,0.2,0.4,0.4,0.6c0.2,0.1,0.7,0.2,0.9,0.1c0.2-0.2,0.2-0.8,0.6-0.8 c0.4,0,0,0.5,0.1,0.9c-0.1,0-0.1-0.1-0.1-0.1c0,0.2-0.1,0.5-0.1,0.7c0.4,0,0.9-0.2,1.1,0.2c0.1,0.2-0.2,0.5-0.1,0.8 c0,0.2,0.2,0.5,0.4,0.5c0.2,0.1,0.2-0.1,0.3-0.1c0.2,0,0.2,0.1,0.4,0.1c0.1,0,0.1,0.2,0.2,0.2c0.1-0.5,0.3-0.7,0.7-0.9 c0.3-0.1,0.2-0.3,0.1,0.1c0.2,0-0.1,0.5,0.1,0.5c0-0.2,0-0.5,0.3-0.6c0-0.1-0.1,0-0.1-0.1c0.1-0.1,0.5,0.3,0.4,0.3 c0,0.1,0.9,0.1,0.9,0c0,0,0.3,0,0.3,0c0,0.1,0,0-0.1,0.1c0,0.1,0.3,0.2,0.3,0.1c-0.1,0.3-0.1,0.1-0.3,0.4c0.6,0,0.6-0.2,0.7,0.4 c0.1,0,0,0,0.1,0c0-0.3,0.3-0.1,0.3,0.1c0,0,0.5-0.2,0.5,0c0.6,0,0.4,0.7,0.7,0.9c0.1,0-0.1,0,0.1,0c0,0-0.1,0.3-0.1,0.3 c0.1,0,0-0.1,0.1-0.1c0,0.1,0,0.1,0,0.1c0,0,0,0,0,0.1c0,0,0,0,0,0c-0.2,0-0.1,0-0.1-0.1c0,0-0.5,0.5-0.8,0.7 c0.2-0.1,0.3-0.2,0.6-0.2c0,0.3,0,0.1,0,0.3c0.1,0,0-0.3,0.2-0.3c0,0.4,0.4,0.1,0.5,0.1c0,0,0.6-0.3,0.5,0.1c0.2,0,0.1,0.3,0.3,0.3 c0.3-0.3,1.2,0.3,1.5,0.5C23.2,20.7,22.4,21.1,22.1,21.9z M17.5,7.3l-0.1-0.1c-0.1,0-0.4-0.1-0.1-0.2l0.1,0.2c0,0,0.1,0,0.1,0 C17.4,7.3,17.4,7.3,17.5,7.3z M17.1,6.2c0.1,0,0.4,0.1,0.5,0.2c0,0,0,0,0,0.1C17.5,6.5,17.1,6.3,17.1,6.2z M12.3,11.8 C12.2,11.8,12.2,11.7,12.3,11.8C12.3,11.7,12.3,11.7,12.3,11.8z M19.6,18.9C19.6,18.9,19.5,19,19.6,18.9L19.6,18.9z M19.5,19 C19.6,19,19.5,19.1,19.5,19L19.5,19z" class="Blue" />
|
||||
</g>
|
||||
</svg>
|
||||
32
GUIs.Common/frmDocumentResultList.Designer.vb
generated
32
GUIs.Common/frmDocumentResultList.Designer.vb
generated
@ -82,6 +82,7 @@ Partial Class frmDocumentResultList
|
||||
Me.RibbonPageGroup_Layout = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||
Me.RepositoryItemTextEdit1 = New DevExpress.XtraEditors.Repository.RepositoryItemTextEdit()
|
||||
Me.RepositoryItemTextEdit2 = New DevExpress.XtraEditors.Repository.RepositoryItemTextEdit()
|
||||
Me.RepositoryItemSearchControl1 = New DevExpress.XtraEditors.Repository.RepositoryItemSearchControl()
|
||||
Me.RibbonStatusBar = New DevExpress.XtraBars.Ribbon.RibbonStatusBar()
|
||||
Me.SplitContainerControl2 = New DevExpress.XtraEditors.SplitContainerControl()
|
||||
Me.GridControl2 = New DevExpress.XtraGrid.GridControl()
|
||||
@ -124,6 +125,7 @@ Partial Class frmDocumentResultList
|
||||
CType(Me.RibbonControl, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.RepositoryItemTextEdit1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.RepositoryItemSearchControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.SplitContainerControl2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.SplitContainerControl2.Panel1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SplitContainerControl2.Panel1.SuspendLayout()
|
||||
@ -216,12 +218,12 @@ Partial Class frmDocumentResultList
|
||||
Me.RibbonControl.ExpandCollapseItem.Id = 0
|
||||
Me.RibbonControl.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl.ExpandCollapseItem, Me.RibbonControl.SearchEditItem, Me.SwitchMainContainerHorizontal, Me.SwitchDetailContainerHorizontal, Me.BarButtonItemExportGrid1, Me.BarStaticItem1, Me.labelResultCount, Me.BarButtonBack, Me.BarButtonResetLayout, Me.labelCriticalError, Me.labelWarning, Me.MenuItemFileOpen, Me.MenuItemPropertiesIDB, Me.MenuItemFolderOpen, Me.MenuItemFilepathCopy, Me.MenuItemFolderpathCopy, Me.MenuItemProperties, Me.MenuItemsOpenFileZooFlow, Me.MenuItemPropertiesZooFlow, Me.ButtonRefresh, Me.BarButtonItem1, Me.BarButtonItem2, Me.BarButtonItem3, Me.BarButtonItem4, Me.BarButtonItem5, Me.BarButtonItem6, Me.MenuItemStartAdhocWorkflow, Me.MenuItemCheckInFile, Me.MenuItemCheckOutFile, Me.MenuItemVersionFile, Me.chkGridShowQuickfilter, Me.chkGridShowGrouping, Me.chkGridShowTitle, Me.MenuItemSaveProperties, Me.BarButtonItem11, Me.BarWorkspaceMenuItem1})
|
||||
resources.ApplyResources(Me.RibbonControl, "RibbonControl")
|
||||
Me.RibbonControl.MaxItemId = 48
|
||||
Me.RibbonControl.MaxItemId = 49
|
||||
Me.RibbonControl.Name = "RibbonControl"
|
||||
Me.RibbonControl.PageCategories.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageCategory() {Me.RibbonPageCategoryFile, Me.RibbonPageCategoryAttribute})
|
||||
Me.RibbonControl.PageHeaderItemLinks.Add(Me.BarWorkspaceMenuItem1)
|
||||
Me.RibbonControl.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPageStart, Me.RibbonPage2})
|
||||
Me.RibbonControl.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemTextEdit1, Me.RepositoryItemTextEdit2})
|
||||
Me.RibbonControl.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemTextEdit1, Me.RepositoryItemTextEdit2, Me.RepositoryItemSearchControl1})
|
||||
Me.RibbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.[False]
|
||||
Me.RibbonControl.ShowToolbarCustomizeItem = False
|
||||
Me.RibbonControl.StatusBar = Me.RibbonStatusBar
|
||||
@ -471,10 +473,12 @@ Partial Class frmDocumentResultList
|
||||
'
|
||||
'BarWorkspaceMenuItem1
|
||||
'
|
||||
resources.ApplyResources(Me.BarWorkspaceMenuItem1, "BarWorkspaceMenuItem1")
|
||||
Me.BarWorkspaceMenuItem1.Id = 45
|
||||
Me.BarWorkspaceMenuItem1.ImageOptions.SvgImage = Global.DigitalData.GUIs.Common.My.Resources.Resources.business_world
|
||||
Me.BarWorkspaceMenuItem1.Name = "BarWorkspaceMenuItem1"
|
||||
Me.BarWorkspaceMenuItem1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText
|
||||
Me.BarWorkspaceMenuItem1.WorkspaceManager = Me.WorkspaceManager1
|
||||
Me.BarWorkspaceMenuItem1.WorkspacesSortMode = DevExpress.XtraBars.WorspacesSortMode.Usage
|
||||
'
|
||||
'WorkspaceManager1
|
||||
'
|
||||
@ -616,6 +620,12 @@ Partial Class frmDocumentResultList
|
||||
resources.ApplyResources(Me.RepositoryItemTextEdit2, "RepositoryItemTextEdit2")
|
||||
Me.RepositoryItemTextEdit2.Name = "RepositoryItemTextEdit2"
|
||||
'
|
||||
'RepositoryItemSearchControl1
|
||||
'
|
||||
resources.ApplyResources(Me.RepositoryItemSearchControl1, "RepositoryItemSearchControl1")
|
||||
Me.RepositoryItemSearchControl1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Repository.ClearButton(), New DevExpress.XtraEditors.Repository.SearchButton()})
|
||||
Me.RepositoryItemSearchControl1.Name = "RepositoryItemSearchControl1"
|
||||
'
|
||||
'RibbonStatusBar
|
||||
'
|
||||
Me.RibbonStatusBar.ItemLinks.Add(Me.labelResultCount)
|
||||
@ -759,7 +769,7 @@ Partial Class frmDocumentResultList
|
||||
resources.ApplyResources(Me.DockPanelStatus, "DockPanelStatus")
|
||||
Me.DockPanelStatus.Name = "DockPanelStatus"
|
||||
Me.DockPanelStatus.Options.ShowCloseButton = False
|
||||
Me.DockPanelStatus.OriginalSize = New System.Drawing.Size(268, 434)
|
||||
Me.DockPanelStatus.OriginalSize = New System.Drawing.Size(268, 413)
|
||||
'
|
||||
'ControlContainer1
|
||||
'
|
||||
@ -800,7 +810,7 @@ Partial Class frmDocumentResultList
|
||||
Me.Root.GroupBordersVisible = False
|
||||
Me.Root.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.LayoutControlGroup1, Me.EmptySpaceItem1})
|
||||
Me.Root.Name = "Root"
|
||||
Me.Root.Size = New System.Drawing.Size(268, 413)
|
||||
Me.Root.Size = New System.Drawing.Size(268, 434)
|
||||
Me.Root.TextVisible = False
|
||||
'
|
||||
'LayoutControlGroup1
|
||||
@ -818,7 +828,7 @@ Partial Class frmDocumentResultList
|
||||
Me.LayoutControlItem1.Name = "LayoutControlItem1"
|
||||
Me.LayoutControlItem1.Size = New System.Drawing.Size(224, 24)
|
||||
resources.ApplyResources(Me.LayoutControlItem1, "LayoutControlItem1")
|
||||
Me.LayoutControlItem1.TextSize = New System.Drawing.Size(126, 13)
|
||||
Me.LayoutControlItem1.TextSize = New System.Drawing.Size(137, 13)
|
||||
'
|
||||
'LayoutControlItem2
|
||||
'
|
||||
@ -827,14 +837,14 @@ Partial Class frmDocumentResultList
|
||||
Me.LayoutControlItem2.Name = "LayoutControlItem2"
|
||||
Me.LayoutControlItem2.Size = New System.Drawing.Size(224, 24)
|
||||
resources.ApplyResources(Me.LayoutControlItem2, "LayoutControlItem2")
|
||||
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(126, 13)
|
||||
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(137, 13)
|
||||
'
|
||||
'EmptySpaceItem1
|
||||
'
|
||||
Me.EmptySpaceItem1.AllowHotTrack = False
|
||||
Me.EmptySpaceItem1.Location = New System.Drawing.Point(0, 93)
|
||||
Me.EmptySpaceItem1.Name = "EmptySpaceItem1"
|
||||
Me.EmptySpaceItem1.Size = New System.Drawing.Size(248, 300)
|
||||
Me.EmptySpaceItem1.Size = New System.Drawing.Size(248, 321)
|
||||
Me.EmptySpaceItem1.TextSize = New System.Drawing.Size(0, 0)
|
||||
'
|
||||
'DockPanelMetadata
|
||||
@ -845,7 +855,7 @@ Partial Class frmDocumentResultList
|
||||
resources.ApplyResources(Me.DockPanelMetadata, "DockPanelMetadata")
|
||||
Me.DockPanelMetadata.Name = "DockPanelMetadata"
|
||||
Me.DockPanelMetadata.Options.ShowCloseButton = False
|
||||
Me.DockPanelMetadata.OriginalSize = New System.Drawing.Size(268, 434)
|
||||
Me.DockPanelMetadata.OriginalSize = New System.Drawing.Size(268, 413)
|
||||
'
|
||||
'DockPanel3_Container
|
||||
'
|
||||
@ -883,9 +893,9 @@ Partial Class frmDocumentResultList
|
||||
Me.AllowFormGlass = DevExpress.Utils.DefaultBoolean.[True]
|
||||
resources.ApplyResources(Me, "$this")
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.Controls.Add(Me.DockPanelFileList)
|
||||
Me.Controls.Add(Me.DockPanelDocViewer)
|
||||
Me.Controls.Add(Me.panelContainer1)
|
||||
Me.Controls.Add(Me.DockPanelFileList)
|
||||
Me.Controls.Add(Me.RibbonStatusBar)
|
||||
Me.Controls.Add(Me.RibbonControl)
|
||||
Me.IconOptions.Icon = CType(resources.GetObject("frmDocumentResultList.IconOptions.Icon"), System.Drawing.Icon)
|
||||
@ -904,6 +914,7 @@ Partial Class frmDocumentResultList
|
||||
CType(Me.RibbonControl, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.RepositoryItemTextEdit1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.RepositoryItemSearchControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.SplitContainerControl2.Panel1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.SplitContainerControl2.Panel1.ResumeLayout(False)
|
||||
CType(Me.SplitContainerControl2.Panel2, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
@ -1031,4 +1042,5 @@ Partial Class frmDocumentResultList
|
||||
Friend WithEvents LayoutControlItem1 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem2 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents EmptySpaceItem1 As DevExpress.XtraLayout.EmptySpaceItem
|
||||
Friend WithEvents RepositoryItemSearchControl1 As DevExpress.XtraEditors.Repository.RepositoryItemSearchControl
|
||||
End Class
|
||||
|
||||
@ -474,9 +474,6 @@
|
||||
<data name="BarButtonItem11.Caption" xml:space="preserve">
|
||||
<value>Spaltenauswahl</value>
|
||||
</data>
|
||||
<data name="BarWorkspaceMenuItem1.Caption" xml:space="preserve">
|
||||
<value>BarWorkspaceMenuItem1</value>
|
||||
</data>
|
||||
<metadata name="WorkspaceManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>456, 22</value>
|
||||
</metadata>
|
||||
@ -489,49 +486,6 @@
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1189, 671</value>
|
||||
</data>
|
||||
<data name="DockPanel2_Container.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 46</value>
|
||||
</data>
|
||||
<data name="DockPanel2_Container.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>578, 442</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="DockPanel2_Container.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Name" xml:space="preserve">
|
||||
<value>DockPanel2_Container</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraBars.Docking.ControlContainer, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Parent" xml:space="preserve">
|
||||
<value>DockPanelFileList</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 158</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>585, 491</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Text" xml:space="preserve">
|
||||
<value>Ergebnisse</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Name" xml:space="preserve">
|
||||
<value>DockPanelFileList</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraBars.Docking.DockPanel, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DocumentViewer1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -539,8 +493,9 @@
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="DocumentViewer1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>323, 441</value>
|
||||
<value>323, 459</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="DocumentViewer1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
@ -557,10 +512,10 @@
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DockPanel1_Container.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 46</value>
|
||||
<value>3, 26</value>
|
||||
</data>
|
||||
<data name="DockPanel1_Container.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>323, 441</value>
|
||||
<value>323, 459</value>
|
||||
</data>
|
||||
<data name="DockPanel1_Container.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -581,7 +536,7 @@
|
||||
<value>585, 158</value>
|
||||
</data>
|
||||
<data name="DockPanelDocViewer.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>329, 491</value>
|
||||
<value>329, 489</value>
|
||||
</data>
|
||||
<data name="DockPanelDocViewer.Text" xml:space="preserve">
|
||||
<value>Vorschau</value>
|
||||
@ -596,13 +551,13 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>DockPanelDocViewer.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="txtCheckedOutWho.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>162, 45</value>
|
||||
<value>173, 45</value>
|
||||
</data>
|
||||
<data name="txtCheckedOutWho.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>82, 20</value>
|
||||
<value>71, 20</value>
|
||||
</data>
|
||||
<data name="txtCheckedOutWho.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
@ -623,7 +578,7 @@
|
||||
<value />
|
||||
</data>
|
||||
<data name="dateCheckedOutWhen.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>162, 69</value>
|
||||
<value>173, 69</value>
|
||||
</data>
|
||||
<assembly alias="DevExpress.Utils.v21.2" name="DevExpress.Utils.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<data name="dateCheckedOutWhen.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v21.2">
|
||||
@ -633,7 +588,7 @@
|
||||
<value>Combo</value>
|
||||
</data>
|
||||
<data name="dateCheckedOutWhen.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>82, 20</value>
|
||||
<value>71, 20</value>
|
||||
</data>
|
||||
<data name="dateCheckedOutWhen.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
@ -666,7 +621,7 @@
|
||||
<value>In Bearbeitung</value>
|
||||
</data>
|
||||
<data name="LayoutControl1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="LayoutControl1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -690,7 +645,7 @@
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="ControlContainer1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="ControlContainer1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -708,10 +663,10 @@
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DockPanelStatus.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>4, 46</value>
|
||||
<value>4, 26</value>
|
||||
</data>
|
||||
<data name="DockPanelStatus.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="DockPanelStatus.Text" xml:space="preserve">
|
||||
<value>Status</value>
|
||||
@ -735,7 +690,7 @@
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="CtrlObjectPropertyDialog.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="CtrlObjectPropertyDialog.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -756,7 +711,7 @@
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="DockPanel3_Container.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="DockPanel3_Container.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -774,10 +729,10 @@
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DockPanelMetadata.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>4, 46</value>
|
||||
<value>4, 26</value>
|
||||
</data>
|
||||
<data name="DockPanelMetadata.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>268, 413</value>
|
||||
<value>268, 434</value>
|
||||
</data>
|
||||
<data name="DockPanelMetadata.Text" xml:space="preserve">
|
||||
<value>Eigenschaften</value>
|
||||
@ -798,7 +753,7 @@
|
||||
<value>914, 158</value>
|
||||
</data>
|
||||
<data name="panelContainer1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>275, 491</value>
|
||||
<value>275, 489</value>
|
||||
</data>
|
||||
<data name="panelContainer1.Text" xml:space="preserve">
|
||||
<value>panelContainer1</value>
|
||||
@ -813,13 +768,55 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>panelContainer1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="DockPanel2_Container.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 26</value>
|
||||
</data>
|
||||
<data name="DockPanel2_Container.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>578, 460</value>
|
||||
</data>
|
||||
<data name="DockPanel2_Container.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Name" xml:space="preserve">
|
||||
<value>DockPanel2_Container</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraBars.Docking.ControlContainer, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.Parent" xml:space="preserve">
|
||||
<value>DockPanelFileList</value>
|
||||
</data>
|
||||
<data name=">>DockPanel2_Container.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 158</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>585, 489</value>
|
||||
</data>
|
||||
<data name="DockPanelFileList.Text" xml:space="preserve">
|
||||
<value>Ergebnisse</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Name" xml:space="preserve">
|
||||
<value>DockPanelFileList</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraBars.Docking.DockPanel, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>DockPanelFileList.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="RibbonStatusBar.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 649</value>
|
||||
<value>0, 647</value>
|
||||
</data>
|
||||
<data name="RibbonStatusBar.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1189, 22</value>
|
||||
<value>1189, 24</value>
|
||||
</data>
|
||||
<data name=">>RibbonStatusBar.Name" xml:space="preserve">
|
||||
<value>RibbonStatusBar</value>
|
||||
@ -1258,6 +1255,12 @@
|
||||
<data name=">>RepositoryItemTextEdit2.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraEditors.Repository.RepositoryItemTextEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>RepositoryItemSearchControl1.Name" xml:space="preserve">
|
||||
<value>RepositoryItemSearchControl1</value>
|
||||
</data>
|
||||
<data name=">>RepositoryItemSearchControl1.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraEditors.Repository.RepositoryItemSearchControl, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name=">>GridView2.Name" xml:space="preserve">
|
||||
<value>GridView2</value>
|
||||
</data>
|
||||
@ -1405,6 +1408,9 @@
|
||||
<data name="RepositoryItemTextEdit2.AutoHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="RepositoryItemSearchControl1.AutoHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="RibbonControl.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1189, 158</value>
|
||||
</data>
|
||||
@ -1421,7 +1427,7 @@
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="GridControl1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>568, 442</value>
|
||||
<value>568, 460</value>
|
||||
</data>
|
||||
<data name="GridControl1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -1592,7 +1598,7 @@
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="SplitContainerControl1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>578, 442</value>
|
||||
<value>578, 460</value>
|
||||
</data>
|
||||
<data name="SplitContainerControl1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
|
||||
@ -37,22 +37,22 @@ Public Class frmDocumentResultList
|
||||
|
||||
' Helper Classes
|
||||
Private Client As Client
|
||||
Private Documentloader As DocumentResultList.Loader
|
||||
Private Documentloader As Loader
|
||||
Private ControlManager As AttributeControls
|
||||
Private CheckoutManager As CheckInOut
|
||||
|
||||
Private ReadOnly Config As ConfigManager(Of DocumentResultList.Config)
|
||||
Private ReadOnly Config As ConfigManager(Of Config)
|
||||
Private ReadOnly Environment As Environment
|
||||
Private ReadOnly Filesystem As Modules.Filesystem.File
|
||||
Private ReadOnly GridBuilder As GridBuilder
|
||||
Private ReadOnly FileEx As Modules.Windows.File
|
||||
Private ReadOnly Helpers As DocumentResultList.Helpers
|
||||
Private ReadOnly Params As DocumentResultList.Params
|
||||
Private ReadOnly LayoutManager As DocumentResultList.Layout
|
||||
Private WithEvents Watcher As DocumentResultList.Watcher
|
||||
Private ReadOnly Params As Params
|
||||
Private ReadOnly LayoutManager As Layout
|
||||
Private WithEvents Watcher As Watcher
|
||||
|
||||
' Runtime variables
|
||||
Private Property ResultLists As List(Of DocumentResultList.DocumentResult)
|
||||
Private Property ResultLists As List(Of DocumentResult)
|
||||
|
||||
Private IsLoading As Boolean = True
|
||||
Private _DragBoxFromMouseDown As Rectangle
|
||||
@ -72,7 +72,11 @@ Public Class frmDocumentResultList
|
||||
Private Property ViewList As List(Of BandedGridView)
|
||||
Private Property OperationMode As OperationMode Implements IResultForm.OperationMode
|
||||
|
||||
|
||||
Public ReadOnly Property Config1 As ConfigManager(Of Config)
|
||||
Get
|
||||
Return Config
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public Event NeedsRefresh As EventHandler(Of Integer) Implements IResultForm.NeedsRefresh
|
||||
Public Event ResultsRefreshed As EventHandler(Of List(Of DocumentResultList.DocumentResult))
|
||||
@ -151,10 +155,12 @@ Public Class frmDocumentResultList
|
||||
'Load config
|
||||
LayoutManager.LoadWindowLocationAndSize(Me)
|
||||
LayoutManager.DockManager_RestoreLayout(DockManager1)
|
||||
SplitContainerControl1.SplitterPosition = Config.Config.SplitContainer1Distance
|
||||
SwitchMainContainerHorizontal.Checked = Config.Config.SplitContainer1Horizontal
|
||||
SplitContainerControl2.SplitterPosition = Config.Config.SplitContainer2Distance
|
||||
SwitchDetailContainerHorizontal.Checked = Config.Config.SplitContainer2Horizontal
|
||||
LayoutManager.Workspace_Restore(WorkspaceManager1)
|
||||
|
||||
SplitContainerControl1.SplitterPosition = Config1.Config.SplitContainer1Distance
|
||||
SwitchMainContainerHorizontal.Checked = Config1.Config.SplitContainer1Horizontal
|
||||
SplitContainerControl2.SplitterPosition = Config1.Config.SplitContainer2Distance
|
||||
SwitchDetailContainerHorizontal.Checked = Config1.Config.SplitContainer2Horizontal
|
||||
|
||||
' Hide options relating to a filepath for zooflow
|
||||
If OperationMode = OperationMode.ZooFlow Then
|
||||
@ -163,17 +169,17 @@ Public Class frmDocumentResultList
|
||||
RibbonPageGroupFilesystem.Visible = False
|
||||
End If
|
||||
|
||||
If OperationMode = OperationMode.NoAppServer Then
|
||||
DockPanelMetadata.Visibility = Docking.DockVisibility.Hidden
|
||||
End If
|
||||
|
||||
If OperationMode <> OperationMode.NoAppServer Then
|
||||
If OperationMode = OperationMode.ZooFlow Or OperationMode = OperationMode.WithAppServer Then
|
||||
CtrlObjectPropertyDialog.Initialize(LogConfig, Me, Client, Environment)
|
||||
|
||||
SwitchMainContainerHorizontal.Visibility = BarItemVisibility.Never
|
||||
SwitchDetailContainerHorizontal.Visibility = BarItemVisibility.Never
|
||||
End If
|
||||
|
||||
If OperationMode = OperationMode.NoAppServer Then
|
||||
DockPanelMetadata.Visibility = Docking.DockVisibility.Hidden
|
||||
End If
|
||||
|
||||
UpdateTotalResults()
|
||||
LoadGridDataAndLayout()
|
||||
|
||||
@ -195,6 +201,7 @@ Public Class frmDocumentResultList
|
||||
Private Sub frmDocumentResultList_Closing(sender As Object, e As CancelEventArgs) Handles Me.FormClosing
|
||||
Try
|
||||
LayoutManager.GridView_SaveLayout(_ActiveGrid.MainView)
|
||||
LayoutManager.Workspace_Save(WorkspaceManager1)
|
||||
LayoutManager.DockManager_SaveLayout(DockManager1)
|
||||
LayoutManager.SaveWindowLocationAndSize(Me)
|
||||
|
||||
@ -214,7 +221,7 @@ Public Class frmDocumentResultList
|
||||
Dim oRow = sender.GetDataRow(Helpers.ActiveRowHandle)
|
||||
Dim oObjectId = oRow.ItemEx(Of Long)(ColumnDocumentId, 0)
|
||||
Dim oFullPath = oRow.ItemEx(ColumnFilepath, "")
|
||||
Dim oDocumentInfo As DocumentResultList.Document = Nothing
|
||||
Dim oDocument As DocumentResultList.Document = Nothing
|
||||
|
||||
' Show Ribbon Category
|
||||
If RibbonPageCategoryFile.Visible = False Then
|
||||
@ -223,41 +230,31 @@ Public Class frmDocumentResultList
|
||||
End If
|
||||
|
||||
' Load DocumentInfo
|
||||
oDocumentInfo = Documentloader.Load(oObjectId, oFullPath)
|
||||
If IsNothing(oDocumentInfo) Then
|
||||
DocumentViewer1.CloseDocument()
|
||||
ErrorHandler.ShowErrorMessage("File could not be loaded!")
|
||||
oDocument = Documentloader.Load(oObjectId, oFullPath)
|
||||
|
||||
If oDocument Is Nothing Then
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
UpdateRibbonActions(oDocument)
|
||||
|
||||
' Save reference to current document
|
||||
_CurrentDocument = oDocumentInfo
|
||||
_CurrentDocument = oDocument
|
||||
|
||||
' Load Document in Document Viewer
|
||||
Dim oFileName = $"{oObjectId}.{oDocumentInfo.Extension}"
|
||||
DocumentViewer1.LoadFile(oFileName, New MemoryStream(oDocumentInfo.Contents))
|
||||
Dim oFileName = $"{oObjectId}.{oDocument.Extension}"
|
||||
DocumentViewer1.LoadFile(oFileName, New MemoryStream(oDocument.Contents))
|
||||
If IsNothing(oDocument) Then
|
||||
DocumentViewer1.CloseDocument()
|
||||
ErrorHandler.ShowErrorMessage("File could not be loaded!")
|
||||
|
||||
' Hide Export and filesystem options for view only right
|
||||
If oDocumentInfo.AccessRight = Rights.AccessRight.VIEW_ONLY Then
|
||||
DocumentViewer1.SetViewOnly(True)
|
||||
RibbonPageGroupExport.Visible = False
|
||||
RibbonPageGroupFilesystem.Visible = False
|
||||
Else
|
||||
DocumentViewer1.SetViewOnly(False)
|
||||
RibbonPageGroupExport.Visible = True
|
||||
RibbonPageGroupFilesystem.Visible = True
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
If OperationMode = OperationMode.ZooFlow Or OperationMode = OperationMode.WithAppServer Then
|
||||
'Dim oEntityId = 1
|
||||
'Dim oAttributes = Await ControlManager.GetAttributesForBusinessEntity(oEntityId)
|
||||
'If oAttributes.Count = 0 Then
|
||||
' MsgBox($"Es konnten keine Attribute für das Objekt '{oObjectId}' geladen werden!", MsgBoxStyle.Critical, Text)
|
||||
'End If
|
||||
|
||||
Await CtrlObjectPropertyDialog.LoadObject(oObjectId)
|
||||
|
||||
Dim oCheckoutState = Await CheckOutManager.GetCheckoutState(oObjectId)
|
||||
Dim oCheckoutState = Await CheckoutManager.GetCheckoutState(oObjectId)
|
||||
If oCheckoutState IsNot Nothing Then
|
||||
txtCheckedOutWho.EditValue = oCheckoutState.CheckedOutWho
|
||||
dateCheckedOutWhen.EditValue = oCheckoutState.CheckedOutWhen
|
||||
@ -266,9 +263,9 @@ Public Class frmDocumentResultList
|
||||
dateCheckedOutWhen.EditValue = Nothing
|
||||
End If
|
||||
End If
|
||||
|
||||
Else
|
||||
RibbonPageCategoryFile.Visible = False
|
||||
RibbonControl.SelectedPage = RibbonPageStart
|
||||
UpdateRibbonActions(Nothing)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
ErrorHandler.ShowErrorMessage(ex, "GridView_FocusedRowChanged")
|
||||
@ -277,6 +274,40 @@ Public Class frmDocumentResultList
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Function UpdateRibbonActions(pDocument As DocumentResultList.Document) As Boolean
|
||||
Try
|
||||
If pDocument Is Nothing Then
|
||||
RibbonPageCategoryFile.Visible = False
|
||||
RibbonControl.SelectedPage = RibbonPageStart
|
||||
Return True
|
||||
End If
|
||||
|
||||
' Hide Export and filesystem options for view only right
|
||||
If pDocument.AccessRight = Rights.AccessRight.VIEW_ONLY Then
|
||||
DocumentViewer1.SetViewOnly(True)
|
||||
RibbonPageGroupExport.Visible = False
|
||||
|
||||
If OperationMode = OperationMode.NoAppServer Then
|
||||
RibbonPageGroupFilesystem.Visible = False
|
||||
MenuItemProperties.Visibility = BarItemVisibility.Never
|
||||
End If
|
||||
Else
|
||||
DocumentViewer1.SetViewOnly(False)
|
||||
RibbonPageGroupExport.Visible = True
|
||||
|
||||
If OperationMode = OperationMode.NoAppServer Then
|
||||
RibbonPageGroupFilesystem.Visible = True
|
||||
MenuItemProperties.Visibility = BarItemVisibility.Always
|
||||
End If
|
||||
End If
|
||||
|
||||
Return True
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Return False
|
||||
End Try
|
||||
End Function
|
||||
|
||||
#Region "Watcher"
|
||||
|
||||
Public Async Sub Watcher_FileOpened(sender As Object, e As DocumentResultList.Watcher.FileOpenedArgs) Handles Watcher.FileOpened
|
||||
@ -940,29 +971,29 @@ Public Class frmDocumentResultList
|
||||
#Region "Layout"
|
||||
Private Sub SplitContainerControl1_SplitterPositionChanged(sender As Object, e As EventArgs) Handles SplitContainerControl1.SplitterPositionChanged
|
||||
If IsLoading = False Then
|
||||
Config.Config.SplitContainer1Distance = SplitContainerControl1.SplitterPosition
|
||||
Config1.Config.SplitContainer1Distance = SplitContainerControl1.SplitterPosition
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub SplitContainerControl2_SplitterPositionChanged(sender As Object, e As EventArgs) Handles SplitContainerControl2.SplitterPositionChanged
|
||||
If IsLoading = False Then
|
||||
Config.Config.SplitContainer2Distance = SplitContainerControl2.SplitterPosition
|
||||
Config1.Config.SplitContainer2Distance = SplitContainerControl2.SplitterPosition
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub SwitchMainContainerHorizontal_CheckedChanged(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles SwitchMainContainerHorizontal.CheckedChanged
|
||||
SplitContainerControl1.Horizontal = SwitchMainContainerHorizontal.Checked
|
||||
|
||||
If Config IsNot Nothing And IsLoading = False Then
|
||||
Config.Config.SplitContainer1Horizontal = SwitchMainContainerHorizontal.Checked
|
||||
If Config1 IsNot Nothing And IsLoading = False Then
|
||||
Config1.Config.SplitContainer1Horizontal = SwitchMainContainerHorizontal.Checked
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub SwitchDetailContainerHorizontal2_CheckedChanged(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles SwitchDetailContainerHorizontal.CheckedChanged
|
||||
SplitContainerControl2.Horizontal = SwitchDetailContainerHorizontal.Checked
|
||||
|
||||
If Config IsNot Nothing And IsLoading = False Then
|
||||
Config.Config.SplitContainer2Horizontal = SwitchDetailContainerHorizontal.Checked
|
||||
If Config1 IsNot Nothing And IsLoading = False Then
|
||||
Config1.Config.SplitContainer2Horizontal = SwitchDetailContainerHorizontal.Checked
|
||||
End If
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
90
GUIs.ZooFlow/frmFlowForm.Designer.vb
generated
90
GUIs.ZooFlow/frmFlowForm.Designer.vb
generated
@ -30,13 +30,13 @@ Partial Class frmFlowForm
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmFlowForm))
|
||||
Me.NotifyIcon = New System.Windows.Forms.NotifyIcon(Me.components)
|
||||
Me.ContextMenuSystray = New System.Windows.Forms.ContextMenuStrip(Me.components)
|
||||
Me.EinblendenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.VerwaltungToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.TestToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.ZooFlowBeendenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.EinblendenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.TimerRefreshData = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
|
||||
Me.PictureBoxPM = New DevExpress.XtraEditors.SvgImageBox()
|
||||
@ -98,50 +98,50 @@ Partial Class frmFlowForm
|
||||
'
|
||||
Me.ContextMenuSystray.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.EinblendenToolStripMenuItem, Me.ToolStripSeparator1, Me.VerwaltungToolStripMenuItem, Me.ToolStripSeparator3, Me.TestToolStripMenuItem, Me.ToolStripSeparator2, Me.ZooFlowBeendenToolStripMenuItem})
|
||||
Me.ContextMenuSystray.Name = "ContextMenuSystray"
|
||||
Me.ContextMenuSystray.Size = New System.Drawing.Size(181, 132)
|
||||
'
|
||||
'ToolStripSeparator1
|
||||
'
|
||||
Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
|
||||
Me.ToolStripSeparator1.Size = New System.Drawing.Size(177, 6)
|
||||
'
|
||||
'VerwaltungToolStripMenuItem
|
||||
'
|
||||
Me.VerwaltungToolStripMenuItem.Image = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.gear_32xLG
|
||||
Me.VerwaltungToolStripMenuItem.Name = "VerwaltungToolStripMenuItem"
|
||||
Me.VerwaltungToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.VerwaltungToolStripMenuItem.Text = "Verwaltung"
|
||||
'
|
||||
'ToolStripSeparator3
|
||||
'
|
||||
Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
|
||||
Me.ToolStripSeparator3.Size = New System.Drawing.Size(177, 6)
|
||||
'
|
||||
'TestToolStripMenuItem
|
||||
'
|
||||
Me.TestToolStripMenuItem.Name = "TestToolStripMenuItem"
|
||||
Me.TestToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.TestToolStripMenuItem.Text = "Test"
|
||||
'
|
||||
'ToolStripSeparator2
|
||||
'
|
||||
Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
|
||||
Me.ToolStripSeparator2.Size = New System.Drawing.Size(177, 6)
|
||||
'
|
||||
'ZooFlowBeendenToolStripMenuItem
|
||||
'
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Name = "ZooFlowBeendenToolStripMenuItem"
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Text = "ZooFlow beenden"
|
||||
Me.ContextMenuSystray.Size = New System.Drawing.Size(170, 110)
|
||||
'
|
||||
'EinblendenToolStripMenuItem
|
||||
'
|
||||
Me.EinblendenToolStripMenuItem.Image = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.action_add_16xMD
|
||||
Me.EinblendenToolStripMenuItem.Name = "EinblendenToolStripMenuItem"
|
||||
Me.EinblendenToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.EinblendenToolStripMenuItem.Size = New System.Drawing.Size(169, 22)
|
||||
Me.EinblendenToolStripMenuItem.Text = "Einblenden"
|
||||
Me.EinblendenToolStripMenuItem.Visible = False
|
||||
'
|
||||
'ToolStripSeparator1
|
||||
'
|
||||
Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
|
||||
Me.ToolStripSeparator1.Size = New System.Drawing.Size(166, 6)
|
||||
'
|
||||
'VerwaltungToolStripMenuItem
|
||||
'
|
||||
Me.VerwaltungToolStripMenuItem.Image = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.gear_32xLG
|
||||
Me.VerwaltungToolStripMenuItem.Name = "VerwaltungToolStripMenuItem"
|
||||
Me.VerwaltungToolStripMenuItem.Size = New System.Drawing.Size(169, 22)
|
||||
Me.VerwaltungToolStripMenuItem.Text = "Verwaltung"
|
||||
'
|
||||
'ToolStripSeparator3
|
||||
'
|
||||
Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
|
||||
Me.ToolStripSeparator3.Size = New System.Drawing.Size(166, 6)
|
||||
'
|
||||
'TestToolStripMenuItem
|
||||
'
|
||||
Me.TestToolStripMenuItem.Name = "TestToolStripMenuItem"
|
||||
Me.TestToolStripMenuItem.Size = New System.Drawing.Size(169, 22)
|
||||
Me.TestToolStripMenuItem.Text = "Test"
|
||||
'
|
||||
'ToolStripSeparator2
|
||||
'
|
||||
Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
|
||||
Me.ToolStripSeparator2.Size = New System.Drawing.Size(166, 6)
|
||||
'
|
||||
'ZooFlowBeendenToolStripMenuItem
|
||||
'
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Name = "ZooFlowBeendenToolStripMenuItem"
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Size = New System.Drawing.Size(169, 22)
|
||||
Me.ZooFlowBeendenToolStripMenuItem.Text = "ZooFlow beenden"
|
||||
'
|
||||
'PictureBoxPM
|
||||
'
|
||||
Me.PictureBoxPM.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
@ -162,7 +162,7 @@ Partial Class frmFlowForm
|
||||
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
Me.PictureBoxSearch.Cursor = System.Windows.Forms.Cursors.Hand
|
||||
Me.PictureBoxSearch.ItemHitTestType = DevExpress.XtraEditors.ItemHitTestType.BoundingBox
|
||||
Me.PictureBoxSearch.Location = New System.Drawing.Point(21, 280)
|
||||
Me.PictureBoxSearch.Location = New System.Drawing.Point(21, 281)
|
||||
Me.PictureBoxSearch.Name = "PictureBoxSearch"
|
||||
Me.PictureBoxSearch.Size = New System.Drawing.Size(158, 50)
|
||||
Me.PictureBoxSearch.SizeMode = DevExpress.XtraEditors.SvgImageSizeMode.Zoom
|
||||
@ -182,7 +182,7 @@ Partial Class frmFlowForm
|
||||
Me.pnlQuicksearch1.Controls.Add(Me.PictureEditQuicksearch1)
|
||||
Me.pnlQuicksearch1.Controls.Add(Me.lblQuicksearch1)
|
||||
Me.pnlQuicksearch1.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||
Me.pnlQuicksearch1.Location = New System.Drawing.Point(0, 335)
|
||||
Me.pnlQuicksearch1.Location = New System.Drawing.Point(0, 336)
|
||||
Me.pnlQuicksearch1.Name = "pnlQuicksearch1"
|
||||
Me.pnlQuicksearch1.Size = New System.Drawing.Size(202, 75)
|
||||
Me.pnlQuicksearch1.TabIndex = 16
|
||||
@ -314,9 +314,9 @@ Partial Class frmFlowForm
|
||||
Me.barDockControlBottom.Appearance.Options.UseBackColor = True
|
||||
Me.barDockControlBottom.CausesValidation = False
|
||||
Me.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||
Me.barDockControlBottom.Location = New System.Drawing.Point(0, 612)
|
||||
Me.barDockControlBottom.Location = New System.Drawing.Point(0, 613)
|
||||
Me.barDockControlBottom.Manager = Me.BarManager1
|
||||
Me.barDockControlBottom.Size = New System.Drawing.Size(202, 26)
|
||||
Me.barDockControlBottom.Size = New System.Drawing.Size(202, 25)
|
||||
'
|
||||
'barDockControlLeft
|
||||
'
|
||||
@ -324,7 +324,7 @@ Partial Class frmFlowForm
|
||||
Me.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
||||
Me.barDockControlLeft.Location = New System.Drawing.Point(0, 0)
|
||||
Me.barDockControlLeft.Manager = Me.BarManager1
|
||||
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 612)
|
||||
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 613)
|
||||
'
|
||||
'barDockControlRight
|
||||
'
|
||||
@ -332,7 +332,7 @@ Partial Class frmFlowForm
|
||||
Me.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right
|
||||
Me.barDockControlRight.Location = New System.Drawing.Point(202, 0)
|
||||
Me.barDockControlRight.Manager = Me.BarManager1
|
||||
Me.barDockControlRight.Size = New System.Drawing.Size(0, 612)
|
||||
Me.barDockControlRight.Size = New System.Drawing.Size(0, 613)
|
||||
'
|
||||
'BarButtonItem2
|
||||
'
|
||||
@ -376,7 +376,7 @@ Partial Class frmFlowForm
|
||||
Me.Panel3.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
|
||||
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
Me.Panel3.BackColor = System.Drawing.Color.FromArgb(CType(CType(165, Byte), Integer), CType(CType(36, Byte), Integer), CType(CType(49, Byte), Integer))
|
||||
Me.Panel3.Location = New System.Drawing.Point(21, 272)
|
||||
Me.Panel3.Location = New System.Drawing.Point(21, 273)
|
||||
Me.Panel3.Name = "Panel3"
|
||||
Me.Panel3.Size = New System.Drawing.Size(158, 2)
|
||||
Me.Panel3.TabIndex = 17
|
||||
@ -412,7 +412,7 @@ Partial Class frmFlowForm
|
||||
Me.Panel2.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.Panel2.Location = New System.Drawing.Point(0, 202)
|
||||
Me.Panel2.Name = "Panel2"
|
||||
Me.Panel2.Size = New System.Drawing.Size(202, 410)
|
||||
Me.Panel2.Size = New System.Drawing.Size(202, 411)
|
||||
Me.Panel2.TabIndex = 17
|
||||
'
|
||||
'AdornerUIManager1
|
||||
|
||||
@ -2042,6 +2042,6 @@
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="AdornerUIManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
<value>990, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@ -1286,10 +1286,6 @@ Public Class frmFlowForm
|
||||
Await CheckRunSearch1()
|
||||
End Sub
|
||||
|
||||
Private Sub PictureEditQuicksearch1_EditValueChanged(sender As Object, e As EventArgs) Handles PictureEditQuicksearch1.EditValueChanged
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub bbtnitmAusblenden_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles bbtnitmAusblenden.ItemClick
|
||||
UnregisterBar()
|
||||
EinblendenToolStripMenuItem.Visible = True
|
||||
|
||||
@ -13,6 +13,8 @@
|
||||
Public Const OBJECT_STATE_FILE_DELETED = "File deleted"
|
||||
Public Const OBJECT_STATE_METADATA_CHANGED = "Metadata changed"
|
||||
Public Const OBJECT_STATE_ATTRIBUTEVALUE_DELETED = "Attributevalue deleted"
|
||||
Public Const OBJECT_STATE_FILE_CHECKED_OUT = "File Checked Out"
|
||||
Public Const OBJECT_STATE_FILE_CHECKED_IN = "File Checked In"
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
@ -202,13 +202,15 @@ Namespace IDB
|
||||
|
||||
Public Function SetObjectState(pObjectId As Long, pState As String, pWho As String) As Boolean
|
||||
Try
|
||||
Logger.Debug("Setting object state for [{0}]: [{1}]")
|
||||
|
||||
Dim oSql As String = $"EXEC PRIDB_OBJECT_SET_STATE {pObjectId}, '{pState}', '{pWho}'"
|
||||
Dim oResult = Database.ExecuteNonQuery(oSql)
|
||||
If oResult = False Then
|
||||
Return False
|
||||
End If
|
||||
|
||||
Logger.Info("Object state for [{0}] created: [{1}]", pObjectId, pState)
|
||||
Logger.Info("Object state for [{0}] set: [{1}]", pObjectId, pState)
|
||||
Return True
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
@ -101,7 +101,9 @@ Namespace Methods.IDB.CheckInOutFile
|
||||
VALUES ({pObjectId}, GETDATE(), '{pComment}', '{pUsername}')"
|
||||
|
||||
If DatabaseIDB.ExecuteNonQuery(oSQL) = True Then
|
||||
Helpers.SetObjectState(pObjectId, FileStore.OBJECT_STATE_FILE_CHECKED_OUT, pUsername)
|
||||
Logger.Info("File [{0}] checked out successfully!", pObjectId)
|
||||
|
||||
Return CheckOutResult.CheckoutSuccessful
|
||||
Else
|
||||
Logger.Warn("File [{0}] could not be checked out because of an internal error!", pObjectId)
|
||||
@ -134,7 +136,9 @@ Namespace Methods.IDB.CheckInOutFile
|
||||
WHERE IDB_OBJ_ID = {pObjectId} AND ADDED_WHO = '{pUsername}' AND CHECKED_IN_WHEN IS NULL"
|
||||
|
||||
If DatabaseIDB.ExecuteNonQuery(oSQL) = True Then
|
||||
Helpers.SetObjectState(pObjectId, FileStore.OBJECT_STATE_FILE_CHECKED_IN, pUsername)
|
||||
Logger.Info("File [{0}] checked in successfully!", pObjectId)
|
||||
|
||||
Return CheckInResult.CheckinSuccessful
|
||||
Else
|
||||
Logger.Warn("File [{0}] could not be checked in because of an internal error!", pObjectId)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user