Exemple #1
0
 public FormDevices(HelperKinskyJukebox aHelper)
 {
     iHelper = aHelper;
     InitializeComponent();
     this.Icon = Icon.FromHandle(Properties.Resources.Export.GetHicon());
     try {
         iPresetUri           = Presets.UriPath(aHelper);
         iPresetDir           = Presets.DirectoryPath(aHelper.OptionPageSetup);
         locationTextBox.Text = Parameter.kNameJukeboxPresetPrefix + ":  " + iPresetUri;
     }
     catch (Exception e) {
         Linn.UserLog.WriteLine("Sync with Linn DS Failed: " + e.Message);
         MessageBox.Show(e.Message, "Sync with Linn DS Failed", MessageBoxButtons.OK, MessageBoxIcon.Hand);
         Close();
     }
 }
Exemple #2
0
 public static string UriPath(HelperKinskyJukebox aHelper)
 {
     return(TrackMetadata.GetUri(Presets.DirectoryPath(aHelper.OptionPageSetup), aHelper));
 }