Skip to content

Commit

Permalink
Verbessert Benennung
Browse files Browse the repository at this point in the history
  • Loading branch information
LMStudent committed Feb 12, 2020
1 parent 01666fc commit fc51421
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
mc:Ignorable="d"
Title="Community Fragen - WPF-1" Height="287" Width="460" Background="#00A8C6">
<Grid>
<Button Content="Zusätzliches Fenster öffnen" HorizontalAlignment="Center" Margin="0,111,0,0" VerticalAlignment="Top" Background="#F9F2E7" Click="Button_Click"/>
<Button Content="Fenster als Dialog öffnen" HorizontalAlignment="Center" Margin="0,136,0,0" VerticalAlignment="Top" Background="#F9F2E7" Click="Button_Click_1"/>
<Button x:Name="OpenWindowButton" Content="Zusätzliches Fenster öffnen" HorizontalAlignment="Center" Margin="0,111,0,0" VerticalAlignment="Top" Background="#F9F2E7" Click="OpenWindowButton_Click"/>
<Button x:Name="OpenDialogButton" Content="Fenster als Dialog öffnen" HorizontalAlignment="Center" Margin="0,136,0,0" VerticalAlignment="Top" Background="#F9F2E7" Click="OpenDialogButton_Click"/>
</Grid>
</Window>
4 changes: 2 additions & 2 deletions WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public MainWindow()
InitializeComponent();
}

private void Button_Click(object sender, RoutedEventArgs e)
private void OpenWindowButton_Click(object sender, RoutedEventArgs e)
{
SubWindow sub = new SubWindow();
sub.Show();
}

private void Button_Click_1(object sender, RoutedEventArgs e)
private void OpenDialogButton_Click(object sender, RoutedEventArgs e)
{
SubWindow sub = new SubWindow();
sub.ShowDialog();
Expand Down

0 comments on commit fc51421

Please sign in to comment.