From 073be6abce79e762f267ec4113e5e19cc455f5f1 Mon Sep 17 00:00:00 2001 From: Digital Data - Marlon Schreiber Date: Fri, 6 Oct 2017 10:31:31 +0200 Subject: [PATCH] ms --- Global_Indexer/ClassWindream.vb | 13 +- Global_Indexer/My Project/AssemblyInfo.vb | 2 +- Global_Indexer/My Project/Settings.settings | 3 + Global_Indexer/frmConfig_Basic.resx | 369 ++++++----- Global_Indexer/frmConfig_Basic.vb | 14 +- Global_Indexer/frmIndex.designer.vb | 3 +- Global_Indexer/frmIndex.resx | 671 +++++++++++++------- Global_Indexer/frmIndex.vb | 11 +- 8 files changed, 660 insertions(+), 426 deletions(-) diff --git a/Global_Indexer/ClassWindream.vb b/Global_Indexer/ClassWindream.vb index 4e65aff..0a031ed 100644 --- a/Global_Indexer/ClassWindream.vb +++ b/Global_Indexer/ClassWindream.vb @@ -663,7 +663,7 @@ Public Class ClassWindream '================================================================== ' create an object '================================================================== - WMObject = Session.GetNewWMObjectFS(WMEntityDocument, windreamFilename, WMObjectEditModeObject) + WMObject = Session.GetNewWMObjectFS(WMEntityDocument, windreamFilename, WMObjectEditModeObject) 'WMEntityDocument, windreamFilename, WMObjectEditModeObject If Err.Number > 0 Then ClassLogger.Add(" FEHLER: WMObject konnte nicht erzeugt werden - Error: '" & Err.Description & "'") 'MsgBox(Err.Description) @@ -690,7 +690,7 @@ Public Class ClassWindream ElseIf CURRENT_DOKART_DUPLICATE_HANDLING = "New version" Then windreamFilename = ClassFilehandle.Versionierung_Datei(newfilename).ToString.Substring(2) End If - WMObject = Session.GetNewWMObjectFS(WMEntityDocument, windreamFilename, WMObjectEditModeObject) + WMObject = Session.GetNewWMObjectFS(1, windreamFilename, 31) 'WMEntityDocument, windreamFilename, WMObjectEditModeObject If Err.Number > 0 Then ClassLogger.Add(" FEHLER: Neues WMObject (Kopie) konnte nicht erzeugt werden - Error: '" & Err.Description & "'") 'MsgBox(Err.Description) @@ -796,11 +796,16 @@ Public Class ClassWindream Return False End If Else - ClassLogger.Add(" Could not create a WMObject for file:'" & windreamFilename & "'") + ClassLogger.Add(" Could not create a WMObject for file:'" & windreamFilename) + If Not Err() Is Nothing Then + If Not Err.Description Is Nothing Then + ClassLogger.Add(Err.Description) + End If + End If Return False End If Else - If LogErrorsOnly = False Then ClassLogger.Add(" ...targetPath existiert NICHT", False) + If LogErrorsOnly = False Then ClassLogger.Add("...targetPath existiert NICHT", False) Return False End If diff --git a/Global_Indexer/My Project/AssemblyInfo.vb b/Global_Indexer/My Project/AssemblyInfo.vb index db1c45d..b7db70c 100644 --- a/Global_Indexer/My Project/AssemblyInfo.vb +++ b/Global_Indexer/My Project/AssemblyInfo.vb @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + \ No newline at end of file diff --git a/Global_Indexer/My Project/Settings.settings b/Global_Indexer/My Project/Settings.settings index 8db8297..6401da3 100644 --- a/Global_Indexer/My Project/Settings.settings +++ b/Global_Indexer/My Project/Settings.settings @@ -31,5 +31,8 @@ False + + + \ No newline at end of file diff --git a/Global_Indexer/frmConfig_Basic.resx b/Global_Indexer/frmConfig_Basic.resx index 7d88672..d00736b 100644 --- a/Global_Indexer/frmConfig_Basic.resx +++ b/Global_Indexer/frmConfig_Basic.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + txtServer + English @@ -140,8 +143,9 @@ TabPage1 - - 370, 22 + + + 3 11, 30 @@ -155,9 +159,6 @@ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 590, 306 - Top, Left, Right @@ -167,6 +168,12 @@ 3 + + 8, 14 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + 8, 197 @@ -191,13 +198,9 @@ btnopenlog - - 192, 100 - - - 10 + + Definieren Sie hier den Ordner welcher überwacht wird: - True @@ -207,8 +210,8 @@ btnFW_Desktop - - 244, 21 + + MiddleLeft 1 @@ -219,8 +222,8 @@ TabPage2 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 244, 21 TabPage1 @@ -228,17 +231,14 @@ 8 - - TabPage1 + + txtActualConnection System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - TabPage3 - - - 4, 22 + + 41 4, 4, 4, 4 @@ -249,6 +249,9 @@ Passwort: + + German + 6 @@ -267,8 +270,8 @@ 11, 87 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + TabPage1 11 @@ -279,8 +282,8 @@ 96, 13 - - MiddleRight + + True System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -288,8 +291,8 @@ 11, 226 - - MiddleRight + + 94, 29 298, 23 @@ -306,17 +309,11 @@ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 180, 21 - 3 - - TabPage3 - - - TabPage1 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 197, 185 @@ -324,14 +321,17 @@ 0 + + 4, 22 + TabPage2 System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 btnsetFW_Folder @@ -354,8 +354,8 @@ 5, 62 - - Top, Bottom, Left + + 582, 280 Aktuelle Sprache: @@ -363,20 +363,14 @@ 6 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 8, 78 - 3, 3, 3, 3 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 40 - - TabPage3 + + 495, 30 Überwachung starten @@ -387,11 +381,11 @@ 3 - - 3 + + 1 - - Label8 + + MiddleLeft 3, 3, 3, 3 @@ -399,29 +393,29 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 134, 23 + + Top, Bottom, Left - - 1 + + 49, 22 System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 74, 13 + + 11 Label4 - - btnLogMail + + 180, 21 8, 126 - - Definieren Sie hier den Ordner welcher überwacht wird: + + MiddleRight 38 @@ -438,6 +432,9 @@ 1 + + TabPage3 + 7 @@ -459,6 +456,9 @@ 12 + + MiddleRight + 4 @@ -474,9 +474,12 @@ TabPage2 - + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + txtScanFolderWatch @@ -495,12 +498,6 @@ 44 - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - MiddleLeft - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -513,11 +510,11 @@ 4 - - 9 + + 316, 168 - - Label1 + + True 6 @@ -546,12 +543,6 @@ TabPage1 - - True - - - 37 - 11, 28 @@ -570,9 +561,6 @@ TabPage3 - - 49, 22 - 224, 223 @@ -582,17 +570,24 @@ 3, 3, 3, 3 + + 7 + Öffne Log-Verzeichnis - - 8, 14 + + Öffne AppFolder User TabPage2 - - Öffne AppFolder User + + Definieren Sie hier Inhalte von Dateinamen welche von der Folderwatch-Überwachung +ausgenommen werden sollen: + + + 10 @@ -625,11 +620,11 @@ TabPage1 - - True + + Label8 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + MiddleLeft 118, 22 @@ -649,8 +644,8 @@ NoControl - - 13 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Label9 @@ -694,24 +689,30 @@ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - MiddleLeft - - - cmbLanguage + + btnLogMail 478, 26 + + MiddleRight + 5 + + TabPage1 + 146, 17 CheckBox3 + + CheckBox2 + 5 @@ -721,9 +722,6 @@ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 316, 168 - 42 @@ -778,8 +776,11 @@ TabControl1 - - 94, 29 + + 370, 22 + + + 255, 30 11, 216 @@ -793,8 +794,11 @@ MiddleLeft - - 173, 25 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 9 36 @@ -811,9 +815,6 @@ Windows-Authentifizierung - - 40 - 42 @@ -832,9 +833,6 @@ 1 - - txtActualConnection - LogErrorsOnly (Ja/Nein) @@ -859,8 +857,11 @@ 5 - - btnApplicationFolder + + 173, 25 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ... @@ -874,6 +875,9 @@ Datenbank: + + 134, 23 + chkLogErrorsOnly @@ -886,11 +890,14 @@ Dokumente bei Indexierung nicht anzeigen - - 495, 30 + + 3 - - 11, 142 + + Label3 + + + frmConfig_Basic btnaddUniversalViewer @@ -904,11 +911,14 @@ Segoe UI, 8.25pt - - 7 + + True - - German + + 74, 13 + + + cmbDatenbank True @@ -925,9 +935,6 @@ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 41 - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -949,23 +956,17 @@ $this - - 3 - System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 582, 280 - 582, 280 btnstartstop2 - - 1 + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 TabPage3 @@ -979,27 +980,18 @@ 9 - - 382, 30 - 295, 13 5, 115 - - frmConfig_Basic - True TabPage3 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 478, 22 @@ -1012,18 +1004,12 @@ 10 - - TabPage2 - 11, 142 11 - - cmbDatenbank - 44 @@ -1033,9 +1019,6 @@ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 11 - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1051,12 +1034,18 @@ txtUser + + 8 + 249, 17 453, 26 + + 43 + TabPage2 @@ -1069,9 +1058,6 @@ 6, 13 - - Label3 - 150, 13 @@ -1087,20 +1073,23 @@ 180, 26 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Label2 10 - - True + + 13 2 - - 255, 30 + + 8, 78 MiddleRight @@ -1126,30 +1115,29 @@ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + TabPage3 0 - - Definieren Sie hier Inhalte von Dateinamen welche von der Folderwatch-Überwachung -ausgenommen werden sollen: + + TabPage3 True - - MiddleRight + + 590, 306 MiddleLeft - - MiddleLeft + + Label1 - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 5, 14 @@ -1170,23 +1158,26 @@ ausgenommen werden sollen: Meldungsfenster für erfolgreiche Übertragung nach windream anzeigen? - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 4, 22 - - True + + TabPage2 Ordner 'SimpleIndexer' auf Desktop erzeugen + + True + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ... - - txtServer + + 382, 30 0 @@ -1203,8 +1194,11 @@ ausgenommen werden sollen: txtFolderWatch - - 4, 22 + + 37 + + + 11, 142 btnFW_OwnFiles @@ -1233,14 +1227,14 @@ ausgenommen werden sollen: MiddleRight - - 8 + + btnApplicationFolder 2 - - CheckBox2 + + cmbLanguage TabPage3 @@ -1251,6 +1245,9 @@ ausgenommen werden sollen: 4, 4, 4, 4 + + 192, 100 + 41 @@ -1263,18 +1260,18 @@ ausgenommen werden sollen: 7 + + True + 153, 13 MiddleRight - - 43 + + 1 - - en-US - True diff --git a/Global_Indexer/frmConfig_Basic.vb b/Global_Indexer/frmConfig_Basic.vb index 9d5665d..add80e4 100644 --- a/Global_Indexer/frmConfig_Basic.vb +++ b/Global_Indexer/frmConfig_Basic.vb @@ -180,7 +180,7 @@ Public Class frmConfig_Basic Else cmbLanguage.SelectedIndex = 1 End If - chkdelete_origin.Checked = CURR_DELETE_ORIGIN + 'chkdelete_origin.Checked = CURR_DELETE_ORIGIN Case 2 If ERROR_STATE = "NO DB-CONNECTION" Then MsgBox("Configurations only editable after Application started completely!", MsgBoxStyle.Exclamation) @@ -553,10 +553,10 @@ Public Class frmConfig_Basic System.Diagnostics.Process.Start("http://www.didalog.de/Support") End Sub - Private Sub chkdelete_origin_CheckedChanged(sender As Object, e As EventArgs) Handles chkdelete_origin.CheckedChanged - If CURR_DELETE_ORIGIN <> chkdelete_origin.Checked Then - CURR_DELETE_ORIGIN = chkdelete_origin.Checked - SaveConfigValue("Delete_OriginFile", CURR_DELETE_ORIGIN) - End If - End Sub + 'Private Sub chkdelete_origin_CheckedChanged(sender As Object, e As EventArgs) Handles chkdelete_origin.CheckedChanged + ' If CURR_DELETE_ORIGIN <> chkdelete_origin.Checked Then + ' CURR_DELETE_ORIGIN = chkdelete_origin.Checked + ' SaveConfigValue("Delete_OriginFile", CURR_DELETE_ORIGIN) + ' End If + 'End Sub End Class \ No newline at end of file diff --git a/Global_Indexer/frmIndex.designer.vb b/Global_Indexer/frmIndex.designer.vb index ab0ed05..0a2b721 100644 --- a/Global_Indexer/frmIndex.designer.vb +++ b/Global_Indexer/frmIndex.designer.vb @@ -22,6 +22,7 @@ Partial Class frmIndex 'Das Bearbeiten mit dem Code-Editor ist nicht möglich. _ Private Sub InitializeComponent() + Me.components = New System.ComponentModel.Container() Me.components = New System.ComponentModel.Container() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmIndex)) Me.SplitContainer1 = New System.Windows.Forms.SplitContainer() @@ -130,8 +131,8 @@ Partial Class frmIndex ' 'pnlIndex ' - Me.pnlIndex.BackColor = System.Drawing.SystemColors.ControlLight resources.ApplyResources(Me.pnlIndex, "pnlIndex") + Me.pnlIndex.BackColor = System.Drawing.SystemColors.ControlLight Me.pnlIndex.Name = "pnlIndex" ' 'Panel1 diff --git a/Global_Indexer/frmIndex.resx b/Global_Indexer/frmIndex.resx index 7e710d1..e898c4d 100644 --- a/Global_Indexer/frmIndex.resx +++ b/Global_Indexer/frmIndex.resx @@ -125,13 +125,19 @@ 0, 0 + + Top, Bottom, Left, Right + + + + True + 0, 110 - 715, 263 + 576, 263 - 8 @@ -150,6 +156,393 @@ 0 + + 17, 212 + + + CheckBox1 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 0 + + + Button1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 1 + + + ToolStrip1 + + + System.Windows.Forms.ToolStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 2 + + + lblerror + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 3 + + + cmbDokumentart + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 4 + + + Label1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel1 + + + 5 + + + Top + + + 0, 0 + + + 2, 3, 2, 3 + + + 578, 110 + + + 4 + + + Panel1 + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1.Panel1 + + + 1 + + + chkMultiIndexer + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel2 + + + 0 + + + chkdelete_origin + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel2 + + + 1 + + + Label2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel2 + + + 2 + + + txtIndexfilepath + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel2 + + + 3 + + + btnOK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel2 + + + 4 + + + Bottom + + + 0, 382 + + + 2, 3, 2, 3 + + + 578, 137 + + + 7 + + + Panel2 + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1.Panel1 + + + 2 + + + SplitContainer1.Panel1 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1 + + + 0 + + + 1477, 173 + + + WebBrowser + + + System.Windows.Forms.WebBrowser, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + grpbxMailBody + + + 0 + + + StatusStrip3 + + + System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + grpbxMailBody + + + 1 + + + Segoe UI Semibold, 9.75pt, style=Bold, Italic + + + 58, 352 + + + 200, 100 + + + 5 + + + Mail-Body: + + + grpbxMailBody + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1.Panel2 + + + 0 + + + txtBetreff + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + grpBetreff + + + 0 + + + Segoe UI Semibold, 9.75pt, style=Bold, Italic + + + 20, 64 + + + 200, 58 + + + 4 + + + Betreff + + + grpBetreff + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1.Panel2 + + + 1 + + + 1212, 173 + + + PdfViewer1 + + + DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a + + + pnlPDF + + + 0 + + + StatusStrip2 + + + System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlPDF + + + 1 + + + RibbonControl1 + + + DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a + + + pnlPDF + + + 2 + + + 67, 25 + + + 314, 308 + + + 1 + + + pnlPDF + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1.Panel2 + + + 2 + + + SplitContainer1.Panel2 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SplitContainer1 + + + 1 + + + 974, 519 + + + 578 + + + 8 + + + SplitContainer1 + + + System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + Bottom, Right @@ -225,15 +618,6 @@ 17, 212 - - Magenta - - - 117, 22 - - - Top Most = False - 0, 0 @@ -258,6 +642,15 @@ 2 + + Magenta + + + 117, 22 + + + Top Most = False + True @@ -345,33 +738,6 @@ 5 - - Top - - - 0, 0 - - - 2, 3, 2, 3 - - - 578, 110 - - - 4 - - - Panel1 - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1.Panel1 - - - 1 - True @@ -540,45 +906,6 @@ 4 - - Bottom - - - 0, 382 - - - 2, 3, 2, 3 - - - 578, 137 - - - 7 - - - Panel2 - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1.Panel1 - - - 2 - - - SplitContainer1.Panel1 - - - System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1 - - - 0 - Fill @@ -609,12 +936,6 @@ 1477, 173 - - 120, 17 - - - ToolStripStatusLabel1 - 3, 75 @@ -639,32 +960,11 @@ 1 - - Segoe UI Semibold, 9.75pt, style=Bold, Italic - - - 58, 352 - - - 200, 100 - - - 5 - - - Mail-Body: - - - grpbxMailBody - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1.Panel2 + + 120, 17 - - 0 + + ToolStripStatusLabel1 Fill @@ -693,33 +993,6 @@ 0 - - Segoe UI Semibold, 9.75pt, style=Bold, Italic - - - 20, 64 - - - 200, 58 - - - 4 - - - Betreff - - - grpBetreff - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1.Panel2 - - - 1 - Fill @@ -747,24 +1020,6 @@ 1212, 173 - - Segoe UI Semibold, 9pt, style=Bold, Italic - - - 139, 17 - - - ToolStripStatusLabel1 - - - Magenta - - - 137, 20 - - - Seitenansicht Minimal - 0, 286 @@ -789,6 +1044,24 @@ 1 + + Segoe UI Semibold, 9pt, style=Bold, Italic + + + 139, 17 + + + ToolStripStatusLabel1 + + + Magenta + + + 137, 20 + + + Seitenansicht Minimal + 0, 0 @@ -807,81 +1080,9 @@ 2 - - 67, 25 - - - 314, 308 - - - 1 - - - pnlPDF - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1.Panel2 - - - 2 - - - SplitContainer1.Panel2 - - - System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - SplitContainer1 - - - 1 - - - 974, 519 - - - 578 - - - 8 - - - SplitContainer1 - - - System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 0 - 17, 17 - - 0, 17 - - - MiddleLeft - - - False - - - 98, 17 - - - Vorschau ist aktiv - - - False - 0, 519 @@ -909,6 +1110,24 @@ 1 + + 0, 17 + + + MiddleLeft + + + False + + + 98, 17 + + + Vorschau ist aktiv + + + False + 134, 17 @@ -937,7 +1156,7 @@ True - 160 + 100 7, 17 diff --git a/Global_Indexer/frmIndex.vb b/Global_Indexer/frmIndex.vb index d1e944c..3414944 100644 --- a/Global_Indexer/frmIndex.vb +++ b/Global_Indexer/frmIndex.vb @@ -1995,8 +1995,17 @@ Public Class frmIndex anz += 1 ylbl += 60 y += 60 - + 'make y as height in fom Next + Dim pnlHeight = y - 30 + + If pnlIndex.Height < pnlHeight Then + If (Me.Height - 315) < pnlHeight Then + Me.Height = (Me.Height - 315) + pnlHeight + End If + pnlIndex.Height = pnlHeight + End If + SendKeys.Send("{TAB}") Catch ex As Exception ClassLogger.Add(" - Unexpected error in LoadIndexe_Man - Fehler: " & vbNewLine & ex.Message)