This commit is contained in:
Tyrrrz 2021-12-08 23:50:21 +02:00
parent 8e7baee8a5
commit 880f400e2c
148 changed files with 14241 additions and 14396 deletions

View file

@ -1,9 +1,8 @@
using System.Windows.Media;
namespace DiscordChatExporter.Gui.Utils
namespace DiscordChatExporter.Gui.Utils;
internal static class MediaColor
{
internal static class MediaColor
{
public static Color FromHex(string hex) => (Color) ColorConverter.ConvertFromString(hex);
}
public static Color FromHex(string hex) => (Color) ColorConverter.ConvertFromString(hex);
}

View file

@ -1,17 +1,16 @@
using System.Diagnostics;
namespace DiscordChatExporter.Gui.Utils
{
internal static class ProcessEx
{
public static void StartShellExecute(string path)
{
var startInfo = new ProcessStartInfo(path)
{
UseShellExecute = true
};
namespace DiscordChatExporter.Gui.Utils;
using (Process.Start(startInfo)) {}
}
internal static class ProcessEx
{
public static void StartShellExecute(string path)
{
var startInfo = new ProcessStartInfo(path)
{
UseShellExecute = true
};
using (Process.Start(startInfo)) {}
}
}