mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-08-18 22:24:53 +02:00
.github
.idea
.vscode
app
.idea
Desktop
Common
Dialogs
Discord
Main
Controls
Pages
AboutWindow.axaml
AboutWindow.axaml.cs
AboutWindowModel.cs
MainContentScreen.axaml
MainContentScreen.axaml.cs
MainContentScreenModel.cs
MainWindow.axaml
MainWindow.axaml.cs
MainWindowModel.cs
WelcomeScreen.axaml
WelcomeScreen.axaml.cs
WelcomeScreenModel.cs
Resources
App.axaml
App.axaml.cs
Arguments.cs
Desktop.csproj
Program.cs
Resources
Server
Utils
.gitignore
DiscordHistoryTracker.sln
Version.cs
build.bat
build.sh
empty.dht
global.json
minify.py
bld
lib
src
tools
web
.gitattributes
.gitignore
LICENSE.md
README.md
build.py
reserve.txt
34 lines
789 B
C#
34 lines
789 B
C#
using System.Diagnostics;
|
|
|
|
namespace DHT.Desktop.Main {
|
|
sealed class AboutWindowModel {
|
|
public void ShowOfficialWebsite() {
|
|
OpenUrl("https://dht.chylex.com");
|
|
}
|
|
|
|
public void ShowSourceCode() {
|
|
OpenUrl("https://github.com/chylex/Discord-History-Tracker");
|
|
}
|
|
|
|
public void ShowLibraryAvalonia() {
|
|
OpenUrl("https://www.nuget.org/packages/Avalonia");
|
|
}
|
|
|
|
public void ShowLibrarySqlite() {
|
|
OpenUrl("https://www.sqlite.org");
|
|
}
|
|
|
|
public void ShowLibrarySqliteAdoNet() {
|
|
OpenUrl("https://www.nuget.org/packages/Microsoft.Data.Sqlite");
|
|
}
|
|
|
|
public void ShowLibraryNetCore() {
|
|
OpenUrl("https://github.com/dotnet/core");
|
|
}
|
|
|
|
private static void OpenUrl(string url) {
|
|
Process.Start(new ProcessStartInfo { FileName = url, UseShellExecute = true });
|
|
}
|
|
}
|
|
}
|