Public Class hauptfenster
Private Sub BeendenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BeendenToolStripMenuItem.Click
Me.Close()
End Sub
Private Sub Button1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ce.Enter
display.Text = ""
End Sub
Private Sub onoff_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles onoff.Click
Me.Close()
End Sub
Private Sub ÜberToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ÜberToolStripMenuItem.Click
ueber.Show()
End Sub
Private Sub eins_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles eins.Click
display.Text = display.Text + eins.Text
End Sub
Private Sub zwei_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles zwei.Click
display.Text = display.Text + zwei.Text
End Sub
Private Sub drei_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drei.Click
display.Text = display.Text + drei.Text
End Sub
Private Sub vier_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles vier.Click
display.Text = display.Text + vier.Text
End Sub
Private Sub fuenf_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles fuenf.Click
display.Text = display.Text + fuenf.Text
End Sub
Private Sub sechs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sechs.Click
display.Text = display.Text + sechs.Text
End Sub
Private Sub sieben_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sieben.Click
display.Text = display.Text + sieben.Text
End Sub
Private Sub acht_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles acht.Click
display.Text = display.Text + acht.Text
End Sub
Private Sub neun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles neun.Click
display.Text = display.Text + neun.Text
End Sub
Private Sub null_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles null.Click
display.Text = display.Text + null.Text
End Sub
Private Sub komma_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles komma.Click
display.Text = display.Text + ","
End Sub
Private Sub ausrechen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ausrechen.Click
display.Text = MicrosoftScriptControl1.Eval(display.Text)
End Sub
End Class