From 3e9e74040e3284938cba4ef44cc9b0b220b45115 Mon Sep 17 00:00:00 2001 From: maxwgod <30300032+maxwbot@users.noreply.github.com> Date: Fri, 29 Oct 2021 07:40:57 -0300 Subject: [PATCH] Update CefSharp_Browser.Designer.vb Adjust to make 'Web Browser' dinamic; Windows adjustment to be resizable. --- .../CefSharp_Browser.Designer.vb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Crunchyroll Downloader/CefSharp_Browser.Designer.vb b/Crunchyroll Downloader/CefSharp_Browser.Designer.vb index 0996430..1e1c217 100644 --- a/Crunchyroll Downloader/CefSharp_Browser.Designer.vb +++ b/Crunchyroll Downloader/CefSharp_Browser.Designer.vb @@ -1,4 +1,4 @@ - + Partial Class CefSharp_Browser Inherits System.Windows.Forms.Form @@ -34,11 +34,13 @@ Partial Class CefSharp_Browser ' 'TextBox1 ' + Me.TextBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.TextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.TextBox1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.TextBox1.Location = New System.Drawing.Point(291, 1) Me.TextBox1.Name = "TextBox1" - Me.TextBox1.Size = New System.Drawing.Size(986, 26) + Me.TextBox1.Size = New System.Drawing.Size(976, 26) Me.TextBox1.TabIndex = 1 ' 'Button1 @@ -62,6 +64,9 @@ Partial Class CefSharp_Browser ' 'Panel1 ' + Me.Panel1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ + Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.Panel1.Controls.Add(Me.WebBrowser1) Me.Panel1.Location = New System.Drawing.Point(0, 30) Me.Panel1.Name = "Panel1" @@ -71,8 +76,9 @@ Partial Class CefSharp_Browser 'WebBrowser1 ' Me.WebBrowser1.ActivateBrowserOnCreation = False - 'TODO: Ausnahme "Ungültiger primitiver Typ: System.IntPtr. Verwenden Sie CodeObjectCreateExpression." beim Generieren des Codes für "". - Me.WebBrowser1.Dock = System.Windows.Forms.DockStyle.Fill + Me.WebBrowser1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ + Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.WebBrowser1.Location = New System.Drawing.Point(0, 0) Me.WebBrowser1.Name = "WebBrowser1" Me.WebBrowser1.Size = New System.Drawing.Size(1280, 720) @@ -91,9 +97,7 @@ Partial Class CefSharp_Browser Me.Controls.Add(Me.Btn_Scan) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.TextBox1) - Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle - Me.MaximizeBox = False - Me.MinimizeBox = False + Me.MinimumSize = New System.Drawing.Size(480, 480) Me.Name = "CefSharp_Browser" Me.ShowIcon = False Me.Text = "Browser"