Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can I retrieve the table name Pin
jchalfant14-Apr-08 12:16
jchalfant14-Apr-08 12:16 
QuestionDetecting the RSS feeds a site has to offer ( like internet explorer ) Pin
sagedread14-Apr-08 11:02
sagedread14-Apr-08 11:02 
GeneralRe: Detecting the RSS feeds a site has to offer ( like internet explorer ) Pin
Razvan Dimescu14-Apr-08 12:48
Razvan Dimescu14-Apr-08 12:48 
GeneralRe: Detecting the RSS feeds a site has to offer ( like internet explorer ) Pin
sagedread14-Apr-08 14:12
sagedread14-Apr-08 14:12 
Questionany way to use the UAC "secure desktop" "black screen-ness" in vista? Pin
FocusedWolf14-Apr-08 10:51
FocusedWolf14-Apr-08 10:51 
GeneralSetting first row in a DataGridView visible = false does not hide row Pin
oracleConvert14-Apr-08 10:48
oracleConvert14-Apr-08 10:48 
GeneralArray of bitmaps. Pin
AKXman14-Apr-08 10:39
AKXman14-Apr-08 10:39 
GeneralRe: Array of bitmaps. Pin
Christian Graus14-Apr-08 11:16
protectorChristian Graus14-Apr-08 11:16 
AKXman wrote:
have declared Bitmap[] test = new Bitmap[30]
and tryed to fill it with test[length++]=b


So, all your array elements ended up holding hte same bitmap ? This is not a value type, it's a class. Unless b is redefined every time, you will find they all point to the one bitmap, change one and you change them all, because there is only one, just 30 references to it

The Clone method of hte Bitmap class will work just fine for this, but you need to cast the result.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Array of bitmaps. Pin
AKXman14-Apr-08 12:05
AKXman14-Apr-08 12:05 
GeneralRe: Array of bitmaps. Pin
Christian Graus14-Apr-08 12:10
protectorChristian Graus14-Apr-08 12:10 
GeneralRe: Array of bitmaps. Pin
Luc Pattyn14-Apr-08 12:38
sitebuilderLuc Pattyn14-Apr-08 12:38 
GeneralRe: Array of bitmaps. Pin
AKXman15-Apr-08 12:52
AKXman15-Apr-08 12:52 
GeneralRe: Array of bitmaps. Pin
Luc Pattyn15-Apr-08 13:12
sitebuilderLuc Pattyn15-Apr-08 13:12 
GeneralSerialize this OBJECT! Pin
zaboboa14-Apr-08 10:06
zaboboa14-Apr-08 10:06 
GeneralRe: Serialize this OBJECT! Pin
Zoltan Balazs14-Apr-08 10:37
Zoltan Balazs14-Apr-08 10:37 
QuestionHow to show a new record, and not the first (Windows Forms) Pin
Alessandra7714-Apr-08 9:56
Alessandra7714-Apr-08 9:56 
GeneralRe: How to show a new record, and not the first (Windows Forms) Pin
Expert Coming14-Apr-08 13:04
Expert Coming14-Apr-08 13:04 
GeneralFindNext on BindingSource Pin
jchalfant14-Apr-08 8:56
jchalfant14-Apr-08 8:56 
AnswerRe: FindNext on BindingSource Pin
jchalfant14-Apr-08 10:45
jchalfant14-Apr-08 10:45 
QuestionUnboxing Question Pin
jka34714-Apr-08 8:39
jka34714-Apr-08 8:39 
GeneralRe: Unboxing Question Pin
Pete O'Hanlon14-Apr-08 9:10
mvePete O'Hanlon14-Apr-08 9:10 
GeneralRe: Unboxing Question Pin
jka34714-Apr-08 9:23
jka34714-Apr-08 9:23 
GeneralRe: Unboxing Question Pin
PIEBALDconsult14-Apr-08 17:29
mvePIEBALDconsult14-Apr-08 17:29 
GeneralSystem.NullException Error Pin
tcombs0714-Apr-08 8:26
tcombs0714-Apr-08 8:26 
GeneralRe: System.NullException Error Pin
Luc Pattyn14-Apr-08 9:01
sitebuilderLuc Pattyn14-Apr-08 9:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.