using System;
using System.Collections.Generic;
using System.Text;
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.Shapes;

namespace WWWings_WPF.Konzepte
{
 /// <summary>
 /// Interaction logic for F_Events.xaml
 /// </summary>

 public partial class F_Events : System.Windows.Window
 {

  public F_Events()
  {
   InitializeComponent();
  }


  void Maus(object sender, RoutedEventArgs e)
  {
   C_Ausgabe.Text += "Rechteck-Ereignis " + e.RoutedEvent.Name + " Originalquelle: " + (e.Source as FrameworkElement).Name + " Sender: " + (sender as FrameworkElement).Name + "\n";
  }

  void Maus_Gitter(object sender, RoutedEventArgs e)
  {
   C_Ausgabe.Text += "Gitter-Ereignis " + e.RoutedEvent.Name + " Originalquelle: " + (e.Source as FrameworkElement).Name + " Sender: " + (sender as FrameworkElement).Name + "\n";

  }

  void Maus_Fenster(object sender, RoutedEventArgs e)
  {
   C_Ausgabe.Text += "Fenster-Ereignis " + e.RoutedEvent.Name + " Originalquelle: " + (e.Source as FrameworkElement).Name + " Sender: " + (sender as FrameworkElement).Name + "\n";
   //e.Handled = true;
  }




 }
}