Programming Note for Beginner - 2 (VB.NET 2008)

၂။ TextBox Enter ေခါက္လ်င္ ေနာက္ TextBox တစ္ခုသို႔ ဆင္းရန္

     Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown

        If e.KeyCode = Keys.Enter Then

            TextBox2.Focus()

        End If

        TextBox2.Text = e.KeyValue.ToString()

    End Sub

  

ကၽြန္ေတာ္ ေလ႔လာမိတာေလးေတြ ကို ကၽြန္ေတာ္႔လို စတင္ေလ႔လာကာစ လူငယ္ေတြ အတြက္ တင္ေပးလိုက္ပါတယ္။ ပိုေကာင္းတဲ႔ ကုဒ္ေလးေတြ ရွိရင္ ျပန္လည္မွ်ေဝေပးၾကပါခင္ဗ်ာ။

Please Share This Post

Share on Facebook Plus on Google+