From a7df0b57e49bd6736dd25e3e633c41af4568f1f2 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 12 Oct 2018 16:18:37 +0200 Subject: [PATCH] jj: TestGUI add lookupgrid --- TestGUI/ApplicationEvents.vb | 10 ++++++++++ TestGUI/Form1.Designer.vb | 14 ++++++++++++++ TestGUI/TestGUI.vbproj | 4 ++++ 3 files changed, 28 insertions(+) create mode 100644 TestGUI/ApplicationEvents.vb diff --git a/TestGUI/ApplicationEvents.vb b/TestGUI/ApplicationEvents.vb new file mode 100644 index 00000000..bc254e28 --- /dev/null +++ b/TestGUI/ApplicationEvents.vb @@ -0,0 +1,10 @@ +Namespace My + ' Für MyApplication sind folgende Ereignisse verfügbar: + ' Startup: Wird beim Starten der Anwendung noch vor dem Erstellen des Startformulars ausgelöst. + ' Shutdown: Wird nach dem Schließen aller Anwendungsformulare ausgelöst. Dieses Ereignis wird nicht ausgelöst, wenn die Anwendung mit einem Fehler beendet wird. + ' UnhandledException: Wird bei einem Ausnahmefehler ausgelöst. + ' StartupNextInstance: Wird beim Starten einer Einzelinstanzanwendung ausgelöst, wenn die Anwendung bereits aktiv ist. + ' NetworkAvailabilityChanged: Wird beim Herstellen oder Trennen der Netzwerkverbindung ausgelöst. + Partial Friend Class MyApplication + End Class +End Namespace diff --git a/TestGUI/Form1.Designer.vb b/TestGUI/Form1.Designer.vb index 80cb3831..9a7c16ee 100644 --- a/TestGUI/Form1.Designer.vb +++ b/TestGUI/Form1.Designer.vb @@ -43,6 +43,7 @@ Partial Class Form1 Me.TextBox1 = New System.Windows.Forms.TextBox() Me.Label6 = New System.Windows.Forms.Label() Me.Button4 = New System.Windows.Forms.Button() + Me.Grid1 = New DigitalData.Controls.LookupGrid.Grid() CType(Me.GridControl1, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.GridView1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() @@ -228,11 +229,23 @@ Partial Class Form1 Me.Button4.Text = "Test Background Worker Logging" Me.Button4.UseVisualStyleBackColor = True ' + 'Grid1 + ' + Me.Grid1.AutoSize = True + Me.Grid1.BackColor = System.Drawing.Color.Transparent + Me.Grid1.DataSource = Nothing + Me.Grid1.Location = New System.Drawing.Point(686, 214) + Me.Grid1.Name = "Grid1" + Me.Grid1.SelectedValues = Nothing + Me.Grid1.Size = New System.Drawing.Size(270, 24) + Me.Grid1.TabIndex = 23 + ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(1050, 487) + Me.Controls.Add(Me.Grid1) Me.Controls.Add(Me.Button4) Me.Controls.Add(Me.Label6) Me.Controls.Add(Me.TextBox1) @@ -284,4 +297,5 @@ Partial Class Form1 Friend WithEvents TextBox1 As TextBox Friend WithEvents Label6 As Label Friend WithEvents Button4 As Button + Friend WithEvents Grid1 As DigitalData.Controls.LookupGrid.Grid End Class diff --git a/TestGUI/TestGUI.vbproj b/TestGUI/TestGUI.vbproj index c70e9489..e3b384f0 100644 --- a/TestGUI/TestGUI.vbproj +++ b/TestGUI/TestGUI.vbproj @@ -143,6 +143,10 @@ + + {3dcd6d1a-c830-4241-b7e4-27430e7ea483} + LookupGrid + {903b2d7d-3b80-4be9-8713-7447b704e1b0} Logging