//--------------------------------------------------------------------------------------------------------------------------------- //Button Select, alle auswählen //--------------------------------------------------------------------------------------------------------------------------------- //Ordnerliste öffnen private void BtnSelect(object sender, EventArgs e) { //Prüfen ob Multiselect aktiviert ist if (LBImages.SelectionMode == SelectionMode.Multiple) { LBImages.SelectAll(); } }
string GetURL(string type) { LBImage lbImage = LBImages.FirstOrDefault(x => x.Type == type); if (lbImage != null) { return(Launchbox.IMAGESURL + lbImage.FileName); } else { return(null); } }