programming-examples/c-sharp/Others/Embedded code for Application.cs

16 lines
414 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
Embedded code for Application
<Application x:Class="SimpleXamlApp.MyApp"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml" Exit ="AppExit"
>
<x:Code>
void AppExit(object sender, ExitEventArgs e)
{
MessageBox.Show("App has exited");
}
</x:Code>
</Application>