Commit 609ffc2e authored by Uwe Wienkop's avatar Uwe Wienkop
Browse files

2020-06-17 Mi

parent 540692b9
......@@ -7,8 +7,8 @@
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Button Content="Mein bester Button" HorizontalAlignment="Left" Margin="190,134,0,0" VerticalAlignment="Top" Width="136" Click="Button_Click"/>
<Label x:Name="meinLabel" Content="Label" HorizontalAlignment="Left" Margin="208,240,0,0" VerticalAlignment="Top"/>
<Button Content="Mein bester Button" HorizontalAlignment="Left" Margin="175,74,0,0" VerticalAlignment="Top" Width="136" Click="Button_Click" MouseEnter="Button_Enter" MouseLeave="Button_Leave"/>
<Label x:Name="meinLabel" Content="Label" HorizontalAlignment="Left" Margin="175,122,0,0" VerticalAlignment="Top"/>
<TextBox HorizontalAlignment="Left" Height="23" Margin="344,190,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="120"/>
</Grid>
......
......@@ -30,5 +30,16 @@ namespace _01WPF_Demo
{
meinLabel.Content = $"{++zaehler}";
}
private void Button_Leave(object sender, MouseEventArgs e)
{
meinLabel.Content = "Cursor hat den Button verlassen";
}
private void Button_Enter(object sender, MouseEventArgs e)
{
meinLabel.Content = "Cursor ist in den Button hineingefahren";
}
}
}
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D57DCAC845907026F457BE8740727CDBDE7747C795BBCA7CC8A9E6E1650A5F23"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BB8A4076F3A4279E9326BFFEE23045B977190285315B850B97003E566855B1E0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
......@@ -83,6 +83,18 @@ namespace _01WPF_Demo {
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_Enter);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_Leave);
#line default
#line hidden
return;
......
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D57DCAC845907026F457BE8740727CDBDE7747C795BBCA7CC8A9E6E1650A5F23"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BB8A4076F3A4279E9326BFFEE23045B977190285315B850B97003E566855B1E0"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
......@@ -83,6 +83,18 @@ namespace _01WPF_Demo {
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_Enter);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_Leave);
#line default
#line hidden
return;
......
......@@ -3,9 +3,10 @@
namespace _08MulticastDelegate
{
delegate void MeinDelegate(string s);
class TestClass
{
public enum Ampelfarben { rot, gelb, grün };
// Define two methods that have the same signature as CustomDel.
static void Hello(string s)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment