2019-01-18 13:08:55 +01:00
|
|
|
<Window x:Class="ProjetTheAlone.View.DashBoard"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:local="clr-namespace:ProjetTheAlone.View"
|
|
|
|
xmlns:control="clr-namespace:ProjetTheAlone.UserControlDIY"
|
|
|
|
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
|
|
|
|
xmlns:classes="clr-namespace:ProjetTheAlone.Classes"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="DashBoard" Height="495.378" Width="1014.286" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
|
|
|
TextElement.FontWeight="Regular"
|
|
|
|
TextElement.FontSize="13"
|
|
|
|
TextOptions.TextFormattingMode="Ideal"
|
|
|
|
TextOptions.TextRenderingMode="Auto"
|
|
|
|
Background="{DynamicResource MaterialDesignPaper}"
|
|
|
|
FontFamily="{DynamicResource MaterialDesignFont}"
|
2019-01-25 18:23:38 +01:00
|
|
|
Name="wnd" Closing="wnd_Closing" WindowStyle="None" MouseDown="wnd_MouseDown"
|
|
|
|
Loaded="wnd_Loaded">
|
2019-01-18 13:08:55 +01:00
|
|
|
<Window.Resources>
|
|
|
|
<local:DebugDummyConverter x:Key="DebugDummyConverter" />
|
|
|
|
</Window.Resources>
|
2019-01-27 10:22:31 +01:00
|
|
|
|
2019-01-24 22:24:05 +01:00
|
|
|
<Grid x:Name="testQuand">
|
2019-01-18 13:08:55 +01:00
|
|
|
<Grid.RowDefinitions>
|
2019-01-24 22:24:05 +01:00
|
|
|
<RowDefinition Height="10*" />
|
2019-01-18 13:08:55 +01:00
|
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
2019-01-24 22:24:05 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
</Grid.ColumnDefinitions>
|
2019-01-27 10:22:31 +01:00
|
|
|
|
2019-01-24 22:24:05 +01:00
|
|
|
<Grid Grid.Column="0">
|
2019-01-18 13:08:55 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
</Grid.ColumnDefinitions>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventPasse2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-27 10:22:31 +01:00
|
|
|
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event Avant Avant hier" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventPasse1" Grid.Column="1" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Grid.Row="1" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event Avent hier" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventPasse0" Grid.Column="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Grid.Row="1" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event Hier" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
|
|
|
</Grid>
|
|
|
|
<Grid Grid.Column="1">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
2019-01-18 19:04:54 +01:00
|
|
|
</Grid.RowDefinitions>
|
2019-01-18 13:08:55 +01:00
|
|
|
</Grid>
|
2019-01-24 22:24:05 +01:00
|
|
|
|
|
|
|
<Grid Grid.Column="1" >
|
2019-01-18 13:08:55 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
</Grid.ColumnDefinitions>
|
2019-01-24 22:24:05 +01:00
|
|
|
<Grid.RowDefinitions>
|
2019-01-27 10:22:31 +01:00
|
|
|
<!-- <RowDefinition Height="auto"/>-->
|
2019-01-24 22:24:05 +01:00
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
2019-01-27 10:22:31 +01:00
|
|
|
|
|
|
|
<control:Repa Grid.Row="0" x:Name="RepasAjd" Loaded="RepasMatin_Loaded"></control:Repa>
|
|
|
|
<control:Repa Grid.Row="0" x:Name="RepasDemain" Grid.Column="1" ></control:Repa>
|
|
|
|
<control:Repa Grid.Row="0" x:Name="RepasApresDemain" Grid.Column="2" >
|
|
|
|
|
|
|
|
</control:Repa>
|
|
|
|
|
2019-01-24 22:24:05 +01:00
|
|
|
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventFuture0" Grid.Column="0" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event Aujourd'hui" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventFuture1" Grid.Column="1" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event demain" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGrid x:Name="dgEventFuture2" Grid.Column="2" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
|
2019-01-27 11:52:08 +01:00
|
|
|
IsReadOnly="True" AutoGenerateColumns="False" Height="auto" MouseDoubleClick="DgEvent_MouseDoubleClick">
|
2019-01-24 22:24:05 +01:00
|
|
|
<DataGrid.Columns>
|
2019-01-27 10:22:31 +01:00
|
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
|
|
|
|
<DataGridTextColumn Header="Event après demain" Binding="{Binding E_description}" Width="*" />
|
2019-01-24 22:24:05 +01:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2019-01-27 10:22:31 +01:00
|
|
|
<materialDesign:PackIcon Kind="Close" Grid.Column="3" HorizontalAlignment="Right" Cursor="Hand" MouseDown="PackIcon_MouseDown"/>
|
2019-01-18 13:08:55 +01:00
|
|
|
</Grid>
|
|
|
|
|
2019-01-19 10:58:20 +01:00
|
|
|
|
2019-01-24 22:24:05 +01:00
|
|
|
<Grid Grid.Row="2" Visibility="Visible" Grid.ColumnSpan="2">
|
|
|
|
<Border >
|
2019-01-18 13:08:55 +01:00
|
|
|
<Border.Background>
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
<GradientStop Color="OrangeRed" Offset="0" />
|
|
|
|
<GradientStop Color="DarkOrange" Offset="1" />
|
|
|
|
</LinearGradientBrush>
|
|
|
|
</Border.Background>
|
|
|
|
</Border>
|
2019-01-25 18:23:38 +01:00
|
|
|
<TextBlock x:Name="Alert" Style="{StaticResource MaterialDesignTitleTextBlock}" VerticalAlignment="Center" Height="Auto" HorizontalAlignment="Stretch" Text="{Binding TextAfficher}" Grid.ColumnSpan="2" Margin="0,9" />
|
2019-01-18 13:08:55 +01:00
|
|
|
</Grid>
|
2019-01-19 10:58:20 +01:00
|
|
|
|
2019-01-18 13:08:55 +01:00
|
|
|
</Grid>
|
|
|
|
</Window>
|