Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: WMI with service application Pin
Abhinav S31-Jul-13 19:47
Abhinav S31-Jul-13 19:47 
AnswerRe: WMI with service application Pin
Bernhard Hiller31-Jul-13 21:05
Bernhard Hiller31-Jul-13 21:05 
QuestionHow to get window z order using GetTopMostWindow api Pin
bunge-bunge31-Jul-13 7:49
bunge-bunge31-Jul-13 7:49 
AnswerRe: How to get window z order using GetTopMostWindow api Pin
Eddy Vluggen31-Jul-13 8:49
professionalEddy Vluggen31-Jul-13 8:49 
QuestionWhat do you think this is about? Pin
Jasmine250131-Jul-13 7:22
Jasmine250131-Jul-13 7:22 
AnswerRe: What do you think this is about? Pin
Eddy Vluggen31-Jul-13 8:46
professionalEddy Vluggen31-Jul-13 8:46 
GeneralRe: What do you think this is about? Pin
Jasmine250131-Jul-13 9:06
Jasmine250131-Jul-13 9:06 
GeneralRe: What do you think this is about? Pin
Eddy Vluggen31-Jul-13 10:42
professionalEddy Vluggen31-Jul-13 10:42 
GeneralRe: What do you think this is about? Pin
Jasmine250131-Jul-13 11:13
Jasmine250131-Jul-13 11:13 
AnswerRe: What do you think this is about? Pin
Ravi Bhavnani31-Jul-13 10:46
professionalRavi Bhavnani31-Jul-13 10:46 
GeneralRe: What do you think this is about? Pin
Jasmine250131-Jul-13 11:18
Jasmine250131-Jul-13 11:18 
GeneralRe: What do you think this is about? Pin
Ravi Bhavnani31-Jul-13 12:02
professionalRavi Bhavnani31-Jul-13 12:02 
GeneralRe: What do you think this is about? Pin
Jasmine250131-Jul-13 12:23
Jasmine250131-Jul-13 12:23 
GeneralRe: What do you think this is about? Pin
Ravi Bhavnani31-Jul-13 12:39
professionalRavi Bhavnani31-Jul-13 12:39 
AnswerRe: What do you think this is about? Pin
Bernhard Hiller31-Jul-13 21:16
Bernhard Hiller31-Jul-13 21:16 
AnswerRe: What do you think this is about? Pin
BillWoodruff1-Aug-13 2:09
professionalBillWoodruff1-Aug-13 2:09 
GeneralRe: What do you think this is about? Pin
Jasmine25012-Aug-13 5:56
Jasmine25012-Aug-13 5:56 
QuestionManaging List<Bitmap> Pin
BBatts31-Jul-13 4:34
BBatts31-Jul-13 4:34 
Hello All,

I have an application that frequently uses the general List object with an bitmap type". I have two questions concerning these.

1: What is the best way to copy the bitmaps from one list to another while ensuring the Bitmaps in the original list are unchanged if changes are made to the new list. Currently i'm doing it in a forloop such as:

C#
List<Bitmap> aviList1 = new List<Bitmap>();  aviList1.Clear();

  for (int i=0; I originalList.Count; i++)
    aviList1.Add(new Bitmap(originalList[i]));


2: Is calling originalList.Clear sufficient to free up the memory or would it be necessary to loop through the list and dispose of the Bitmaps individually?

Thanks in advance for the always great support here at CodeProject.

Bryan
AnswerRe: Managing List<Bitmap> Pin
OriginalGriff31-Jul-13 8:28
mveOriginalGriff31-Jul-13 8:28 
GeneralRe: Managing List<Bitmap> Pin
BillWoodruff1-Aug-13 2:35
professionalBillWoodruff1-Aug-13 2:35 
GeneralRe: Managing List<Bitmap> Pin
OriginalGriff1-Aug-13 2:54
mveOriginalGriff1-Aug-13 2:54 
AnswerRe: Managing List<Bitmap> Pin
Pete O'Hanlon1-Aug-13 3:04
mvePete O'Hanlon1-Aug-13 3:04 
QuestionRegular expressions. Pin
Septimus Hedgehog31-Jul-13 3:06
Septimus Hedgehog31-Jul-13 3:06 
AnswerRe: Regular expressions. Pin
Pete O'Hanlon31-Jul-13 3:09
mvePete O'Hanlon31-Jul-13 3:09 
GeneralRe: Regular expressions. Pin
Septimus Hedgehog31-Jul-13 3:15
Septimus Hedgehog31-Jul-13 3:15 

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.