Refactor workspace name

This commit is contained in:
BlossomiShymae
2024-08-18 19:03:47 -05:00
parent 88149d1458
commit baf189e6a9
70 changed files with 107 additions and 107 deletions

View File

@@ -0,0 +1,20 @@
using CommunityToolkit.Mvvm.Input;
using System.Diagnostics;
namespace Needlework.Net.ViewModels
{
public partial class HomeViewModel : PageBase
{
public HomeViewModel() : base("Home", "home", int.MinValue) { }
[RelayCommand]
private void OpenUrl(string url)
{
var process = new Process()
{
StartInfo = new ProcessStartInfo(url) { UseShellExecute = true }
};
process.Start();
}
}
}