Apa yang salah dengan kode WPF berikut?
Class Window1 Kelas Window1
Sub OK_Click(sender As Object , e As RoutedEventArgs) Handles OK.Click Sub OK_Click (sender As Object, e As RoutedEventArgs) Menangani OK.Click
MsgBox( "Button Clicked" ) MsgBox ( "Button diklik")
End Sub End Sub
End Class Akhir Kelas
< Window x : Class ="Window1"
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml" xmlns: x = "http://schemas.microsoft.com/winfx/2006/xaml"
Title ="Window1" Height ="300" Width ="300"> Title = "Window1" Height = "300" Width = "300">
< Grid >
< Button Name ="OK" Click ="OK_Click"> OK
Post a Comment