Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC5-Nov-05 10:12
J4amieC5-Nov-05 10:12 
GeneralRe: Single Method With Mutiple Paremeters Pin
leppie5-Nov-05 18:57
leppie5-Nov-05 18:57 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC6-Nov-05 0:25
J4amieC6-Nov-05 0:25 
AnswerRe: Single Method With Mutiple Paremeters Pin
Heath Stewart6-Nov-05 6:01
protectorHeath Stewart6-Nov-05 6:01 
QuestionSystem Tray Icon Update Pin
Coffmans5-Nov-05 6:36
Coffmans5-Nov-05 6:36 
AnswerRe: System Tray Icon Update Pin
Heath Stewart5-Nov-05 12:33
protectorHeath Stewart5-Nov-05 12:33 
GeneralRe: System Tray Icon Update Pin
Coffmans5-Nov-05 13:33
Coffmans5-Nov-05 13:33 
GeneralRe: System Tray Icon Update Pin
Heath Stewart5-Nov-05 13:36
protectorHeath Stewart5-Nov-05 13:36 
You might consider using the using statement for cleaner and safer code to dispose objects because it compiles such that the call to IDisposable.Dispose is in the finally block of a try/finally:
Bitmap i = new Bitmap(16, 16);<br />
using (Graphics g = Graphics.FromImage(i))<br />
{<br />
  g.DrawString(currentTemp, this.Font, Brushes.Black, new Point(0, 0));<br />
}<br />
notifyIcon1.Icon = Icon.FromHandle(h.GetHicon()); <br />
<br />
This posting is provided "AS IS" with no warranties, and confers no rights.<br />
<br />
Software Design Engineer<br />
Developer Division Customer Product-lifecycle Experience<br />
<span>Microsoft</span><br />
<br />
[<a href="http://www.codeproject.com/script/articles/list_articles.asp?userid=46969">My Articles</a>] [<a href="http://blogs.msdn.com/heaths/">My Blog</a>]

QuestionProblems printing Pin
naglbitur5-Nov-05 6:15
naglbitur5-Nov-05 6:15 
AnswerRe: Problems printing Pin
Heath Stewart5-Nov-05 12:00
protectorHeath Stewart5-Nov-05 12:00 
GeneralRe: Problems printing Pin
naglbitur5-Nov-05 21:54
naglbitur5-Nov-05 21:54 
GeneralRe: Problems printing Pin
Heath Stewart6-Nov-05 5:55
protectorHeath Stewart6-Nov-05 5:55 
GeneralRe: Problems printing Pin
naglbitur31-Dec-05 8:02
naglbitur31-Dec-05 8:02 
AnswerRe: Problems printing Pin
Heath Stewart1-Jan-06 10:06
protectorHeath Stewart1-Jan-06 10:06 
GeneralRe: Problems printing Pin
naglbitur1-Jan-06 19:57
naglbitur1-Jan-06 19:57 
GeneralRe: Problems printing Pin
naglbitur28-Nov-05 12:45
naglbitur28-Nov-05 12:45 
GeneralRe: Problems printing Pin
Heath Stewart28-Nov-05 20:37
protectorHeath Stewart28-Nov-05 20:37 
GeneralRe: Problems printing Pin
naglbitur29-Nov-05 6:40
naglbitur29-Nov-05 6:40 
QuestionMail Server Windows App C# Pin
TAREQ F ABUZUHRI5-Nov-05 6:04
TAREQ F ABUZUHRI5-Nov-05 6:04 
AnswerRe: Mail Server Windows App C# Pin
Heath Stewart5-Nov-05 11:54
protectorHeath Stewart5-Nov-05 11:54 
QuestionSend EnterKey to telnet Pin
Niles Davis5-Nov-05 3:51
Niles Davis5-Nov-05 3:51 
AnswerRe: Send EnterKey to telnet Pin
Heath Stewart5-Nov-05 11:45
protectorHeath Stewart5-Nov-05 11:45 
QuestionCan't parse SOAP with XPath Pin
Zhornyk5-Nov-05 3:23
Zhornyk5-Nov-05 3:23 
AnswerRe: Can't parse SOAP with XPath Pin
leppie5-Nov-05 3:32
leppie5-Nov-05 3:32 
GeneralRe: Can't parse SOAP with XPath Pin
Zhornyk5-Nov-05 4:00
Zhornyk5-Nov-05 4:00 

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.