GraphQLTest: Add Proxy config

This commit is contained in:
Jonathan Jenne
2020-05-05 13:21:35 +02:00
parent 729b4d8195
commit 6e577627d3
4 changed files with 154 additions and 18 deletions

View File

@@ -42,13 +42,21 @@ Partial Class frmMain
Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.btnLogin = New System.Windows.Forms.Button()
Me.ProgressBar1 = New System.Windows.Forms.ProgressBar()
Me.txtProxyHost = New System.Windows.Forms.TextBox()
Me.txtProxyUser = New System.Windows.Forms.TextBox()
Me.txtProxyPass = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label10 = New System.Windows.Forms.Label()
Me.txtProxyPort = New System.Windows.Forms.TextBox()
Me.Label11 = New System.Windows.Forms.Label()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.SuspendLayout()
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(826, 300)
Me.Button1.Location = New System.Drawing.Point(826, 386)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(96, 31)
Me.Button1.TabIndex = 0
@@ -148,7 +156,7 @@ Partial Class frmMain
Me.txtResults.Multiline = True
Me.txtResults.Name = "txtResults"
Me.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
Me.txtResults.Size = New System.Drawing.Size(458, 260)
Me.txtResults.Size = New System.Drawing.Size(458, 342)
Me.txtResults.TabIndex = 3
'
'txtConnectionString
@@ -172,7 +180,7 @@ Partial Class frmMain
'
Me.ComboBox1.FormattingEnabled = True
Me.ComboBox1.Items.AddRange(New Object() {"SAPDaten"})
Me.ComboBox1.Location = New System.Drawing.Point(106, 240)
Me.ComboBox1.Location = New System.Drawing.Point(106, 352)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(338, 21)
Me.ComboBox1.TabIndex = 4
@@ -180,7 +188,7 @@ Partial Class frmMain
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(12, 243)
Me.Label7.Location = New System.Drawing.Point(12, 355)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(35, 13)
Me.Label7.TabIndex = 2
@@ -192,7 +200,7 @@ Partial Class frmMain
Me.TabControl1.Location = New System.Drawing.Point(450, 6)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(472, 292)
Me.TabControl1.Size = New System.Drawing.Size(472, 374)
Me.TabControl1.TabIndex = 5
'
'TabPage1
@@ -201,14 +209,14 @@ Partial Class frmMain
Me.TabPage1.Location = New System.Drawing.Point(4, 22)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage1.Size = New System.Drawing.Size(464, 266)
Me.TabPage1.Size = New System.Drawing.Size(464, 348)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "Raw GraphQL Result"
Me.TabPage1.UseVisualStyleBackColor = True
'
'btnLogin
'
Me.btnLogin.Location = New System.Drawing.Point(724, 300)
Me.btnLogin.Location = New System.Drawing.Point(724, 386)
Me.btnLogin.Name = "btnLogin"
Me.btnLogin.Size = New System.Drawing.Size(96, 31)
Me.btnLogin.TabIndex = 0
@@ -217,16 +225,80 @@ Partial Class frmMain
'
'ProgressBar1
'
Me.ProgressBar1.Location = New System.Drawing.Point(12, 311)
Me.ProgressBar1.Location = New System.Drawing.Point(12, 394)
Me.ProgressBar1.Name = "ProgressBar1"
Me.ProgressBar1.Size = New System.Drawing.Size(432, 23)
Me.ProgressBar1.TabIndex = 6
'
'txtProxyHost
'
Me.txtProxyHost.Location = New System.Drawing.Point(106, 240)
Me.txtProxyHost.Name = "txtProxyHost"
Me.txtProxyHost.Size = New System.Drawing.Size(338, 20)
Me.txtProxyHost.TabIndex = 1
'
'txtProxyUser
'
Me.txtProxyUser.Location = New System.Drawing.Point(106, 292)
Me.txtProxyUser.Name = "txtProxyUser"
Me.txtProxyUser.Size = New System.Drawing.Size(338, 20)
Me.txtProxyUser.TabIndex = 1
'
'txtProxyPass
'
Me.txtProxyPass.Location = New System.Drawing.Point(106, 318)
Me.txtProxyPass.Name = "txtProxyPass"
Me.txtProxyPass.Size = New System.Drawing.Size(338, 20)
Me.txtProxyPass.TabIndex = 1
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Location = New System.Drawing.Point(12, 243)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(58, 13)
Me.Label8.TabIndex = 2
Me.Label8.Text = "Proxy Host"
'
'Label9
'
Me.Label9.AutoSize = True
Me.Label9.Location = New System.Drawing.Point(12, 295)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(58, 13)
Me.Label9.TabIndex = 2
Me.Label9.Text = "Proxy User"
'
'Label10
'
Me.Label10.AutoSize = True
Me.Label10.Location = New System.Drawing.Point(12, 321)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(82, 13)
Me.Label10.TabIndex = 2
Me.Label10.Text = "Proxy Password"
'
'txtProxyPort
'
Me.txtProxyPort.Location = New System.Drawing.Point(106, 266)
Me.txtProxyPort.Name = "txtProxyPort"
Me.txtProxyPort.Size = New System.Drawing.Size(338, 20)
Me.txtProxyPort.TabIndex = 1
'
'Label11
'
Me.Label11.AutoSize = True
Me.Label11.Location = New System.Drawing.Point(12, 269)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(55, 13)
Me.Label11.TabIndex = 2
Me.Label11.Text = "Proxy Port"
'
'frmMain
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(934, 346)
Me.ClientSize = New System.Drawing.Size(934, 429)
Me.Controls.Add(Me.ProgressBar1)
Me.Controls.Add(Me.TabControl1)
Me.Controls.Add(Me.ComboBox1)
@@ -234,14 +306,22 @@ Partial Class frmMain
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.Label10)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label9)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label11)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.txtConnectionString)
Me.Controls.Add(Me.txtCertPass)
Me.Controls.Add(Me.txtCertFile)
Me.Controls.Add(Me.txtProxyPass)
Me.Controls.Add(Me.txtPassword)
Me.Controls.Add(Me.txtProxyUser)
Me.Controls.Add(Me.txtUsername)
Me.Controls.Add(Me.txtProxyPort)
Me.Controls.Add(Me.txtProxyHost)
Me.Controls.Add(Me.txtBaseUrl)
Me.Controls.Add(Me.btnLogin)
Me.Controls.Add(Me.Button1)
@@ -275,4 +355,12 @@ Partial Class frmMain
Friend WithEvents TabPage1 As TabPage
Friend WithEvents btnLogin As Button
Friend WithEvents ProgressBar1 As ProgressBar
Friend WithEvents txtProxyHost As TextBox
Friend WithEvents txtProxyUser As TextBox
Friend WithEvents txtProxyPass As TextBox
Friend WithEvents Label8 As Label
Friend WithEvents Label9 As Label
Friend WithEvents Label10 As Label
Friend WithEvents txtProxyPort As TextBox
Friend WithEvents Label11 As Label
End Class