29 lines
826 B
C#
29 lines
826 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using BeWo.View.Detail;
|
|
using BeWo.View.Detail.Report;
|
|
using BeWo.ViewModel;
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace BeWo.View.Controls
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for DienstplanerControl.xaml
|
|
/// </summary>
|
|
public partial class DPCtrlDienstTooltip : UserControl
|
|
{
|
|
public DPCtrlDienstTooltip(DienstInfoDC dienst)
|
|
{
|
|
InitializeComponent();
|
|
|
|
TxtDienst.Text = $"{dienst.DienstName} ({dienst.Kurz})";
|
|
TxtEnde.Text = dienst.Ende.ToString("HH:mm");
|
|
TxtPausendauer.Text = dienst.Pause.ToString();
|
|
TxtStart.Text = dienst.Start.ToString("HH:mm");
|
|
}
|
|
}
|
|
} |