Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. An array of bitmaps

An array of bitmaps

Scheduled Pinned Locked Moved C#
questiondata-structures
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sebogawa
    wrote on last edited by
    #1

    How do i declare an array that is one-dimensional and contains 30 bitmaps? The bitmaps are loaded from picture files on my hard disk.

    D L 2 Replies Last reply
    0
    • S sebogawa

      How do i declare an array that is one-dimensional and contains 30 bitmaps? The bitmaps are loaded from picture files on my hard disk.

      D Offline
      D Offline
      DaveyM69
      wrote on last edited by
      #2

      Bitmap[] bitmaps = new Bitmap[30];

      Dave
      Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
      BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
      Why are you using VB6? Do you hate yourself? (Christian Graus)

      1 Reply Last reply
      0
      • S sebogawa

        How do i declare an array that is one-dimensional and contains 30 bitmaps? The bitmaps are loaded from picture files on my hard disk.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        An array is an array, it isn't special just because it holds Bitmaps. I suggest you get your C# book and study it (again). :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


        N 1 Reply Last reply
        0
        • L Luc Pattyn

          An array is an array, it isn't special just because it holds Bitmaps. I suggest you get your C# book and study it (again). :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Luc Pattyn wrote:

          study it (again)

          What makes you think they studied it the first time ;P


          I know the language. I've read a book. - _Madmatt

          L 1 Reply Last reply
          0
          • N Not Active

            Luc Pattyn wrote:

            study it (again)

            What makes you think they studied it the first time ;P


            I know the language. I've read a book. - _Madmatt

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Nothing really. That is exactly why I've used parentheses. Now if I had be sure, I could have left out again entirely. :laugh:

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups