命名调整
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -13,6 +14,8 @@ using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
using WPFDark.Controls;
|
||||
|
||||
namespace WPFDark.Gallery
|
||||
{
|
||||
/// <summary>
|
||||
@@ -24,5 +27,13 @@ namespace WPFDark.Gallery
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void BiaButtonBase_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var b = (BiaHyperlinkButton)sender;
|
||||
|
||||
using var proc = Process.Start(new ProcessStartInfo("cmd", $"/c start {b.Content}") { CreateNoWindow = true });
|
||||
|
||||
proc?.WaitForExit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user