Is there a neater way of referencing these picture boxes?

I am doing an assignment and I need to setup an array to contain picture boxes, I have managed to do so but it looks incredibly messy and there must be a better way of doing this. 
this.arrEnemiesForm = new PictureBox[3];
this.arrEnemiesPanel = new PictureBox[13];
this.arrEnemiesPanel[0] = this.picBigAlien1;
this.arrEnemiesPanel[1] = this.picBigAlien2;
this.arrEnemiesPanel[2] = this.picBigAlien3;
this.arrEnemiesPanel[3] = this.picBigAlien4;
this.arrEnemiesPanel[4] = this.picBigAlien5;
this.arrEnemiesPanel[5] = this.picBigAlien6;
this.arrEnemiesPanel[6] = this.picBigAlien7;
this.arrEnemiesPanel[7] = this.picBigAlien8;
this.arrEnemiesPanel[8] = this.picBigAlien9;
this.arrEnemiesPanel[9] = this.picBigAlien10;
this.arrEnemiesPanel[10] = this.picBigAlien11;
this.arrEnemiesPanel[11] = this.picBigAlien12;
Any help would be appreciated.

this.arrEnemiesPanel = new PictureBox[] {
picBigAlien1, picBigAlien2, picBigAlien3, picBigAlien4, picBigAlien5, picBigAlien6,
picBigAlien7, picBigAlien8, picBigAlien9, picBigAlien10, picBigAlien11, picBigAlien11
Armin

Similar Messages

  • I have many duplicates of my pictures on iPhoto there an easy way to delete these?

    I have many duplicates of my pictures on iphoto Is there an easy way to delete these, 23,000 pictures would take years to go through.

    Where are you seeing these duplicates?  In the iPhoto window or via the Finder?  If it's the Finder then you don't have true duplicates.  Each photo in iPhoto will have a minimum of two copies often three.  Then there will be additional faces images for each photo. 
    If you truly seeing duplicates while viewing in the iPhoto window there are two apps, actually one app and one Applescript script, for finding and removing duplicate photos from iPhoto. They are:
    Duplicate Annihilator
    iPhoto AppleScript to Remove Duplicates
    However, do not ever remove files from iPhoto using the Finder.  That will corrupt the library.
    OT

  • I lost my last import when iPhoto quit. Is there a way to find these pictures?

    I lost my last import when iPhoto quit. Is there a way to find these pictures?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • HT2357 I accidently deleted all of my updates and they're not coming back. Is there any quick way to get these updates active again?

    I accidentally deleted all of my updates and they're not coming back. I haven't been able to make any updates since 2006. I have a log of my past updates but I cannot seem to get them active again. Is there any easy way to get these updates active again?
    This was a while ago back in 2006 but from what I can remember I actually deleted/permanently removed these updates from my list of updates. I tried keeping all the updates except for two that I did not need and somehow deleted all of the updates I wanted to keep. I've tried reseting my ignored updates but that does not bring back the updates. If i delete the two that I originally attempted to remove - it only brings those two back. I hope there is still some way to get these updates back. I appreciate any help that anyone is able to give me.
    Thanks!
    Plum<3

    10.4.11 is the latest version of 10.4.
    The security updates for 10.4 are listed here:
    http://support.apple.com/kb/HT5165
    If you are interested in updating to 10.5, see this tip.

  • Why apple doesn't allow the users just to add more photos from our pcs instead of requiring us to re-sync the existing albums? I can't sync additional photos cause I have my pc  reformatted. =( is there any other way to add these photos? please help me.

    I can't sync additional photos cause I have my pc  reformatted. =( is there any other way to add these photos? please help me. these existing photos are very important to me. ='((

    Apple has not saidwhy they did it that way and it is against the terms of this forum to speculate on the reasons. It says not to:
    "Discussions of Apple policies or procedures or speculation on Apple decisions."
    The are third-party programs like TouchCopy that I think will allow you to do what you want.  You can import photos via DropBox.  The third-party programs will I know allow you to transfer the photos to your "new" computer.

  • I have a 3g iphone and I need to know how to delete old photos from my phone!! I need the space but there is no way to delete the pictures!! Help!!!

    I have a 3g iPhone and I need to know how to delete old photos. Need to free up space and there is no clear way to delete these photos!! Can someone please let me know how to get rid of these pictures!!!! Help!!!

    There are a number of ways to delete pictures from the Camera Roll.  One is to open Camera Roll in the thumbnail view, tap the arrow button (top right), tap all the pictures you want to delete, tap the Delete button ant the bottom.  Photo Library pictures are deleted by unchecking Sync Photos on the Photos tab of your iTunes sync settings, followed by syncing your phone.

  • Using the 6525 counter to measure frequency: is there a neater way?

    I'm currently using the high speed counter on the a USB 6525 module to measure the frequency of a spinning object via a hall effect sensor.
    I was wondering if there was a simpler/ more effective way of coding it than this?
    Currently all I do is take the current counter reading, wait a second, take another reading and subtract one from the other. The result is the frequency, in hertz.
    Is there a way of getting the 6525 to return the count/ change in count after 1 second?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    6525 frequency count LV8.vi ‏25 KB
    6525 frequency count LV2013.vi ‏15 KB

    Thanks for commenting. I'm not sure if I'm doing it right though or whether the NI USB 6525 can't handle this type of measurement?
    I keep on getting an error that says to effect it can't do this type of operation.
    Can you advise?
    Thanks
    Attachments:
    6525 frequency count LV9.vi ‏36 KB

  • Is there a neat way (or hardware solution) that will allow me to stream a DVD onto my new Retina display Macbook Pro?

    am going to update my Macbook Pro for the new Retina model but the one thing I will miss is a DVD drive. I've ordered a Superdrive BUT my dilema is this...
    Often my wife will be watching some dull reality show (Strictly Come Dancing or X Factor) and I would usually get my laptop, headphones and grab a DVD Box set (The Wire, Sopranos etc).
    I could sit and watch happily (and eisily go back to wherever point I last stopped watching)
    With the new Macbook I'm looking for the same easy solution. I don't want to sit with the superdrive on my lap, guess I can spend some time with Handbrake and rip all the DVD's to my new laptop (or a wireless storage device like this:http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/seagat e-satellite/
    But this would be timeconsuming and I'm not sure if the ease of playback would be as good.
    What I would really like is a DVD player that can just stream my DVD wirelessly to the laptop and I can control with the DVD player controls.
    Does such a thing exist or can somebody suggest any alternative ideas?
    Just to add, the main reason I chose this is that I often travel and the lighter, thinner design really appealed to me. I had considered a Mac Air in the past but it didn't have enough capacity or screen size for me when it was originally released.
    I guess I will still have to transfer some DVD's anyway to be able to watch whilst travelling.

    there is one actually use application called air playit, this is application has two parts the first one is the server part to install on any machine its available on Mac and windows you can configure it to stream from anything on the machine, the second part is the client you can install it on any IOS or android, the good thing about this application is you can use local network connection or Internet connection even you are outside still you can stream it
    http://www.airplayit.com/

  • Is there an easy way to attach a picture to email?

    I know I can easily share pictures when I'm in iPhoto, but how do I attach a picture to an email already open?
    I click the paperclip icon, then photos, and I'm shown my iPhoto libraries icons.  If I select one of those, it attaches the entire library to the email.  How can I simply browse and then select photos from within those libraries?
    I've also tried dragging an image from iPhoto into the open message, but all I get is the file name with no content.
    I'm used to Windows, where I simply open a folder and select one or several images to attach.  This apparently doesn't work the same way.
    Thanks for any help.
    Stan

    Right click (or control-click) on the file icon and click View as Image.
    Whether you personally view it as an image or icon, though, the recipient will still get it. Their own email program may display it in different ways, but you have no control over that.
    Matt

  • My documents on my iCloud storage got automatically deleted, is there any possible way to recover them? They're nearly 1GB and very important to me.

    On January 26th, I downloaded iCloud for Windows and logged in using my account which was the same with the one on my Mac. 2 days later, at 3:27 PM January 28th, my 1 GB of documents on my iCloud storage got deleted automatically. I'm saying this because at that time I was sleeping and both my Mac and my Windows PC are turned off, and I'm home alone, besides there was no suspicious login reported to me by Apple.
    So is there any possible way to recover these documents? I'm a teacher and they're very important to me. My Time Machine wasn't enabled so using it is useless.
    Thank you so much for any help.

    Please please help me, if you know how.

  • Is there an automated way to replace a query with another in a workbook?

    Hi all,
    I have a bunch of Queries which I'm planning to phase out, and I have replacement Queries for them. The Queries to be phased out are used in Workbooks. Is there an automated way to replace these obsolete Queries with new Queries in these workbooks? Maybe a BAPI, function module, VB Macro, Tcode (so that a BDC program can be written) or some other way?
    Thanks in advance
    Sankar Tadinada

    KairiTech wrote:I'm thinking of trying out Kernel Seeds.
    Kernel seeds are an excellent way to learn how to build a targeted kernel for your hardware, and I use and recommend them. They are not an automated method, which is what I understand the OP is looking for.
    (edit) yes, the information on the page is a little dated, but the methods still work. Kernel seeds are not really about faster and easier -- it's about understanding what you really need and how the process works (again, not really what the OP was asking for, but a different approach to kernel building).
    Last edited by 2ManyDogs (2013-11-25 21:51:19)

  • I downloaded some free, stupid applications and am wondering if there is a way to delete them from my purchased applications?

    Over the time I have had my iphone I have downloaded some free applications and have found them boring. I was wondering if there is a way to delete these applications from my itunes purchased category?

    No, your purchase history cannot be deleted. Even though free apps did not include a money exchange, they are considered a purchase.

  • Exch2k13 - Monitor Maintenance mode - there is a way like older versions?

    Hi,
    I found only articles saying to set the Logging to minimum and check some event viewers - but all for older versions.
    >>> There is some way to accompany these tasks performed on Exch2013??
    Useful article:
    http://windowsitpro.com/systems-management/10-tips-keep-your-microsoft-exchange-server-humming

    Hi,
    If you want to monitor Exchange server health, in Exchange 2013, Managed Availability can provide built-in monitoring and recovery actions.
    Here is a related article for your reference.
    http://technet.microsoft.com/en-us/library/dn482056(v=exchg.150).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • If your iphone 3gs just shuts down when theres something wrong with your hardware,is there any possible way to get all your pictures back?

    if your iphone 3gs just shuts down when something went wrong with your hardware is there any possible way to get all pictures or other important stuff onto itunes?

    What happened to the phone. Did it just go black? Did you try to plug it into Itunes and see if it can be seen or throw it on the charger. You can still try the reset procedure listed in http://support.apple.com/kb/ht1430 and see if the phone turns back on.
    The only way to get things back is to have backed them up ahead of time.

  • HT4859 hi i download ios6 and i lost my picture ,is there any way to get the picture back ??

    Hi i wonder if there is any way to get my picture back after i download ios6 ???
    thanks

    ?? What picture is missing? 

Maybe you are looking for

  • No display with loop beeps after changing DRAM Configuration Timing Mode BIOS

    Mainboard - RS480M2 Please anyone help me, after I have override the settings for DRAM Configuration > Timing Mode and set it to manual the system does not display anything and long beeps can be heard, infinite beeps. What should I do? I tried cleari

  • Is there any adapter vom macmini thunderbolt to LCD-Screen with VGA

    I have just bought a macmini with thunderbolt and I have a LCD-Screen with VGA-connection. Is there any adapter to connect the screen with the mac??

  • Does it need to connect to wi-fi

    Does an iPhone 4 absolutely have to be connected to wi-fi to work? And why does it say that my device does not have sufficient services to connect on bluetooth.

  • Hourly Siren on MacBook Pro I7

    Hello all, I'm currently using a brand new MacBook Pro (13", I7, 4GB RAM, 500GB HD). I owned it in begining of may on USA and since last weekend a problem is occurring every full hour (10:00, 11:00, 12:00 and on). A Siren alarm is coming out from the

  • Products installed in Oracle_home

    Hi, I am really confused about which products can be installed in a same Oracle_Home. Till now, my understandings are for installation of each product, we need a separate Oracle_Home. Then what does this line "If two products are built on the same ve