Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: WPF BitmapImage and transparency Pin
Steve Bickell11-Sep-06 10:50
Steve Bickell11-Sep-06 10:50 
GeneralRe: WPF BitmapImage and transparency Pin
Arjun "Mjolnir" Bahree11-Sep-06 16:59
Arjun "Mjolnir" Bahree11-Sep-06 16:59 
AnswerRe: WPF BitmapImage and transparency Pin
g00fyman10-Sep-06 22:59
g00fyman10-Sep-06 22:59 
GeneralRe: WPF BitmapImage and transparency Pin
Steve Bickell11-Sep-06 10:52
Steve Bickell11-Sep-06 10:52 
QuestionDo we need to call dbCommand.Dispose() ? Pin
s o v a n n10-Sep-06 19:05
s o v a n n10-Sep-06 19:05 
AnswerRe: Do we need to call dbCommand.Dispose() ? Pin
Navi1510-Sep-06 19:40
Navi1510-Sep-06 19:40 
GeneralRe: Do we need to call dbCommand.Dispose() ? Pin
s o v a n n10-Sep-06 20:44
s o v a n n10-Sep-06 20:44 
GeneralRe: Do we need to call dbCommand.Dispose() ? Pin
Stefan Troschuetz10-Sep-06 21:36
Stefan Troschuetz10-Sep-06 21:36 
Whenever a class exposes a Dispose method you should definitely call it as it frees resources immediatly. You can take advantage of the using statement that automatically calls Dispose on an object when execution leaves its scope. Simple example taken from MSDN.
using (Font font1 = new Font("Arial", 10.0f))
{
  //use font1 object
}



"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: Do we need to call dbCommand.Dispose() ? Pin
s o v a n n10-Sep-06 22:25
s o v a n n10-Sep-06 22:25 
QuestionTrim away the last part of a string Pin
Support12310-Sep-06 18:24
Support12310-Sep-06 18:24 
AnswerRe: Trim away the last part of a string Pin
Guffa10-Sep-06 18:37
Guffa10-Sep-06 18:37 
GeneralRe: Trim away the last part of a string Pin
Support12310-Sep-06 18:55
Support12310-Sep-06 18:55 
GeneralRe: Trim away the last part of a string Pin
lmoelleb10-Sep-06 20:43
lmoelleb10-Sep-06 20:43 
GeneralRe: Trim away the last part of a string Pin
Support12310-Sep-06 22:36
Support12310-Sep-06 22:36 
AnswerRe: Trim away the last part of a string Pin
Arjun "Mjolnir" Bahree10-Sep-06 22:46
Arjun "Mjolnir" Bahree10-Sep-06 22:46 
GeneralRe: Trim away the last part of a string Pin
lmoelleb10-Sep-06 23:08
lmoelleb10-Sep-06 23:08 
QuestionMDI Forms Pin
Steve_c#freak10-Sep-06 18:03
Steve_c#freak10-Sep-06 18:03 
AnswerRe: MDI Forms Pin
Ranjan Banerji11-Sep-06 18:13
Ranjan Banerji11-Sep-06 18:13 
GeneralRe: MDI Forms Pin
Steve_c#freak12-Sep-06 13:33
Steve_c#freak12-Sep-06 13:33 
GeneralRe: MDI Forms Pin
Ranjan Banerji12-Sep-06 17:15
Ranjan Banerji12-Sep-06 17:15 
QuestionHelp me Pin
Niiiissssshhhhhuuuuu10-Sep-06 17:52
Niiiissssshhhhhuuuuu10-Sep-06 17:52 
AnswerRe: Connecting to radio server Pin
Guffa10-Sep-06 18:39
Guffa10-Sep-06 18:39 
GeneralRe: Connecting to radio server Pin
Niiiissssshhhhhuuuuu10-Sep-06 20:38
Niiiissssshhhhhuuuuu10-Sep-06 20:38 
Questionhow to get delegate parameters :sigh: Pin
g00fyman10-Sep-06 17:02
g00fyman10-Sep-06 17:02 
Question.NET 3 / WPF and simple stuff like "docking"? Pin
Jörgen Sigvardsson10-Sep-06 13:25
Jörgen Sigvardsson10-Sep-06 13:25 

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.