Discussion – Lesson 8 - Birthday reminder in C# .NET WPF - Wiring layers
BackComments
2 messages from 2 displayed.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
Comments
Hello Lennart,
generally it's not a good idea to move autogenerated content, I'd create a new
one. The best way to divide your WPF app into folders is to create the folders
and create new Windows in them (right click on the folder and choose "Add ->
Window..."). Once you've your Windows in the folders ready, modify the App.xaml
file to set the default Window in the StartupUri
attribute:
<Application x:Class="WpfApp1.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfApp1"
StartupUri="YourFolder/Window1.xaml">
<Application.Resources>
</Application.Resources>
</Application>
Feel free to remove the original MainWindow.xaml
file later.
2 messages from 2 displayed.