mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 05:20:44 +00:00
20 lines
423 B
C#
20 lines
423 B
C#
using System;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace ParsecDisplay.Components
|
|
{
|
|
public partial class CloseButton : UserControl
|
|
{
|
|
public CloseButton()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Button_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
var window = Window.GetWindow(this);
|
|
window?.Close();
|
|
}
|
|
}
|
|
} |