public frmCUEPlayer() { InitializeComponent(); _icon_mgr = new ShellIconMgr(); _config = new CUEConfig(); _config.separateDecodingThread = false; }
public frmCUERipper() { InitializeComponent(); _config = new CUEConfig(); _startStop = new StartStop(); m_icon_mgr = new CUEControls.ShellIconMgr(); m_icon_mgr.SetExtensionIcon(".flac", Properties.Resources.flac); m_icon_mgr.SetExtensionIcon(".wv", Properties.Resources.wv); m_icon_mgr.SetExtensionIcon(".ape", Properties.Resources.ape); m_icon_mgr.SetExtensionIcon(".tta", Properties.Resources.tta); m_icon_mgr.SetExtensionIcon(".wav", Properties.Resources.wave); m_icon_mgr.SetExtensionIcon(".mp3", Properties.Resources.mp3); m_icon_mgr.SetExtensionIcon(".m4a", Properties.Resources.ipod_sound); m_icon_mgr.SetExtensionIcon(".ogg", Properties.Resources.ogg); }
public void Init(frmCUEPlayer parent) { _config = parent.Config; dataSet = parent.DataSet; MdiParent = parent; Show(); _icon_mgr = parent.IconMgr; listViewTracks.SmallImageList = _icon_mgr.ImageList; foreach (DataSet1.PlaylistRow row in dataSet.Playlist) { try { listViewTracks.Items.Add(ToItem(row)); } catch (Exception ex) { Trace.WriteLine(ex.Message); } } }