Codigo en visual basic 2008 para calculadora sencilla

Páginas: 2 (469 palabras) Publicado: 10 de agosto de 2009
Option Explicit On
Public Class Calculadora
Dim primernumero As Single
Dim segundonumero As Single
Dim resultadocalculo As Single
Dim calculo As String
Private Subcdm1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm1.Click
txtDisplay.Text = txtDisplay.Text & "1"
End Sub
Private Sub cdm2_Click(ByVal sender AsSystem.Object, ByVal e As System.EventArgs) Handles cdm2.Click
txtDisplay.Text = txtDisplay.Text & "2"
End Sub
Private Sub cdm3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles cdm3.Click
txtDisplay.Text = txtDisplay.Text & "3"
End Sub
Private Sub cdm4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm4.ClicktxtDisplay.Text = txtDisplay.Text & "4"
End Sub
Private Sub cdm5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm5.Click
txtDisplay.Text = txtDisplay.Text& "5"
End Sub
Private Sub cdm6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm6.Click
txtDisplay.Text = txtDisplay.Text & "6"
End Sub
PrivateSub cdm7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm7.Click
txtDisplay.Text = txtDisplay.Text & "7"
End Sub
Private Sub cdm8_Click(ByVal sender AsSystem.Object, ByVal e As System.EventArgs) Handles cdm8.Click
txtDisplay.Text = txtDisplay.Text & "8"
End Sub
Private Sub cdm9_Click(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles cdm9.Click
txtDisplay.Text = txtDisplay.Text & "9"
End Sub
Private Sub cdm0_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handlescdm0.Click
txtDisplay.Text = txtDisplay.Text & "0"
End Sub
Private Sub cdm10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdm10.Click
txtDisplay.Text...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Codigo en visual basic 2008 para calculadora sencilla
  • Codigo Visual Basic Para Transparencia
  • PROGRAMA DE UN PUNTO DE VENTAS EN VISUAL BASIC 2008 Y ACCESS 2008 (SENCILLO)
  • Programa Para Hacer Una Calculadora En Visual Basic
  • Codigo para imprimir un DataGrid en Visual Basic 2010
  • VISUAL BASIC 2008
  • Códigos Para Visual Basic
  • Calculadora En Visual Basic

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS