添加项目文件。

This commit is contained in:
Administrator
2026-06-29 14:46:32 +08:00
parent 9a9c508618
commit d9e0324b1d
175 changed files with 17983 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace WPFWCSDemo.ViewModels.Settings
{
public partial class AboutViewModel:ObservableObject
{
[RelayCommand]
void WebNavigation()
{
string url = "http://www.yctd.cn/";
Uri uri = new Uri(url);
// 使用Process.Start打开默认浏览器
Process.Start(new ProcessStartInfo
{
FileName = uri.ToString(),
UseShellExecute = true
});
}
}
}