You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
5.3 KiB
77 lines
5.3 KiB
<UserControl x:Class="SunlightCentralizedControlManagement_SCCM_.View.ProductionPlanningView "
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:SunlightCentralizedControlManagement_SCCM_.View"
|
|
xmlns:lang="clr-namespace:SunlightCentralizedControlManagement_SCCM_.Properties"
|
|
xmlns:ConvertMoels="clr-namespace:SunlightCentralizedControlManagement_SCCM_.ConvertMoels"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:lvc="clr-namespace:LiveChartsCore.SkiaSharpView.WPF;assembly=LiveChartsCore.SkiaSharpView.WPF"
|
|
xmlns:viewmodel="clr-namespace:SunlightCentralizedControlManagement_SCCM_.ViewModel"
|
|
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
|
|
xmlns:UserTimeline="clr-namespace:Timelines;assembly=Timelines"
|
|
xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
|
|
d:DataContext="{d:DesignInstance Type=viewmodel:ProductionPlanningModel}"
|
|
mc:Ignorable="d" Loaded="UserControl_Loaded"
|
|
d:DesignHeight="630" d:DesignWidth="1280">
|
|
<UserControl.Resources>
|
|
<ConvertMoels:RowToIndexConverter x:Key="RowToIndexConverter"/>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="60"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0">
|
|
<!-- <lvc:CartesianChart x:Name="ch" XAxes="{Binding XAxes}" YAxes="{Binding YAxes}" Series="{Binding Series}" />-->
|
|
<wfi:WindowsFormsHost>
|
|
<UserTimeline:Timeline x:Name="qwe"/>
|
|
</wfi:WindowsFormsHost>
|
|
</Grid>
|
|
<StackPanel x:Name="scr" Grid.Row="1" Height="60" Background="#FF00204E" Orientation="Horizontal">
|
|
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
|
|
<ListViewItem Width="150" MouseLeftButtonUp="ListViewItem_Quit" x:Name="Quit">
|
|
<StackPanel Orientation="Horizontal" >
|
|
<materialDesign:PackIcon Kind="NewBox" Width="40" Height="30" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/>
|
|
<TextBlock Text="{x:Static lang:Resources.New}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
|
|
<ListViewItem Width="150" MouseLeftButtonUp="ListViewItem_edit" x:Name="edit">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Kind="Edit" Width="40" Height="30" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/>
|
|
<TextBlock Text="{x:Static lang:Resources.edit}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
|
|
<ListViewItem Width="150" MouseLeftButtonUp="ListViewItem_Insert" x:Name="Insert">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Kind="InsertComment" Width="40" Height="30" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/>
|
|
<TextBlock Text="{x:Static lang:Resources.Insert}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
|
|
<ListViewItem Width="150" MouseLeftButtonUp="ListViewItem_Save" x:Name="Save">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Kind="Note" Width="40" Height="30" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/>
|
|
<TextBlock Text="{x:Static lang:Resources.Save}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
|
|
<ListViewItem Width="150" MouseLeftButtonUp="ListViewItem_Delete" x:Name="Delete">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Kind="Delete" Width="40" Height="30" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/>
|
|
<TextBlock Text="{x:Static lang:Resources.Delete}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
</UserControl>
|
|
|