Ausgewählte Leistung wird in tätigkeit dargestellt
This commit is contained in:
@@ -20,6 +20,14 @@ namespace KanSan.UI
|
||||
/// </summary>
|
||||
public partial class UCLeistungsverzeichnisPosition : UserControl
|
||||
{
|
||||
public event EventHandler SpeichernClicked;
|
||||
|
||||
protected virtual void OnSpeichernClicked(EventArgs e)
|
||||
{
|
||||
EventHandler handler = SpeichernClicked;
|
||||
if (handler != null)
|
||||
handler(this, e);
|
||||
}
|
||||
public UCLeistungsverzeichnisPosition(LeistungsverzeichnisPosition leistungsverzeichnisPosition)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -30,6 +38,7 @@ namespace KanSan.UI
|
||||
private void Save_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
(DataContext as LeistungsverzeichnisPositionViewModel).Speichern();
|
||||
OnSpeichernClicked(EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user