Langsung ke konten utama

Postingan

Menampilkan postingan dari Maret, 2021

Random Numpad Visual Basic.NET Program

  Here I give you the source code to make a shuffle number like image above(random numpad). IDE: Microsoft Visual Studio Programming Language: VB.NET First, you open your visual studio and create new project. Then, put 9 Buttons into your form and type this code below to your vb file project. Public Class RandomNumpad Private Sub RandomNumpad_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim temp, index As String Dim Buttons() As Control = {Button1, Button2, Button3, Button4, Button5, Button6, Button7, Button8, Button9} Dim Rand As New Random For i As Integer = 0 To 8 index = Rand.Next(1, 9) temp = Buttons(i).Text Buttons(i).Text = Buttons(index).Text Buttons(index).Text = temp Next End Sub End Class

Write about a few of your favorite family traditions

FIRST , I don't use the word " favorite family " traditions cause we mostly just gathering and having meal together. We do local traditions and other traditions that are rooted from our religion. LOCAL TRADITIONS ~ Independence Day An event in 17 August Purpose: remembering our Independence day What we do: attending morning walk event, exchanging gift ~ Islamic New Year An event in 1 Muharram Hijri Calendar Purpose: celebrating Islamic New Year when Muhammad did Hijrah What we do: having meal together. ~ Chinese New Year An event in 一月 (yī yuè) Chinese Lunar Calendar Purpose: keep up good relationship between family What we do: meeting up with family, having meal together, sharing red envelope. ~ Firing Carbide Cannon A unique tradition in a city called Pontianak. The cannon was used by Sultan Syarif Abdurrahman Al Kadrie to scare ghost (kuntilanak) away as they bothered his people to build Masjid Jami' and Kadriyah Palace near Kapuas river. Purpose: as a sign of...