Forum » Programiranje » Visual Basic.NET
Visual Basic.NET
luksorzi ::
mene pa zanima kaj je tuki narobe:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim n As Integer
n = 27
'n(+1 = 28)
'MessageBox˝.Show(˝Value of n + 1 = ˝ & n, ˝variables˝)
End Sub
End Class
Program naj bi po pritisku na gumb seštel 27+1
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim n As Integer
n = 27
'n(+1 = 28)
'MessageBox˝.Show(˝Value of n + 1 = ˝ & n, ˝variables˝)
End Sub
End Class
Program naj bi po pritisku na gumb seštel 27+1
darkolord ::
Ob pritisku na gumb nastaviš n na 27, to je pa tudi vse (ostalo je zakomentirano)...
Probaj takole:
Probaj takole:
Dim n As Integer n = 27 n = n + 1 MessageBox.Show("Value of n + 1 = " & n, "variables")
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Visual BasicOddelek: Programiranje | 3432 (2458) | cekr |
» | Odpiranje programa v Visual StudioOddelek: Programiranje | 911 (769) | darkolord |
» | vb.net: dynamic textboxOddelek: Programiranje | 1180 (1070) | saule |
» | Akcije nad grafiko v VBOddelek: Programiranje | 1270 (1083) | damijani |
» | [Visual studio .NET] Rabim pomočOddelek: Programiranje | 1593 (1435) | darkolord |