ZeroLauncher/AboutDialog/About1.xaml.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2024-03-07 21:04:59 +08:00
using System.Diagnostics;
using System.Windows;
using System.Windows.Documents;
2024-03-18 22:59:51 +08:00
using System.Windows.Input;
2024-03-07 21:04:59 +08:00
namespace Zerolauncher.AboutDialog
{
/// <summary>
/// About1.xaml 的交互逻辑
/// </summary>
public partial class About1 : Window
{
public About1()
{
InitializeComponent();
}
2024-03-18 22:59:51 +08:00
private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
// 实现窗口的拖动
DragMove();
}
2024-03-07 21:04:59 +08:00
private void Hyperlink_Click(object sender, RoutedEventArgs e)
{
2024-03-29 21:20:21 +08:00
Process.Start(new ProcessStartInfo("https://www.52pojie.cn/home.php?mod=space&uid=1235138") { UseShellExecute = true });
2024-03-07 21:04:59 +08:00
}
private void Hyperlink_Click_1(object sender, RoutedEventArgs e)
{
MessageBox.Show("已拷贝到粘贴板", "提示");
Clipboard.SetDataObject("ddfgame@foxmail.com", true);
}
2024-03-18 22:59:51 +08:00
private void Button_Click(object sender, RoutedEventArgs e)
{
Close();
}
2024-03-07 21:04:59 +08:00
}
}