An array of bitmaps
-
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.
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) -
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.
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.
-
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.
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
-
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
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.