ZeroLauncher/AboutDialog/About1.xaml.cs

29 lines
762 B
C#
Raw Normal View History

2024-03-07 21:04:59 +08:00
using System.Diagnostics;
using System.Windows;
using System.Windows.Documents;
namespace Zerolauncher.AboutDialog
{
/// <summary>
/// About1.xaml 的交互逻辑
/// </summary>
public partial class About1 : Window
{
public About1()
{
InitializeComponent();
}
private void Hyperlink_Click(object sender, RoutedEventArgs e)
{
Process.Start(new ProcessStartInfo("http://github.com/1415ddfer/ZeroHelper") { UseShellExecute = true });
}
private void Hyperlink_Click_1(object sender, RoutedEventArgs e)
{
MessageBox.Show("已拷贝到粘贴板", "提示");
Clipboard.SetDataObject("ddfgame@foxmail.com", true);
}
}
}