aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/LoginMode.cs
blob: 01e792ff74bb35f0bd54d827e3633de8b8637ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.Web
{
    public enum LoginMode
    {
        Machine,
        User,
    }
}
r-namespace:Tango.PPC.Events.EventsViews" mc:Ignorable="d" d:DesignHeight="220" d:DesignWidth="750" d:DataContext="{d:DesignInstance Type=entities:MachinesEvent, IsDesignTimeCreatable=False}"> <Grid Background="{StaticResource TangoPrimaryBackgroundBrush}"> <DockPanel> <Image Stretch="None" Margin="20" DockPanel.Dock="Right" Source="../Images/machine_small.png" RenderOptions.BitmapScalingMode="Fant" /> <DockPanel Margin="35 20 20 20"> <TextBlock FontSize="{StaticResource TangoTitleFontSize}" FontWeight="SemiBold" DockPanel.Dock="Top" Text="{Binding EventType.Title,FallbackValue='Unknown Event'}"></TextBlock> <StackPanel Margin="0 30 0 0"> <TextBlock TextWrapping="Wrap" FontWeight="SemiBold" Text="{Binding EventType.Description,FallbackValue='No Description'}"></TextBlock> <Rectangle Margin="0 5 0 10" StrokeThickness="2" Stroke="{StaticResource TangoDividerBrush}" /> <ItemsControl ItemsSource="{Binding EventType.Guidance,Converter={StaticResource StringToLinesConverter}}"> <ItemsControl.ItemTemplate> <DataTemplate> <TextBlock Margin="0 10 0 0" Text="{Binding}" TextWrapping="Wrap"></TextBlock> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </StackPanel> </DockPanel> </DockPanel> </Grid> </UserControl>