Renamed AreaCommitment* to Contract*

This commit is contained in:
2023-03-09 21:24:26 +01:00
parent 69d5110735
commit 49f77ce8f6
4 changed files with 7 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<Window x:Class="WGneu.Windows.AreaCommitmentListWindow"
<Window x:Class="WGneu.Windows.ContractListWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

View File

@ -14,15 +14,11 @@ using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WGneu.Models;
namespace WGneu.Windows
{
/// <summary>
/// Interaction logic for AreaCommitmentListWindow.xaml
/// </summary>
public partial class AreaCommitmentListWindow : Window {
namespace WGneu.Windows {
public partial class ContractListWindow : Window {
private readonly WgContext Context = new();
public AreaCommitmentListWindow(Member member) {
public ContractListWindow(Member member) {
InitializeComponent();
}

View File

@ -288,7 +288,7 @@
Checked="RadioButton_Changed" Unchecked="RadioButton_Changed"
HorizontalAlignment="Left" Margin="60,225,0,0" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="2"/>
<Button x:Name="AreaCommitmentButton" Content="Flächenbindungen" Click="AreaCommitmentButton_Click"
<Button x:Name="ContractButton" Content="Flächenbindungen" Click="ContractButton_Click"
HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Grid.ColumnSpan="3"/>
</Grid>
</GroupBox>

View File

@ -256,8 +256,8 @@ namespace WGneu.Windows {
UnlockSearchInputs();
}
private void AreaCommitmentButton_Click(object sender, RoutedEventArgs e) {
var w = new AreaCommitmentListWindow((Member) MemberList.SelectedItem);
private void ContractButton_Click(object sender, RoutedEventArgs e) {
var w = new ContractListWindow((Member) MemberList.SelectedItem);
w.Show();
}