Membuat menu ShutDown

Menu ShutDown f78

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Shell("shutdown -l -f -t 0")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Shell("shutdown -r -f -t 0")
    End Sub


    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Shell("shutdown -s -f -t 0")
    End Sub
End Class


Postingan terkait:

Belum ada tanggapan untuk "Membuat menu ShutDown"

Post a Comment