Sweaty-Launcher/View/About.xaml.cs

36 lines
855 B
C#
Raw Permalink Normal View History

2023-02-11 02:19:10 +00:00
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Navigation;
using System.Windows.Shapes;
namespace Launcher.View
{
/// <summary>
/// About.xaml 的交互逻辑
/// </summary>
public partial class About : Page
{
public About()
{
InitializeComponent();
}
private void TextBlock_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
var tb = sender as TextBlock;
Process.Start("explorer.exe", tb.Tag.ToString());
}
}
}