mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Updated Shortcut saving to work with the library
Updated the 'Save To Desktop' button in the ShortcutLibraryForm to use the CreateShortcut function in the ShortcutItem, and fixed that so it now uses the IWshRuntimeLibrary to create a Windows Script Host that will create the shortcut.
This commit is contained in:
@ -19,13 +19,11 @@ namespace HeliosPlus.UIForms
|
||||
//private static bool _inDialog = false;
|
||||
private static ProfileItem _profileToLoad = null;
|
||||
private ProfileAdaptor _profileAdaptor = new ProfileAdaptor();
|
||||
private ProfileRepository _profileRepository = new ProfileRepository();
|
||||
|
||||
public DisplayProfileForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.AcceptButton = this.btn_save_or_rename;
|
||||
//_profileRepository = new ProfileRepository();
|
||||
}
|
||||
|
||||
public DisplayProfileForm(ProfileItem profileToLoad) : this()
|
||||
|
Reference in New Issue
Block a user