Renamed AreaCommitment* to Contract*
This commit is contained in:
@ -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"
|
@ -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();
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user