[WIP] Nearly completed refactor of DisplayProfileForm

Nearly have it working. It now saves, loads and renames
the display profiles. Need to fix up the delete, apply buttons
and make it remove the old ilv images when we rename
profiles.
This commit is contained in:
temacdonald
2020-05-10 22:47:18 +12:00
parent 7196791298
commit 861f1585b2
8 changed files with 290 additions and 232 deletions

View File

@ -1,4 +1,5 @@
using System;
using System.IO;
using System.Windows.Forms;
using HeliosPlus.Shared;
using HeliosPlus.ShellExtension.Resources;
@ -7,6 +8,8 @@ namespace HeliosPlus.ShellExtension
{
internal class HeliosPlus
{
internal static string AppDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "HeliosPlus");
public static void Open(
HeliosStartupAction action = HeliosStartupAction.None,
Profile profile = null,