# Namespace WpfBrowserApplication1 # ''' # ''' Interaction logic for Page1.xaml # ''' # Public Partial Class Page1 # Inherits Page # Public Sub New() # InitializeComponent() # AddHandler Me.ToolTipClosing, AddressOf Page1_ToolTipClosing # End Sub # # Private Sub Page1_ToolTipClosing(ByVal sender As Object, ByVal e As ToolTipEventArgs) # Throw New NotImplementedException() # End Sub # End Class # End Namespace namespace WpfBrowserApplication1 { /// /// Interaction logic for Page1.xaml /// public partial class Page1 : Page { public Page1() { InitializeComponent(); this.ToolTipClosing +=new ToolTipEventHandler(Page1_ToolTipClosing); } void Page1_ToolTipClosing(object sender, ToolTipEventArgs e) { throw new NotImplementedException(); } } }