[WIP] Moving Shortcut run logic to repo

Moved the shortcut running logic from the
main Program into the ShortcutRepository
so that it can be used from the
Shortcut Library UI as well as from the
commandline.

It's marked as WIP because I also moved
the ApplyingChangesForm and accompanying
ApplyTopos/ApplyProfiles logic and I broke
it. It needs refactoring and hopefully
simplifying but I need to work on that next!
This commit is contained in:
terrymacdonald
2020-07-23 18:31:00 +12:00
parent add7d0ff14
commit c358bc9087
8 changed files with 392 additions and 351 deletions

View File

@ -42,7 +42,7 @@ namespace HeliosPlus.UIForms
return;
}
IDictionary<string, Action> actions = dv_profile.Profile.applyProfileActions();
/*IDictionary<string, Action> actions = dv_profile.Profile.applyProfileActions();
IDictionary<string, string> messages = dv_profile.Profile.applyProfileMsgs();
List<string> sequence = dv_profile.Profile.applyProfileSequence();
@ -68,7 +68,10 @@ namespace HeliosPlus.UIForms
Console.WriteLine("Applying profile " + _selectedProfile.Name);
}
Activate();
Activate();*/
}
private void Exit_Click(object sender, EventArgs e)