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

C#

 
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 
GeneralRe: problem while using listbox Pin
Christian Graus12-Feb-08 10:49
protectorChristian Graus12-Feb-08 10:49 
netJP12L wrote:
Graphics g = e.Graphics;


This is SO redundant.

netJP12L wrote:
Bitmap b1 = new Bitmap(400, 300);


Why not use meaningful variable names ? And the using keyword ?

netJP12L wrote:
g.dispose();


You don't dispose of an object that was passed to you on the event args. Creating a local reference to it makes it more likely you would forget that. Use 'using' blocks, instead of calling dispose.

How much memory is it using ? Remember, the memory usage you see represents more than the memory in use right now, perhaps creating these bitmaps and disposing of them over and over is the reason the number is so high ?

Christian Graus - Microsoft MVP - C++

"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: 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 
AnswerRe: NameOf method? Pin
TJoe12-Feb-08 8:13
TJoe12-Feb-08 8:13 

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.