locked
Button to close my app RRS feed

  • Question

  • I am super new to .net and WPF so sorry for such a dumb question..  I have a button for closing my app, I get the following error.  I've tried using close(), application.close....  WTF?  Is this really this difficult. 

    <

     

     

    Button Canvas.Left="690" Canvas.Top="477" Height="27" Name="uxExit" Width="80" FontSize="12" FontWeight="Bold" Click="uxExit_Click" ToolTip="Exit the Application">

     

     

     

    <AccessText Text="Close"></AccessText>

    Error 2 No overload for 'uxExit_Click' matches delegate 'System.Windows.RoutedEventHandler' 

    Wednesday, March 16, 2011 4:51 PM

All replies