Tugas 3 PBKK - Latihan WPF
Latihan Penggunaan
WPF (Windows Presentation Foundation)
Pada tugas kali ini, saya membuat GreetingApp dan Dashboard UI menggunakan WPF.
1. GreetingApp
Berikut beberapa screenshot proses pengerjaan.
Untuk aplikasi yang dapat di-run ada di link berikut: Link Google Drive
Repository github berada di link berikut: Repo Github
Berikut code yang berada di MainWindow.xaml.vb:
Class MainWindow
Private Sub TextBox_TextChanged(sender As Object, e As TextChangedEventArgs)
End Sub
Private Sub TextBox_G(sender As Object, e As RoutedEventArgs
End Sub
Private Sub
GreetingTextBox_GotFocus(sender As Object, e As RoutedEventArgs) Handles GreetingTextBox.GotFocus
If (GreetingTextBox.Text = "Type Your Greeting Here") Then
GreetingTextBox.Text = ""
End If
End Sub
Private Sub
SubmitGreetingButton_Click(sender As Object, e As RoutedEventArgs) Handles SubmitGreetingButon.Click
Dim Form2 As GreetingWindow = New GreetingWindow()
Form2.GreetingLabel.Content = GreetingTextBox.Text + "!"
Form2.Show()
End Sub
End Class
2. Dashboard UI
Berikut beberapa screenshot proses pengerjaan.
Selanjutnya berikut screenshot hasil pengerjaan.
Terakhir, referensi yang saya gunakan:
Komentar
Posting Komentar