Compare commits
No commits in common. "main" and "1_ok_button" have entirely different histories.
main
...
1_ok_butto
2 changed files with 1 additions and 19 deletions
14
Form1.Designer.vb
generated
14
Form1.Designer.vb
generated
|
|
@ -23,7 +23,6 @@ Partial Class Form1
|
||||||
<System.Diagnostics.DebuggerStepThrough()> _
|
<System.Diagnostics.DebuggerStepThrough()> _
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.Button1 = New System.Windows.Forms.Button()
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
Me.Button2 = New System.Windows.Forms.Button()
|
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'Button1
|
'Button1
|
||||||
|
|
@ -32,24 +31,14 @@ Partial Class Form1
|
||||||
Me.Button1.Name = "Button1"
|
Me.Button1.Name = "Button1"
|
||||||
Me.Button1.Size = New System.Drawing.Size(107, 39)
|
Me.Button1.Size = New System.Drawing.Size(107, 39)
|
||||||
Me.Button1.TabIndex = 0
|
Me.Button1.TabIndex = 0
|
||||||
Me.Button1.Text = "Action1"
|
Me.Button1.Text = "OK"
|
||||||
Me.Button1.UseVisualStyleBackColor = True
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'Button2
|
|
||||||
'
|
|
||||||
Me.Button2.Location = New System.Drawing.Point(310, 178)
|
|
||||||
Me.Button2.Name = "Button2"
|
|
||||||
Me.Button2.Size = New System.Drawing.Size(128, 45)
|
|
||||||
Me.Button2.TabIndex = 1
|
|
||||||
Me.Button2.Text = "Action2"
|
|
||||||
Me.Button2.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'Form1
|
'Form1
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||||
Me.Controls.Add(Me.Button2)
|
|
||||||
Me.Controls.Add(Me.Button1)
|
Me.Controls.Add(Me.Button1)
|
||||||
Me.Name = "Form1"
|
Me.Name = "Form1"
|
||||||
Me.Text = "Form1"
|
Me.Text = "Form1"
|
||||||
|
|
@ -58,5 +47,4 @@ Partial Class Form1
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Friend WithEvents Button1 As Button
|
Friend WithEvents Button1 As Button
|
||||||
Friend WithEvents Button2 As Button
|
|
||||||
End Class
|
End Class
|
||||||
|
|
|
||||||
6
Form1.vb
6
Form1.vb
|
|
@ -1,9 +1,3 @@
|
||||||
Public Class Form1
|
Public Class Form1
|
||||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
|
||||||
MessageBox.Show("hier käme Action1")
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
|
||||||
MessageBox.Show("hier käme Action2")
|
|
||||||
End Sub
|
|
||||||
End Class
|
End Class
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue