Datenschnittstelle erweitert
This commit is contained in:
34
GuiWPF/Views/AuftraggeberEditPage.xaml
Normal file
34
GuiWPF/Views/AuftraggeberEditPage.xaml
Normal file
@@ -0,0 +1,34 @@
|
||||
<UserControl x:Class="GuiWPF.Views.AuftraggeberEditPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Name" />
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Straße" />
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Ort" />
|
||||
<Label Grid.Row="3" Grid.Column="0" Content="Telefon" />
|
||||
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=Name}" />
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=Strasse}" />
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=Ort}" />
|
||||
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=Telefon}" />
|
||||
|
||||
<Button Grid.Row="4" Grid.ColumnSpan="2" Content="Speichern" Command="{Binding Path=SaveCommand}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
GuiWPF/Views/AuftraggeberEditPage.xaml.cs
Normal file
28
GuiWPF/Views/AuftraggeberEditPage.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AuftraggeberEditPage.xaml
|
||||
/// </summary>
|
||||
public partial class AuftraggeberEditPage : UserControl
|
||||
{
|
||||
public AuftraggeberEditPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
15
GuiWPF/Views/AuftraggeberListPageView.xaml
Normal file
15
GuiWPF/Views/AuftraggeberListPageView.xaml
Normal file
@@ -0,0 +1,15 @@
|
||||
<UserControl x:Class="GuiWPF.Views.AuftraggeberListPageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800"
|
||||
>
|
||||
|
||||
<Grid>
|
||||
<Label>Auftraggebers</Label>
|
||||
<ListBox ItemsSource="{Binding Auftraggeberlist}"></ListBox>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
29
GuiWPF/Views/AuftraggeberListPageView.xaml.cs
Normal file
29
GuiWPF/Views/AuftraggeberListPageView.xaml.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AuftraggeberListPageView.xaml
|
||||
/// </summary>
|
||||
public partial class AuftraggeberListPageView : UserControl
|
||||
{
|
||||
public AuftraggeberListPageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
GuiWPF/Views/BauvorhabenEditPageView.xaml
Normal file
12
GuiWPF/Views/BauvorhabenEditPageView.xaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<UserControl x:Class="GuiWPF.Views.BauvorhabenEditPageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
GuiWPF/Views/BauvorhabenEditPageView.xaml.cs
Normal file
28
GuiWPF/Views/BauvorhabenEditPageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for BauvorhabenEditPageView.xaml
|
||||
/// </summary>
|
||||
public partial class BauvorhabenEditPageView : UserControl
|
||||
{
|
||||
public BauvorhabenEditPageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
13
GuiWPF/Views/HomePageView.xaml
Normal file
13
GuiWPF/Views/HomePageView.xaml
Normal file
@@ -0,0 +1,13 @@
|
||||
<UserControl x:Class="GuiWPF.Views.HomePageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<TextBlock FontSize="20" Text="{Binding Path=PageTitle}" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
GuiWPF/Views/HomePageView.xaml.cs
Normal file
28
GuiWPF/Views/HomePageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für HomePageView.xaml
|
||||
/// </summary>
|
||||
public partial class HomePageView : UserControl
|
||||
{
|
||||
public HomePageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
12
GuiWPF/Views/SettingsPageView.xaml
Normal file
12
GuiWPF/Views/SettingsPageView.xaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<UserControl x:Class="GuiWPF.Views.SettingsPageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<TextBlock FontSize="20" Text="{Binding Path=PageTitle}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
GuiWPF/Views/SettingsPageView.xaml.cs
Normal file
28
GuiWPF/Views/SettingsPageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für SettingsPageView.xaml
|
||||
/// </summary>
|
||||
public partial class SettingsPageView : UserControl
|
||||
{
|
||||
public SettingsPageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
36
GuiWPF/Views/SewerObjectDetailsPageView.xaml
Normal file
36
GuiWPF/Views/SewerObjectDetailsPageView.xaml
Normal file
@@ -0,0 +1,36 @@
|
||||
<UserControl x:Class="GuiWPF.Views.SewerObjectDetailsPageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GuiWPF.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="auto" MinWidth="400" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Objektname" />
|
||||
<Label Grid.Column="0" Grid.Row="1" Content="Obere Schacht" />
|
||||
<Label Grid.Column="0" Grid.Row="2" Content="Untere Schacht" />
|
||||
<Label Grid.Column="0" Grid.Row="3" Content="Objektlänge" />
|
||||
<Label Grid.Column="0" Grid.Row="4" Content="Durchmesser" />
|
||||
<Label Grid.Column="0" Grid.Row="5" Content="Bemerkung" />
|
||||
|
||||
<TextBox Grid.Column="1" Grid.Row="0" Text="{Binding ObjektName}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding ObenName}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding UntenName}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="3" Text="{Binding ObjektLength}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Durchmesser}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="5" Text="{Binding Bemerkung}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
GuiWPF/Views/SewerObjectDetailsPageView.xaml.cs
Normal file
28
GuiWPF/Views/SewerObjectDetailsPageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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 GuiWPF.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for SewerObjectDetails.xaml
|
||||
/// </summary>
|
||||
public partial class SewerObjectDetailsPageView : UserControl
|
||||
{
|
||||
public SewerObjectDetailsPageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user