ObjekteListe angefangen
This commit is contained in:
37
KanSan/UI/Objekte/UCObjekteList.xaml.cs
Normal file
37
KanSan/UI/Objekte/UCObjekteList.xaml.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using KanSan.Base.Models;
|
||||
using KanSan.ViewModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace KanSan.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für UCObjekteList.xaml
|
||||
/// </summary>
|
||||
public partial class UCObjekteList : UserControl
|
||||
{
|
||||
Baustelle baustelle;
|
||||
public UCObjekteList(Baustelle baustelle)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.baustelle = baustelle;
|
||||
this.DataContext = new ObjekteListViewModel(baustelle);
|
||||
}
|
||||
|
||||
private void ObjektNew_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
FrmNewObjekt frmNewObjekt = new FrmNewObjekt(baustelle);
|
||||
frmNewObjekt.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user