by Agnaldo
6. junho 2010 15:59
<!--App.xaml-->
<Application x:Class="_004_ApplicationStartShutdown.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml" ShutdownMode="OnMainWindowClose">
</Application>
using System.Windows;
namespace _004_ApplicationStartShutdown
{
public partial class App : Application
{
}
}
<!--Window1.xaml-->
<Window x:Class="_004_ApplicationStartShutdown.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">
<Grid>
</Grid>
</Window>
//Window1.xaml.cs
using System.Windows;
namespace _004_ApplicationStartShutdown
{
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
}
}
}