mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
[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:
@ -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)
|
||||
|
Reference in New Issue
Block a user