vb.net - Square of value VB 2010 -
How can I write a program that is a square of values in the text box and each time the button is clicked it adds to the list is. Thanks to 0 to 100000. Thanks to this is that I have yet to open the public square Frames Square
System.Object, byVal e as a ByVal sender. EventArgs handles btnGo.Click Dim x double Double = txtNumber.Text as the double number in the form of lstSquare.Items.Add (number * number) x = number end sub-private sub-btnStop_Click (ByVal Sender as System.Object, System.EventArgs as ByVal E) P> Here's another Do this, hope that it helps: If IsNumeric (TextBox1.Text) then double = CDBL (text box 1 text) in the form of slow DBL dbl * = dbl ListBox2 .ems.Add (dbl) other messageback. ("No entered value is entered"). If the end
Comments
Post a Comment