From fdbb348f7d98090143fd7ad6445cf51ff15b0c95 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Wed, 12 Feb 2025 14:11:50 +0100 Subject: [PATCH] MS LookUpGrid --- Controls.LookupGrid/frmLookupGrid.Designer.vb | 4 +- Controls.LookupGrid/frmLookupGrid.resx | 13 +++--- GUIs.Test.ZUGFeRDTest/Form1.Designer.vb | 40 ++++++++++++------- GUIs.Test.ZUGFeRDTest/Form1.vb | 5 ++- GUIs.Test.ZUGFeRDTest/ZUGFeRDTest.vbproj | 9 ++--- 5 files changed, 40 insertions(+), 31 deletions(-) diff --git a/Controls.LookupGrid/frmLookupGrid.Designer.vb b/Controls.LookupGrid/frmLookupGrid.Designer.vb index 60e143c4..f92eb661 100644 --- a/Controls.LookupGrid/frmLookupGrid.Designer.vb +++ b/Controls.LookupGrid/frmLookupGrid.Designer.vb @@ -67,13 +67,15 @@ Partial Class frmLookupGrid ' 'btnClear ' - resources.ApplyResources(Me.btnClear, "btnClear") Me.btnClear.DialogResult = System.Windows.Forms.DialogResult.OK + resources.ApplyResources(Me.btnClear, "btnClear") Me.btnClear.Name = "btnClear" Me.btnClear.UseVisualStyleBackColor = True ' 'frmLookupGrid ' + Me.Appearance.BackColor = System.Drawing.Color.White + Me.Appearance.Options.UseBackColor = True resources.ApplyResources(Me, "$this") Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.Controls.Add(Me.gridLookup) diff --git a/Controls.LookupGrid/frmLookupGrid.resx b/Controls.LookupGrid/frmLookupGrid.resx index 1fd0cf53..0d72761d 100644 --- a/Controls.LookupGrid/frmLookupGrid.resx +++ b/Controls.LookupGrid/frmLookupGrid.resx @@ -147,7 +147,7 @@ 12, 2 - 364, 225 + 364, 262 @@ -189,14 +189,11 @@ 0 - - Top, Right - - 240, 10 + 135, 10 - 136, 23 + 117, 23 0 @@ -220,7 +217,7 @@ Bottom - 0, 236 + 0, 273 6, 6, 6, 6 @@ -250,7 +247,7 @@ 6, 13 - 388, 281 + 388, 318 390, 293 diff --git a/GUIs.Test.ZUGFeRDTest/Form1.Designer.vb b/GUIs.Test.ZUGFeRDTest/Form1.Designer.vb index ecee4e8f..98fd54f2 100644 --- a/GUIs.Test.ZUGFeRDTest/Form1.Designer.vb +++ b/GUIs.Test.ZUGFeRDTest/Form1.Designer.vb @@ -29,8 +29,8 @@ Partial Class Form1 Me.Button3 = New System.Windows.Forms.Button() Me.Button4 = New System.Windows.Forms.Button() Me.GroupBox1 = New System.Windows.Forms.GroupBox() - Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.ButtonValidateXMLOnly = New System.Windows.Forms.Button() + Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.Button7 = New System.Windows.Forms.Button() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.txtMD5Checksum = New System.Windows.Forms.TextBox() @@ -41,6 +41,7 @@ Partial Class Form1 Me.GroupBox5 = New System.Windows.Forms.GroupBox() Me.Button5 = New System.Windows.Forms.Button() Me.OpenFileDialog2 = New System.Windows.Forms.OpenFileDialog() + Me.Button1 = New System.Windows.Forms.Button() Me.GroupBox1.SuspendLayout() Me.GroupBox2.SuspendLayout() Me.GroupBox3.SuspendLayout() @@ -103,34 +104,34 @@ Partial Class Form1 ' Me.GroupBox1.Controls.Add(Me.ButtonValidateXMLOnly) Me.GroupBox1.Controls.Add(Me.btRunJob) - Me.GroupBox1.Location = New System.Drawing.Point(12, 12) + Me.GroupBox1.Location = New System.Drawing.Point(12, 58) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(360, 92) Me.GroupBox1.TabIndex = 7 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "Run Job like in ZUGFeRD Service" ' + 'ButtonValidateXMLOnly + ' + Me.ButtonValidateXMLOnly.Location = New System.Drawing.Point(6, 48) + Me.ButtonValidateXMLOnly.Name = "ButtonValidateXMLOnly" + Me.ButtonValidateXMLOnly.Size = New System.Drawing.Size(221, 23) + Me.ButtonValidateXMLOnly.TabIndex = 4 + Me.ButtonValidateXMLOnly.Text = "Run XML Job (spez. Configuration)" + Me.ButtonValidateXMLOnly.UseVisualStyleBackColor = True + ' 'GroupBox2 ' Me.GroupBox2.Controls.Add(Me.Button2) Me.GroupBox2.Controls.Add(Me.Button7) Me.GroupBox2.Controls.Add(Me.Button3) - Me.GroupBox2.Location = New System.Drawing.Point(12, 110) + Me.GroupBox2.Location = New System.Drawing.Point(12, 156) Me.GroupBox2.Name = "GroupBox2" - Me.GroupBox2.Size = New System.Drawing.Size(360, 155) + Me.GroupBox2.Size = New System.Drawing.Size(360, 109) Me.GroupBox2.TabIndex = 8 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "Run Functions on a single file (needs Breakpoint)" ' - 'ButtonValidateXMLOnly - ' - Me.ButtonValidateXMLOnly.Location = New System.Drawing.Point(6, 48) - Me.ButtonValidateXMLOnly.Name = "ButtonValidateXMLOnly" - Me.ButtonValidateXMLOnly.Size = New System.Drawing.Size(221, 23) - Me.ButtonValidateXMLOnly.TabIndex = 4 - Me.ButtonValidateXMLOnly.Text = "Run XML Job (spez. Configuration)" - Me.ButtonValidateXMLOnly.UseVisualStyleBackColor = True - ' 'Button7 ' Me.Button7.Location = New System.Drawing.Point(6, 77) @@ -173,7 +174,7 @@ Partial Class Form1 Me.GroupBox4.Controls.Add(Me.txtPropName) Me.GroupBox4.Location = New System.Drawing.Point(12, 362) Me.GroupBox4.Name = "GroupBox4" - Me.GroupBox4.Size = New System.Drawing.Size(360, 122) + Me.GroupBox4.Size = New System.Drawing.Size(360, 80) Me.GroupBox4.TabIndex = 11 Me.GroupBox4.TabStop = False Me.GroupBox4.Text = "GroupBox4" @@ -211,11 +212,21 @@ Partial Class Form1 Me.OpenFileDialog2.FileName = "OpenFileDialog2" Me.OpenFileDialog2.Filter = "XML files (*.xml)|*.xml" ' + 'Button1 + ' + Me.Button1.Location = New System.Drawing.Point(18, 12) + Me.Button1.Name = "Button1" + Me.Button1.Size = New System.Drawing.Size(180, 23) + Me.Button1.TabIndex = 13 + Me.Button1.Text = "Open Logpath" + Me.Button1.UseVisualStyleBackColor = True + ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(916, 633) + Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.GroupBox5) Me.Controls.Add(Me.GroupBox4) Me.Controls.Add(Me.GroupBox3) @@ -254,4 +265,5 @@ Partial Class Form1 Friend WithEvents Button5 As Button Friend WithEvents ButtonValidateXMLOnly As Button Friend WithEvents OpenFileDialog2 As OpenFileDialog + Friend WithEvents Button1 As Button End Class diff --git a/GUIs.Test.ZUGFeRDTest/Form1.vb b/GUIs.Test.ZUGFeRDTest/Form1.vb index fe6ac741..dd52a29d 100644 --- a/GUIs.Test.ZUGFeRDTest/Form1.vb +++ b/GUIs.Test.ZUGFeRDTest/Form1.vb @@ -9,7 +9,6 @@ Imports DigitalData.Modules.Logging Public Class Form1 Private _logConfig As LogConfig Private _logger As Logger - Private _firebird As Firebird Private _mssql As MSSQLServer Private _zugferd As ZUGFeRDInterface Private _GDPictureVersion As String @@ -282,5 +281,7 @@ Public Class Form1 End Sub - + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + Process.Start(_logConfig.LogDirectory) + End Sub End Class diff --git a/GUIs.Test.ZUGFeRDTest/ZUGFeRDTest.vbproj b/GUIs.Test.ZUGFeRDTest/ZUGFeRDTest.vbproj index 1d104d35..c7ffabcc 100644 --- a/GUIs.Test.ZUGFeRDTest/ZUGFeRDTest.vbproj +++ b/GUIs.Test.ZUGFeRDTest/ZUGFeRDTest.vbproj @@ -50,12 +50,10 @@ On - - False + ..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll - - False + ..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll @@ -66,8 +64,7 @@ False ..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll - - False + ..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll