Spot the Bug! Is it in VB or XAML? (Jonathan Aneja)
Posted by: The Visual Basic Team,
on 13 Nov 2009 |
View original | Bookmarked: 0 time(s)
Whats wrong with the following WPF code?
Class Window1
Sub OK_Click(sender As Object, e As RoutedEventArgs) Handles OK.Click
MsgBox("Button Clicked")
End Sub
End Class
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
...