Click here to Skip to main content
16,008,183 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks for replying Graus, I have edited my codes as you mentioned but still when i start my app the memory is 278,000 and as i click on the downScrollbar its goes up around 350,000+. Can you please help me from your Magic coding. Apart from drawing my own do u think there could be else where problem because all those listbox item i am keeping them in a List of myImageItems

Bitmap imgItm = new Bitmap(400, 300);
Rectangle rect = new Rectangle(0, 0, 400, 300);

protected override void OnDrawItem(DrawItemEventArgs e)
{
using ( Font f = new Font(e.Font.FontFamily, e.Font.Size, FontStyle.Bold))
{
((myImageItems)Items[e.Index]).DrawToBitmap(imgItm , rect);
e.Graphics.DrawImage(imgItm , e.Bounds.X, e.Bounds.Y , 120, 80);
}
}
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 
AnswerRe: NameOf method? Pin
TJoe12-Feb-08 8:13
TJoe12-Feb-08 8:13 
AnswerRe: NameOf method? Pin
Not Active12-Feb-08 8:14
mentorNot Active12-Feb-08 8:14 

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.