Common/SQLEditor: allow hide sql connection, improve placeholder grid, auto resize placeholder grid on form resize, auto set connection id to 1, preselect sql connection

This commit is contained in:
Jonathan Jenne
2022-08-09 11:21:03 +02:00
parent 8de0d67c60
commit f3dea1e225
4 changed files with 88 additions and 47 deletions

View File

@@ -48,7 +48,7 @@ Public Class frmStart
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
Dim oForm As New frmSQLEditor(LogConfig, Database) With {
.SQLCommand = "SELECT * FROM TBDD_USER WHERE EMAIL = '{#USER#EMAIL}'",
.SQLConnection = 1,
.SQLConnection = 0,
.PlaceholdersAutomatic = New Dictionary(Of String, String) From {{"Testindex 1", "test 1"}, {"Testindex 2", "test 2"}},
.PlaceholdersAutomaticPrefix = "MAN",
.PlaceholdersWindream = New List(Of String) From {"String Index 1", "String Index 2"}