|
<Window x:Class="TaskList.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:CodeProject.Windows.Markup;assembly=CodeProjectCore"
xmlns:vm="clr-namespace:TaskList.ViewModel;assembly=TaskList.ViewModel"
c:ViewModel.Instance="{c:ViewModel {x:Type vm:MainWindowViewModel}}"
Closing="Window_Closing" Height="200" Width="400"
Title="{Binding ElementName=mainFrame, Path=Content.Title}">
<DockPanel LastChildFill="True">
<Menu DockPanel.Dock="Top">
<MenuItem Header="_File">
<MenuItem Command="ApplicationCommands.New"/>
<Separator/>
<MenuItem Command="ApplicationCommands.Open"/>
<Separator/>
<MenuItem Command="ApplicationCommands.Save"/>
<MenuItem Command="ApplicationCommands.SaveAs"/>
<Separator/>
<MenuItem Command="vm:TaskListCommands.Exit"/>
</MenuItem>
<MenuItem Header="_Edit">
<MenuItem Command="vm:TaskListCommands.AddTask"/>
<MenuItem Command="vm:TaskListCommands.EditTask"/>
<MenuItem Command="vm:TaskListCommands.RemoveTasks"/>
</MenuItem>
<MenuItem Header="_Help"/>
</Menu>
<StatusBar DockPanel.Dock="Bottom">
<StatusBarItem>
<TextBlock>Ready</TextBlock>
</StatusBarItem>
</StatusBar>
<Frame Source="TaskListPage.xaml" NavigationUIVisibility="Hidden"/>
</DockPanel>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Windows developer with 10+ years experience working in the banking industry.