From d36e659c72a23261cec2c80edb3f03cd544ef601 Mon Sep 17 00:00:00 2001 From: mw Date: Mon, 15 Jan 2024 10:19:17 +0100 Subject: [PATCH] Added OK button closes #1 --- App1.vbproj | 3 ++ Form1.Designer.vb | 21 +++++++- Form1.resx | 120 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 Form1.resx diff --git a/App1.vbproj b/App1.vbproj index 50fabe9..4abe32b 100644 --- a/App1.vbproj +++ b/App1.vbproj @@ -97,6 +97,9 @@ + + Form1.vb + VbMyResourcesResXFileCodeGenerator Resources.Designer.vb diff --git a/Form1.Designer.vb b/Form1.Designer.vb index a418df0..500403f 100644 --- a/Form1.Designer.vb +++ b/Form1.Designer.vb @@ -22,10 +22,29 @@ Partial Class Form1 'Do not modify it using the code editor. _ Private Sub InitializeComponent() - components = New System.ComponentModel.Container() + Me.Button1 = New System.Windows.Forms.Button() + Me.SuspendLayout() + ' + 'Button1 + ' + Me.Button1.Location = New System.Drawing.Point(376, 285) + Me.Button1.Name = "Button1" + Me.Button1.Size = New System.Drawing.Size(107, 39) + Me.Button1.TabIndex = 0 + Me.Button1.Text = "OK" + 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(800, 450) + Me.Controls.Add(Me.Button1) + Me.Name = "Form1" Me.Text = "Form1" + Me.ResumeLayout(False) + End Sub + Friend WithEvents Button1 As Button End Class diff --git a/Form1.resx b/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file -- 2.49.1