Click here to Skip to main content
15,914,209 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing extension of assembly Pin
Not Active12-Feb-08 16:03
mentorNot Active12-Feb-08 16:03 
GeneralCustom Behaviour. Pin
bsaksida12-Feb-08 11:22
bsaksida12-Feb-08 11:22 
GeneralSystem.Diagnostics.Process hide process's console window Pin
aei_totten12-Feb-08 10:57
aei_totten12-Feb-08 10:57 
GeneralRe: System.Diagnostics.Process hide process's console window Pin
PIEBALDconsult12-Feb-08 12:13
mvePIEBALDconsult12-Feb-08 12:13 
GeneralRe: System.Diagnostics.Process hide process's console window Pin
Ravenet12-Feb-08 14:32
Ravenet12-Feb-08 14:32 
GeneralRe: System.Diagnostics.Process hide process's console window Pin
aei_totten13-Feb-08 2:29
aei_totten13-Feb-08 2:29 
GeneralRe: System.Diagnostics.Process hide process's console window Pin
Ravenet13-Feb-08 2:52
Ravenet13-Feb-08 2:52 
Generalproblem while using listbox Pin
netJP12L12-Feb-08 10:30
netJP12L12-Feb-08 10:30 
On my form1.cs am displaying around 200 images inside a listbox. Each listbox item contains an image but when i am looking on task manager window in winxp my application is using the most memory. I am controlling the onDrawItem like this

protected override void OnDrawItem(DrawItemEventArgs e)
{
Graphics g = e.Graphics;
Bitmap b1 = new Bitmap(400, 300);
((myImageItems )Items[e.Index]).DrawToBitmap(b1, new Rectangle(0, 0, 400, 300));
Bitmap b = new Bitmap(b1,new Size(100,60));
e.Graphics.DrawImage(b1, e.Bounds.X , e.Bounds.Y , b.Width, b.Height);
g.dispose();
b1.dispose();
b.dispose();
}
I do'nt know where to look into this i tried debuggin but no help so far. Any help i appreciate it.
Thanks
GeneralRe: problem while using listbox Pin
Christian Graus12-Feb-08 10:49
protectorChristian Graus12-Feb-08 10:49 
GeneralRe: problem while using listbox Pin
netJP12L12-Feb-08 11:22
netJP12L12-Feb-08 11:22 
GeneralRe: problem while using listbox Pin
Christian Graus12-Feb-08 11:29
protectorChristian Graus12-Feb-08 11:29 
GeneralRe: problem while using listbox Pin
netJP12L12-Feb-08 11:55
netJP12L12-Feb-08 11:55 
GeneralRe: problem while using listbox Pin
Christian Graus12-Feb-08 13:50
protectorChristian Graus12-Feb-08 13:50 
GeneralRich Text Box and Fonts in c# Pin
Ron.Blackwell12-Feb-08 9:39
Ron.Blackwell12-Feb-08 9:39 
GeneralRe: Rich Text Box and Fonts in c# Pin
Giorgi Dalakishvili12-Feb-08 9:50
mentorGiorgi Dalakishvili12-Feb-08 9:50 
Questionhow to add object to listview Pin
netJP12L12-Feb-08 8:03
netJP12L12-Feb-08 8:03 
AnswerRe: how to add object to listview Pin
Not Active12-Feb-08 8:27
mentorNot Active12-Feb-08 8:27 
GeneralRe: how to add object to listview Pin
netJP12L12-Feb-08 8:34
netJP12L12-Feb-08 8:34 
GeneralRe: how to add object to listview Pin
DaveyM6912-Feb-08 8:43
professionalDaveyM6912-Feb-08 8:43 
AnswerRe: how to add object to listview Pin
Ravenet12-Feb-08 14:38
Ravenet12-Feb-08 14:38 
GeneralRe: how to add object to listview Pin
Not Active12-Feb-08 16:48
mentorNot Active12-Feb-08 16:48 
QuestionNameOf method? Pin
Skippums12-Feb-08 7:40
Skippums12-Feb-08 7:40 
AnswerRe: NameOf method? Pin
Eslam Afifi12-Feb-08 8:12
Eslam Afifi12-Feb-08 8:12 
GeneralRe: NameOf method? Pin
Ravenet12-Feb-08 14:41
Ravenet12-Feb-08 14:41 
GeneralRe: NameOf method? Pin
Eslam Afifi13-Feb-08 2:32
Eslam Afifi13-Feb-08 2:32 

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.