mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 21:56:32 +00:00
23 lines
493 B
C#
23 lines
493 B
C#
using System;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace ParsecVDisplay.Components
|
|
{
|
|
public partial class Button : UserControl
|
|
{
|
|
public event EventHandler Click;
|
|
public object Children { get; set; }
|
|
|
|
public Button()
|
|
{
|
|
InitializeComponent();
|
|
DataContext = this;
|
|
}
|
|
|
|
private void Button_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
Click?.Invoke(sender, e);
|
|
}
|
|
}
|
|
} |