/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="mouseButtonEventArgs"></param> private void ButtonLinkOnPreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs mouseButtonEventArgs) { UserControlExternalLink userControlExternalLink = sender as UserControlExternalLink; ExternalItem item = userControlExternalLink?.Tag as ExternalItem; if (item?.Url != null) { ShowUrl(item.Url); } }
/// <summary> /// /// </summary> public ExternalLinksThirdPartiesWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "Microsoft Visual Studio", Description = "Developer software", Url = "http://www.visualstudio.com/en-us/visual-studio-homepage-vs.aspx", BitmapPath = "VisualStudio.png" }, new ExternalItem { Name = "Stack Overflow", Description = "Programmer forum", Url = "http://www.stackoverflow.com", BitmapPath = "stackoverflow.png" }, new ExternalItem { Name = "Flexera Installshield LE", Description = "Installer software", Url = "http://www.flexerasoftware.com/products/software-installation/installshield-software-installer/", BitmapPath = "Flexera.png" }, new ExternalItem { Name = "Assembla", Description = "Versioning website", Url = "https://www.assembla.com/home", BitmapPath = "Assembla.png" }, new ExternalItem { Name = "Git", Description = "Free versioning software", Url = "http://git-scm.com/", BitmapPath = "git.png" }, new ExternalItem { Name = "Git Extensions", Description = "Free extension for Git", Url = "http://sourceforge.net/projects/gitextensions", BitmapPath = "git.png" }, new ExternalItem { Name = "WPF.MDI (CodePlex)", Description = "Free Multiple Document Interface library", Url = "http://wpfmdi.codeplex.com", BitmapPath = "" }, new ExternalItem { Name = "Core FTP LE", Description = "Free software for FTP", Url = "http://coreftp.com", BitmapPath = "coreftple.png" }, new ExternalItem { Name = "MIDI-OX", Description = "Free MIDI application", Url = "http://www.midiox.com/", BitmapPath = "midiox.png" }, }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksOasysVoucherCodeSponsorsWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "Ian Hutty (Ianhu)", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "Patrick Dumas (Fzero)", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "Steve D (steve53)", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "Frans van den Berg (Paulifra)", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "Tim (t_tangent)", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "SoulBe", Description = "Oasys Voucher Code Sponsor", }, new ExternalItem { Name = "Adam P (Kontrol 49)", Description = "Oasys Voucher Code Sponsor", }, }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksKorgRelatedWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { // PCG Tools new ExternalItem { Name = "PCG Tools website", Description = "PCG Tools main web site", Url = "http://pcgtools.mkspace.nl", BitmapPath = "pcgtoolssmaller.jpg" }, new ExternalItem { Name = "PCG Tools at Facebook", Description = "PCG Tools Facebook group", Url = "https://www.facebook.com/PcgTools", BitmapPath = "facebook.png" }, new ExternalItem { Name = "PCG Tools at Twitter", Description = "PCG Tools twitter account", Url = "https://twitter.com/pcgtools", BitmapPath = "twitter.png" }, new ExternalItem { Name = "PCG Tools at Google Plus", Description = "PCG Tools Google Plus account", Url = "https://plus.google.com/#117506377627258933594/posts", BitmapPath = "googleplus.png" }, new ExternalItem { Name = "PCG Tools at Yahoo", Description = "PCG Tools Yahoo group", Url = "http://groups.yahoo.com/neo/groups/pcgtools/info", BitmapPath = "yahoo.png" }, // Korg new ExternalItem { Name = "www.korg.com", Description = "Official Korg website", Url = "http://www.korg.com", BitmapPath = "korg.jpg" }, // Fora new ExternalItem { Name = "KorgForums", Description = "Biggest Korg forum", Url = "http://www.korgforums.com", BitmapPath = "korgforums.jpg" }, new ExternalItem { Name = "Korg Fans", Description = "News, tips, downloads", Url = "http://korgfans.wordpress.com", BitmapPath = "korgfans.png" }, new ExternalItem { Name = "Karma-lab", Description = "KARMA by Stephen Kay", Url = "http://karma-lab.com", BitmapPath = "karmalabs.png" }, new ExternalItem { Name = "Korg Patches", Description = "Website for Korg patches", Url = "http://www.korgpatches.com", BitmapPath = "korgpatches.jpg" }, new ExternalItem { Name = "Kronoshaven", Description = "Forum for Kronos", Url = "http://www.kronoshaven.com", BitmapPath = "kronoshaven.jpg" }, new ExternalItem { Name = "Kromeheaven", Description = "Forum for Krome", Url = "http://www.kromeheaven.com", BitmapPath = "kromeheaven.png" }, new ExternalItem { Name = "Kronoscopie", Description = "Forum for Kronos (French)", Url = "http://www.kronoscopie.fr", BitmapPath = "Kronoscopie.jpg" }, new ExternalItem { Name = "Forum Cifraclub", Description = "Forum for Korg (Brazilian)", Url = "http://forum.cifraclub.com.br/forum/8/", BitmapPath = "forum_cifraclub_com_br.png" }, new ExternalItem { Name = "AudioKeys Forum", Description = "Forum for Korg (French)", Url = "http://www.audiokeys.net", BitmapPath = "AudioKeys.png" }, new ExternalItem { Name = "Cliff Canyon 01/W FAQ", Description = "Forum/Info for Korg 01/W", Url = "http://indra.com/~cliffcan/01faq.htm#editors", BitmapPath = "cliffcanyon.png" }, new ExternalItem { Name = "Qui Robinez", Description = "Producer of Korg Sounds/Tutorials", Url = "http://www.quirobinez.nl", BitmapPath = "quirobinez.png" }, new ExternalItem { Name = "Audora", Description = "Producer of Korg Sounds/Tutorials", Url = "https://audora.ca/", BitmapPath = "audora.png" }, // Utilities new ExternalItem { Name = "TidyKronos", Description = "Kronos Application by Joe Keller", Url = "http://www.keller12.de/tidykronos/", BitmapPath = "tidykronos.png" }, new ExternalItem { Name = "PCGrid", Description = "Kronos Application by KorganizR", Url = "http://www.karma-lab.com/forum/showthread.php?t=19681", BitmapPath = "pcgrid.png" }, new ExternalItem { Name = "ONKSOR", Description = "Kronos Application by Olaf Arweiler", Url = "http://www.arweiler.onlinehome.de/onksor.html", BitmapPath = "onksor.jpg" }, new ExternalItem { Name = "AL-1 Editor", Description = "Kronos Application by Chris", Url = "http://www.chrutil.com/kronos", BitmapPath = "al1editor.png" }, new ExternalItem() { Name = "MK Editor", Description = "microKORG Editor by JohnS", Url = "http://www.artlum.com/microkorg", BitmapPath = "Artlum.png" }, new ExternalItem() { Name = "Radias Librarian", Description = "Radias Librarian by LiPI", Url = "http://lipi.atw.hu/", BitmapPath = "RadiasLibrarian.png" }, // Affiliates new ExternalItem { Name = "Robert Rosen", Description = "Technician/Keyboardist", Url = "http://rosensound.com/", BitmapPath = "robertrosen.jpg" }, // Sound designers new ExternalItem { Name = "KaPro (Kurt Ader Productions)", Description = "Producer of Korg sounds", Url = "https://www.facebook.com/pages/KApro-Kurt-Ader-Productions/323845221074090", BitmapPath = "kapro.png" }, new ExternalItem { Name = "Sounds of Planet", Description = "Producer of Korg sounds", Url = "http://soundsofplanet.manifo.com/", BitmapPath = "soundsofplanet.png" }, new ExternalItem { Name = "Kid Nepro", Description = "Producer of Korg sounds", Url = "http://www.kidnepro.com/KN/Korg/Korg.html", BitmapPath = "kidheadspinsm.gif" }, new ExternalItem { Name = "Synthy Sounds", Description = "Producer of Korg sounds", Url = "http://www.synthysounds.co.uk/", BitmapPath = "synthysounds.png" }, // Shops new ExternalItem { Name = "Lyana", Description = "Dutch music shop", Url = "http://www.lyana.nl", BitmapPath = "lyana.png" }, new ExternalItem { Name = "Oostendorp Muziek", Description = "Dutch music shop", Url = "http://www.oostendorp-muziek.nl", BitmapPath = "Oostendorpmuziek.jpg" }, new ExternalItem { Name = "Dan Stesco", Description = "Sound creator", Url = "http://www.danstesco.ro", BitmapPath = "DanStesco.png" } }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksVideoCreatorsWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "Marcio Badaró", Description = "Video Creator", Url = "https://www.youtube.com/channel/UCP1mBiVbdEZ4yoLcpu7HgEg", BitmapPath = "MarcioBadaro.png" }, new ExternalItem { Name = "Rubens S. Felicio", Description = "Video Creator", Url = "https://www.youtube.com/channel/UCescfsHypLlr36lNyoyFDSw", BitmapPath = "RubensFelicioYouTube.png" }, new ExternalItem { Name = "Adel Tannouri", Description = "Video Creator", Url = "https://www.youtube.com/user/thebestman0001", BitmapPath = "AdelTannouriYouTube.png" }, }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50, ButtonLink51, ButtonLink52, ButtonLink53, ButtonLink54, ButtonLink55, ButtonLink56, ButtonLink57, ButtonLink58, ButtonLink59, ButtonLink60 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksTranslatorsWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "Syntey", Description = "Czech Translator", Url = "https://soundcloud.com/syntey", BitmapPath = "syntey.png" }, new ExternalItem { Name = "Yuma", Description = "Dutch and German Translator", Url = "http://soundcloud.com/rmyuma", BitmapPath = "Yuma.jpg", }, new ExternalItem { Name = "Mathieu Maes", Description = "Dutch Translator", Url = "http://partycoverband.wix.com/cupsandplates", BitmapPath = "Cupsandplates.png" }, new ExternalItem { Name = "Francois", Description = "French Translator", Url = "http://www.kronoscopie.fr", BitmapPath = "Kronoscopie.jpg" }, new ExternalItem { Name = "Frank Callies (Spare)", Description = "German Translator", }, new ExternalItem { Name = "Jens", Description = "German Translator", }, new ExternalItem { Name = "Timo Lill", Description = "German Translator", }, new ExternalItem { Name = "Jim Dijkstra", Description = "Greek Translator" }, new ExternalItem { Name = "Giorgos", Description = "Greek Translator", Url = "http://www.reverbnation.com/giorgostrichopoulos", BitmapPath = "giorgostrichopoulos.png" }, new ExternalItem { Name = "Enrico Puglisi", Description = "Italian Translator", Url = "https://www.facebook.com/kronospatchlab", BitmapPath = "KronosPatchLab.png" }, new ExternalItem { Name = "Gianluca Calesso", Description = "Italian Translator" }, new ExternalItem { Name = "DamianoMusic", Description = "Polish Translator" }, new ExternalItem { Name = "Adrian Craig", Description = "Polish Translator" }, new ExternalItem { Name = "Marcin Aleksander", Description = "Polish Translator" }, new ExternalItem { Name = "Rubens S. Felicio", Description = "Portuguese (Brazilian) Translator", Url = "http://facebook.com/rsfmusictech", BitmapPath = "rsfmusictech.jpg", }, new ExternalItem { Name = "Thiago Costa", Description = "Portuguese (Brazilian) Translator" }, new ExternalItem { Name = "Luis Costa", Description = "Portuguese (Portugal) Translator", Url = "http://palcoprincipal.sapo.pt/user/luiscosta", BitmapPath = "LuisCosta.png", }, new ExternalItem { Name = "Luis Costa", Description = "Portuguese (Portugal) Translator", Url = "http://palcoprincipal.sapo.pt/user/luiscosta", BitmapPath = "LuisCosta.png", }, new ExternalItem { Name = "Saša Rajak", Description = "Serbian Translator" }, new ExternalItem { Name = "Bernardo W.", Description = "Spanish Translator" }, new ExternalItem { Name = "Mario Pablo", Description = "Spanish Translator" }, new ExternalItem { Name = "Umut Erhan", Description = "Turkish Translator", Url = "http://www.youtube.com/user/slimhan", BitmapPath = "UmutErhan.jpg" } }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksDonatorsWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "narfsounds", Description = "Donator", Url = "http://www.narfsounds.com", BitmapPath = "narfsounds.png" }, new ExternalItem { Name = "Smyth Rocks", Description = "Donator" }, new ExternalItem { Name = "needamuse", Description = "Donator" }, new ExternalItem { Name = "Kevin Nolan", Description = "Donator" }, new ExternalItem { Name = "Mike Hildner", Description = "Donator" }, new ExternalItem { Name = "Bruno Santos", Description = "Donator", }, new ExternalItem { Name = "Joe Keller", Description = "Donator", Url = "http://www.keller12.de", BitmapPath = "keller12.jpg" }, new ExternalItem { Name = "Synthesaurus", Description = "Donator", Url = "https://www.patreon.com/synthesaurus", BitmapPath = "Synthesaurus.png", }, new ExternalItem { Name = "Philip Joseph", Description = "Donator", }, new ExternalItem() { Name = "Igor Elshaidt", Description = "Donator" }, new ExternalItem { Name = "Daan Andriessen", Description = "Donator", Url = "http://www.studiodebovenkamer.nl", BitmapPath = "BK-facebook.gif" }, new ExternalItem { Name = "Mathieu Maes", Description = "Donator", Url = "http://partycoverband.wix.com/cupsandplates", BitmapPath = "Cupsandplates.png" }, new ExternalItem { Name = "Jim Knopf", Description = "Donator", }, new ExternalItem { Name = "Olaf Arweiler", Description = "Donator", }, new ExternalItem { Name = "Martin Hines", Description = "Donator", }, new ExternalItem { Name = "Batisse", Description = "Donator", }, new ExternalItem { Name = "Traugott", Description = "Donator", }, new ExternalItem { Name = "Wan Kemper", Description = "Donator", }, new ExternalItem { Name = "robbie50", Description = "Donator", }, new ExternalItem { Name = "Steffen Traeger", Description = "Donator", }, new ExternalItem { Name = "Greg Heslington", Description = "Donator", }, new ExternalItem { Name = "Artur Dellarte", Description = "Donator", }, new ExternalItem { Name = "Michael Maschek", Description = "Donator", Url = "https://www.facebook.com/celticvoyagerband", BitmapPath = "celticvoyager.png" }, new ExternalItem { Name = "Dave Gibson", Description = "Donator", }, new ExternalItem { Name = "Dreamland", Description = "Donator", Url = "http://www.dreamland-recording.de", BitmapPath = "dreamland.jpg" }, new ExternalItem { Name = "Norman Clasper", Description = "Donator", }, new ExternalItem { Name = "Tim Godfrey", Description = "Donator", }, new ExternalItem { Name = "Yuma", Description = "Donator", }, new ExternalItem { Name = "Ralph Hopstaken", Description = "Donator", }, new ExternalItem { Name = "Enrico Puglisi", Description = "Donator", Url = "https://www.facebook.com/kronospatchlab", BitmapPath = "KronosPatchLab.png" }, new ExternalItem { Name = "phattbuzz", Description = "Donator", }, new ExternalItem { Name = "Jerry", Description = "Donator", }, new ExternalItem { Name = "Wilton Vought", Description = "Donator", }, new ExternalItem { Name = "Fred Alberni/Farrokh Kouhang", Description = "Donator", }, new ExternalItem { Name = "Toon Martens (Project)", Description = "Donator", Url = "http://www.toonmartensproject.net/", BitmapPath = "tmp.jpg" }, new ExternalItem { Name = "Jim G", Description = "Donator", }, new ExternalItem { Name = "Adrian", Description = "Donator", }, new ExternalItem { Name = "Tim Möller", Description = "Donator", }, //new ExternalItem //{ // Does not want to be on the list // Name= "Christian Moss", Description = "Donator", //}, new ExternalItem { Name = "Sidney Leal", Description = "Donator", }, new ExternalItem { Name = "Steve Baker", Description = "Donator", } }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksPersonalWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { new ExternalItem { Name = "Co-incidental", Description = "Rock-cover band I play in", Url = "http://co-incidental.nl/", BitmapPath = "Co-incidental.png" }, new ExternalItem { Name = "Co-incidental", Description = "FB Page of Co-Incidental", Url = "https://www.facebook.com/Co-incidental-204155766341066/?ref=hl", BitmapPath = "Co-incidental.png" }, new ExternalItem { Name = "Nothing Else Matters", Description = "Yearly Charity Concert", Url = "www.nothingelsematters.nl", BitmapPath = "NothingElseMatters.png" }, new ExternalItem { Name = "Nothing Else Matters", Description = "FB Page of Nothing Else Matters", Url = "https://www.facebook.com/nothingelsematters.nl/?fref=ts", BitmapPath = "NothingElseMatters.png" }, new ExternalItem { Name = "GitaarDemo", Description = "Guitar Shop of Co-incidental Guitarist", Url = "https://www.facebook.com/GitaarDemo-1428013174150822/", BitmapPath = "GitaarDemo.png" }, new ExternalItem { Name = "Altran.nl", Description = "My employer", Url = "http://www.altran.nl/", BitmapPath = "Altran.png" }, }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }
/// <summary> /// /// </summary> public ExternalLinksContributorsWindow() { InitializeComponent(); List <ExternalItem> externalItems = new List <ExternalItem> { // Developers new ExternalItem { Name = "KorganizR", Description = "Feature Developer", }, new ExternalItem { Name = "mTrilby", Description = "Feature Developer", }, new ExternalItem { Name = "Vanni Torelli", Description = "Feature Developer", }, new ExternalItem { Name = "Mike Hildner", Description = "Bug Fixer", }, // Korg /*new ExternalItem * { * Name = "Richard Formidoni", Description = "Information Supplier", * }, * new ExternalItem * { * Name = "Steve Pavao", Description = "Information Supplier", * }, * new ExternalItem * { * Name = "Dan Phillips", Description = "Information Supplier", * }, */ // Important people new ExternalItem { Name = "Sharp (Irish Acts Studio)", Description = "Forum Moderator", Url = "http://www.irishacts.com/", BitmapPath = "IrishActsStudio.png" }, new ExternalItem { Name = "François Rossi", Description = "Language Support Expert", Url = "http://www.kronoscopie.fr", BitmapPath = "Kronoscopie.jpg" }, // Idea Notificators new ExternalItem { Name = "Tim Godfrey", Description = "Idea Notificator", }, //new ExternalItem //{ // Does not want to be mentioned. // Name = "Sander Veeken", Description = "Idea Notificator", //}, new ExternalItem { Name = "mTrilby", Description = "Idea Notificator", }, new ExternalItem { Name = "Sunriser", Description = "Idea Supplier / Tester", }, // Information Suppliers new ExternalItem { Name = "Cynkh", Description = "Information Supplier / Tester", }, new ExternalItem { Name = "McHale", Description = "Information Supplier", }, new ExternalItem { Name = "Matt Gerasimof", Description = "Information Supplier", }, new ExternalItem { Name = "Gary Slattery", Description = "Information Supplier", }, new ExternalItem { Name = "CJ Johansson", Description = "Information Supplier", }, new ExternalItem { Name = "Paul Hirschvogel", Description = "Information Supplier", }, new ExternalItem { Name = "Patrick Keijzer", Description = "Information Supplier", }, new ExternalItem { Name = "Joost Wilgehof", Description = "Information Supplier", }, new ExternalItem { Name = "Ed Fenner", Description = "Information Supplier", }, new ExternalItem { Name = "Xavier Miller", Description = "Information Supplier", }, new ExternalItem { Name = "PpublicDuendo", Description = "Information Supplier", }, new ExternalItem { Name = "Youri", Description = "Information Supplier", }, new ExternalItem { Name = "Mark Steven McLeod", Description = "Information Supplier", }, new ExternalItem { Name = "Mark White", Description = "Information Supplier", }, new ExternalItem() { Name = "keyboarder", Description = "Information Supplier", Url = "http://forum.rmmedia.ru", BitmapPath = "rmmedia.png" }, new ExternalItem() { Name = "Igor Elshaidt", Description = "Information Supplier" }, new ExternalItem() { Name = "JohnS", Description = "Information Supplier", Url = "http://www.artlum.com/microkorg", BitmapPath = "Artlum.png" }, // Testers new ExternalItem { Name = "Cello", Description = "Tester", }, new ExternalItem { Name = "Jim Knopf", Description = "Tester", }, new ExternalItem { Name = "John Laumen", Description = "Tester", }, new ExternalItem { Name = "Matej Golian", Description = "Tester", }, new ExternalItem { Name = "AdDeRoo", Description = "Tester", }, new ExternalItem { Name = "Klaus Jäde", Description = "Tester", }, new ExternalItem { Name = "Paul Hirschvogel", Description = "Tester", }, new ExternalItem { Name = "Jörn Westhoff", Description = "Bug Reporter", }, new ExternalItem { Name = "Karim El-Far", Description = "Bug Reporter", Url = "http://www.kelfar.net", BitmapPath = "kelfar.png" }, new ExternalItem { Name = "Michael Maschek", Description = "Bug Reporter", Url = "https://www.facebook.com/celticvoyagerband", BitmapPath = "celticvoyager.png" }, new ExternalItem { Name = "Dan Stesco", Description = "Information Supplier", Url = "http://www.danstesco.ro", BitmapPath = "DanStesco.png" } }; List <UserControlExternalLink> linkButtons = new List <UserControlExternalLink> { ButtonLink1, ButtonLink2, ButtonLink3, ButtonLink4, ButtonLink5, ButtonLink6, ButtonLink7, ButtonLink8, ButtonLink9, ButtonLink10, ButtonLink11, ButtonLink12, ButtonLink13, ButtonLink14, ButtonLink15, ButtonLink16, ButtonLink17, ButtonLink18, ButtonLink19, ButtonLink20, ButtonLink21, ButtonLink22, ButtonLink23, ButtonLink24, ButtonLink25, ButtonLink26, ButtonLink27, ButtonLink28, ButtonLink29, ButtonLink30, ButtonLink31, ButtonLink32, ButtonLink33, ButtonLink34, ButtonLink35, ButtonLink36, ButtonLink37, ButtonLink38, ButtonLink39, ButtonLink40, ButtonLink41, ButtonLink42, ButtonLink43, ButtonLink44, ButtonLink45, ButtonLink46, ButtonLink47, ButtonLink48, ButtonLink49, ButtonLink50, ButtonLink51, ButtonLink52, ButtonLink53, ButtonLink54, ButtonLink55, ButtonLink56, ButtonLink57, ButtonLink58, ButtonLink59, ButtonLink60 }; for (int index = 0; index < externalItems.Count; index++) { UserControlExternalLink userControl = linkButtons[index]; userControl.PreviewMouseLeftButtonUp += ButtonLinkOnPreviewMouseLeftButtonUp; userControl.Tag = externalItems[index]; userControl.DataContext = externalItems[index]; } for (int index = externalItems.Count; index < linkButtons.Count; index++) { linkButtons[index].Visibility = Visibility.Collapsed; } }