Forma; 2 tane TextBox ve 1 Tane Button ekleyin...
Aşağıdaki kodu buttona çift tıklayarak click olayına tek satırlık kodu yazın.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox2.Text = Convert.ToDouble((TextBox1.Text) ^ (1 / 2)) End Sub
Hiç yorum yok: