Click here to Skip to main content
15,887,812 members
Home / Discussions / C#
   

C#

 
AnswerRe: Create a thread-safe timer? Pin
Ravi Bhavnani30-Apr-06 3:05
professionalRavi Bhavnani30-Apr-06 3:05 
GeneralRe: Create a thread-safe timer? Pin
Erikerikerikerikerassa30-Apr-06 3:43
Erikerikerikerikerassa30-Apr-06 3:43 
GeneralRe: Create a thread-safe timer? Pin
Ravi Bhavnani30-Apr-06 3:53
professionalRavi Bhavnani30-Apr-06 3:53 
GeneralRe: Create a thread-safe timer? Pin
leppie30-Apr-06 7:20
leppie30-Apr-06 7:20 
GeneralRe: Create a thread-safe timer? Pin
Ravi Bhavnani30-Apr-06 7:37
professionalRavi Bhavnani30-Apr-06 7:37 
Questionneed help to pain a picture Pin
f_o_x30-Apr-06 2:02
f_o_x30-Apr-06 2:02 
AnswerRe: need help to pain a picture Pin
CWIZO30-Apr-06 4:15
CWIZO30-Apr-06 4:15 
AnswerRe: need help to pain a picture Pin
Guffa30-Apr-06 5:50
Guffa30-Apr-06 5:50 
Although there are several languages that uses semicolon to separate statements, english is not one of them. Wink | ;)

There are basically two ways that you can go:

1. Get the bitmap from the picturebox, draw on that, and put it back.

2. Override the paint event of the picturebox to draw on top of the image whenever the control is redrawn.

The advantage of the first method is that it's somewhat easier, and if you want to save the image, it's ready for saving.

The advantage of the second method is that you are not drawing on the image itself, so you don't have to worry about how to restore the original image.

---
b { font-weight: normal; }

Questionvedio files Pin
walaa ibraheem30-Apr-06 0:56
walaa ibraheem30-Apr-06 0:56 
Questionaccessing shared folder in windows application Pin
WCup29-Apr-06 22:15
WCup29-Apr-06 22:15 
AnswerRe: accessing shared folder in windows application Pin
Ravi Bhavnani30-Apr-06 0:52
professionalRavi Bhavnani30-Apr-06 0:52 
QuestionType.Missing and Missing.Value Pin
adityap29-Apr-06 20:55
adityap29-Apr-06 20:55 
AnswerRe: Type.Missing and Missing.Value Pin
Dave Doknjas30-Apr-06 13:45
Dave Doknjas30-Apr-06 13:45 
QuestionProblem in setting icon to TreeView Control Pin
freshonlineMax29-Apr-06 20:27
freshonlineMax29-Apr-06 20:27 
AnswerRe: Problem in setting icon to TreeView Control Pin
tarasn29-Apr-06 22:39
tarasn29-Apr-06 22:39 
GeneralRe: Problem in setting icon to TreeView Control Pin
freshonlineMax29-Apr-06 23:17
freshonlineMax29-Apr-06 23:17 
AnswerRe: Problem in setting icon to TreeView Control Pin
Ravi Bhavnani30-Apr-06 0:55
professionalRavi Bhavnani30-Apr-06 0:55 
AnswerRe: Problem in setting icon to TreeView Control Pin
S. Senthil Kumar30-Apr-06 3:29
S. Senthil Kumar30-Apr-06 3:29 
GeneralRe: Problem in setting icon to TreeView Control Pin
freshonlineMax30-Apr-06 23:04
freshonlineMax30-Apr-06 23:04 
QuestionWhere are these namespaes? Pin
mehrdadc4829-Apr-06 20:13
mehrdadc4829-Apr-06 20:13 
AnswerRe: Where are these namespaes? Pin
CWIZO29-Apr-06 23:26
CWIZO29-Apr-06 23:26 
AnswerRe: Where are these namespaes? Pin
S. Senthil Kumar30-Apr-06 3:30
S. Senthil Kumar30-Apr-06 3:30 
QuestionNull reference exception Pin
lagumaster29-Apr-06 18:32
lagumaster29-Apr-06 18:32 
AnswerRe: Null reference exception Pin
Robert Rohde29-Apr-06 20:11
Robert Rohde29-Apr-06 20:11 
GeneralRe: Null reference exception Pin
lagumaster2-May-06 15:49
lagumaster2-May-06 15:49 

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.