Tätigkeiten überarbeitet.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<ControlTemplate TargetType="{x:Type Calendar}">
|
||||
<StackPanel HorizontalAlignment="Center" Name="PART_Root">
|
||||
<CalendarItem Background="{TemplateBinding Control.Background}" BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="{TemplateBinding Control.BorderThickness}" Name="PART_CalendarItem" Style="{TemplateBinding Calendar.CalendarItemStyle}" />
|
||||
<Button Content="Heute" Command="local:CalendarCommands.SelectToday" CommandParameter="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}}"/>
|
||||
<Button Content="Heute" Background="{Binding Erledigt, Converter={StaticResource IstFertigZuBackgroundConverter}}" Command="local:CalendarCommands.SelectToday" CommandParameter="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}}"/>
|
||||
</StackPanel>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -51,6 +51,7 @@
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Mitarbeiter}" />
|
||||
|
||||
<Calendar Style="{StaticResource DefaultCalendar}" Grid.Row="2" Grid.Column="1" Name="Calender" SelectedDate="{Binding ZeitStempel}" Margin="-220,0,0,0"/>
|
||||
<Button Grid.Row="2" Grid.Column="1" Content="Löschen" Margin="400,100,10,20" Name="ErledigtLöschen" Click="ErledigtLöschen_Click" />
|
||||
<ComboBox Grid.Row="3" Grid.Column="1" ItemsSource="{Binding LVPositionen}" DisplayMemberPath="Beschreibung" SelectedValuePath="Beschreibung" SelectedItem="{Binding Leistungsverzeichnis, Mode=TwoWay}">
|
||||
<!--<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
@@ -62,7 +63,7 @@
|
||||
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Anzahl}" />
|
||||
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding Bemerkung}"/>
|
||||
<Button Grid.Row="6" Grid.ColumnSpan="2" Content="Speichern" Name="Speichern" Click="Speichern_Click" />
|
||||
<Button Grid.Row="7" Grid.ColumnSpan="2" Content="Güteschutzprotokoll" IsEnabled="{Binding HatGueteschutzProtokoll}" />
|
||||
<Button Grid.Row="7" Grid.ColumnSpan="2" Content="Güteschutzprotokoll" IsEnabled="{Binding HatGueteschutzProtokoll}" Name="Güteschutzprotokoll" Click="Güteschutzprotokoll_Click" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user