blob: 30941f3ddd2dda5b80fd1607e0b2ec1115b1db45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<UserControl x:Class="Tango.MachineStudio.Developer.Views.RunningJobView"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:vm="clr-namespace:Tango.MachineStudio.Developer.ViewModels"
xmlns:global="clr-namespace:Tango.MachineStudio.Developer"
xmlns:local="clr-namespace:Tango.MachineStudio.Developer.Views"
mc:Ignorable="d"
d:DesignHeight="1080" d:DesignWidth="1920" Background="Transparent" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<Grid>
<Grid Margin="40">
<DockPanel>
<StackPanel Margin="0 20 0 0" Orientation="Horizontal" DockPanel.Dock="Top">
<materialDesign:PackIcon Kind="Settings" Width="60" Height="60" />
<TextBlock FontSize="30" FontWeight="SemiBold" VerticalAlignment="Center" Margin="10 0 0 0">Job Status</TextBlock>
</StackPanel>
<Grid DockPanel.Dock="Bottom" Height="40">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0 0 0 0">
<Button Command="{Binding ExportToExcelCommand}" Style="{StaticResource MaterialDesignFlatButton}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon VerticalAlignment="Center" Kind="FileExcel"></materialDesign:PackIcon>
<TextBlock Margin="10 0 0 0">EXPORT TO EXCEL</TextBlock>
</StackPanel>
</Button>
</StackPanel>
</Grid>
<Grid>
<DataGrid Background="Transparent" Margin="0 20 0 0" BorderThickness="1" BorderBrush="Gainsboro">
<DataGrid.Columns>
<DataGridTextColumn Width="Auto" Header="#"/>
<DataGridTextColumn Width="200" Header="TIME STAMP"/>
<DataGridTextColumn Width="100" Header="CODE"/>
<DataGridTextColumn Width="200" Header="NAME"/>
<DataGridTextColumn Width="1*" Header="DESCRIPTION"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</DockPanel>
</Grid>
</Grid>
</UserControl>
|