|
<Window x:Class="ProjectViewer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:control="http://schemas.aspitalia.com/Ricciolo/Controls"
xmlns:views="clr-namespace:ProjectViewer.Views"
xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
Title="Project Viewer" Height="582" Width="890" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<extToolkit:BusyIndicator IsBusy="True" DisplayAfter="0" Grid.Row="2">
<extToolkit:BusyIndicator.BusyContentTemplate>
<DataTemplate>
<StackPanel Margin="4">
<TextBlock Text="Please Wait!!" FontWeight="Bold" HorizontalAlignment="Center"/>
</StackPanel>
</DataTemplate>
</extToolkit:BusyIndicator.BusyContentTemplate>
<extToolkit:BusyIndicator.OverlayStyle>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="#ffffeeee"/>
</Style>
</extToolkit:BusyIndicator.OverlayStyle>
<extToolkit:BusyIndicator.ProgressBarStyle>
<Style TargetType="ProgressBar">
<Setter Property="Visibility" Value="Collapsed"/>
</Style>
</extToolkit:BusyIndicator.ProgressBarStyle>
</extToolkit:BusyIndicator>
<Border BorderThickness="0,0,0,1" BorderBrush="DarkGray" >
<Menu Name="mainMenu">
<MenuItem Click="menuOpen_Click">
<MenuItem.Header>
<StackPanel >
<Image Source="Images\Open.png" Width="30" Height="30" />
<TextBlock Text="Open" Margin="2, 1" HorizontalAlignment="Center" FontSize="10" />
</StackPanel>
</MenuItem.Header>
</MenuItem>
<MenuItem Name="miExportToExcel" Click="miExportToExcel_Click" IsEnabled="False">
<MenuItem.Header>
<StackPanel>
<Image Source="Images\ExportTo.ico" Width="30" Height="30" HorizontalAlignment="Center"/>
<TextBlock Text="To Excel" Margin="2, 1" HorizontalAlignment="Center" FontSize="10"/>
</StackPanel>
</MenuItem.Header>
</MenuItem>
</Menu>
</Border>
<TabControl HorizontalAlignment="Stretch" Name="tabControlContent" VerticalAlignment="Stretch" Grid.Row="1" Margin="3">
<TabItem Name="tabItemProject" >
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Images\Tasks.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="20" Height="20" Margin="2"/>
<TextBlock Text="Tasks" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</StackPanel>
</TabItem.Header>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<views:AllTasksView x:Name="allTasksView" />
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Images\Users.ico" HorizontalAlignment="Center" VerticalAlignment="Center" Width="20" Height="20" Margin="2"/>
<TextBlock Text="Resources" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</StackPanel>
</TabItem.Header>
<views:ResourceSheetView x:Name="resourceSheetView" />
</TabItem>
</TabControl>
<StatusBar Grid.Row="2">
<StatusBarItem Content="Ready" />
</StatusBar>
</Grid>
</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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.