3 posts
· 2 views
· Last UP: 20/09/2010 18:17
problema con VB(visual basic)
se qualcuno mi può dare una mano... CODICE Public Class calcolatore 'codice design Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click End Sub Private Sub calcola_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calcola.Click Dim primoNumero, secondoNumero 'divisione primoNumero = lunghezza secondoNumero = tempo velocità = primoNumero / secondoNumero End Sub 'chiusura si/no Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing Dim _msgresult As DialogResult _msgresult = MessageBox.Show("vuoi chiudere il programma ?", "Chiusura in corso... By Misl6", MessageBoxButtons.YesNo, MessageBoxIcon.Information) If _msgresult = Windows.Forms.DialogResult.Yes Then e.Cancel = False Else e.Cancel = True End If End Sub Private Sub lunghezza_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked End Sub End Class dice che non può fare il cast da il numeric up-down..
20/09/10 18:15
0
Spiega almeno cosa vorresti fare.
20/09/10 18:17
0
devo semplicemente creare un programma che divida due numeri..è solo un test..si potrebbe benissimo fare con la calcolatrice..
Log in to reply to this topic.
Messaggio simile al precedente
Il testo sembra un duplicato o un tentativo di UP. Per far risalire la discussione usa il pulsante UP: mantiene il thread pi├╣ ordinato. Puoi comunque pubblicare il messaggio se lo desideri.
Select message
False or abusive reports are misconduct and may lead to account restrictions and other action by staff.