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

C#

 
GeneralRe: crash using a delay on input Pin
Dave Kreskowiak24-May-13 6:32
mveDave Kreskowiak24-May-13 6:32 
AnswerRe: crash using a delay on input Pin
Bernhard Hiller23-May-13 22:14
Bernhard Hiller23-May-13 22:14 
GeneralRe: crash using a delay on input Pin
Member 1007416123-May-13 22:53
Member 1007416123-May-13 22:53 
QuestionC# check for folder in directory path location Pin
classy_dog23-May-13 10:38
classy_dog23-May-13 10:38 
AnswerRe: C# check for folder in directory path location Pin
NickPace23-May-13 11:19
NickPace23-May-13 11:19 
GeneralRe: C# check for folder in directory path location Pin
jain.shailesh@hotmail.com23-May-13 23:50
jain.shailesh@hotmail.com23-May-13 23:50 
AnswerRe: C# check for folder in directory path location Pin
OriginalGriff23-May-13 11:44
mveOriginalGriff23-May-13 11:44 
GeneralRe: C# check for folder in directory path location Pin
classy_dog23-May-13 12:40
classy_dog23-May-13 12:40 
GeneralRe: C# check for folder in directory path location Pin
Dave Kreskowiak23-May-13 15:40
mveDave Kreskowiak23-May-13 15:40 
GeneralRe: C# check for folder in directory path location Pin
OriginalGriff23-May-13 19:38
mveOriginalGriff23-May-13 19:38 
GeneralRe: C# check for folder in directory path location Pin
Dave Kreskowiak24-May-13 2:04
mveDave Kreskowiak24-May-13 2:04 
GeneralRe: C# check for folder in directory path location Pin
classy_dog24-May-13 4:55
classy_dog24-May-13 4:55 
GeneralRe: C# check for folder in directory path location Pin
OriginalGriff24-May-13 5:06
mveOriginalGriff24-May-13 5:06 
AnswerRe: C# check for folder in directory path location Pin
BillWoodruff23-May-13 20:03
professionalBillWoodruff23-May-13 20:03 
QuestionHow to use keyboard keys instead of mouse for space invaders Pin
Ruben X Ashley David23-May-13 5:58
Ruben X Ashley David23-May-13 5:58 
AnswerMessage Removed Pin
23-May-13 6:35
professionalN_tro_P23-May-13 6:35 
GeneralRe: How to use keyboard keys instead of mouse for space invaders Pin
Ruben X Ashley David23-May-13 6:51
Ruben X Ashley David23-May-13 6:51 
GeneralRe: How to use keyboard keys instead of mouse for space invaders Pin
Dave Kreskowiak23-May-13 7:24
mveDave Kreskowiak23-May-13 7:24 
AnswerMessage Removed Pin
23-May-13 7:26
professionalN_tro_P23-May-13 7:26 
GeneralRe: How to use keyboard keys instead of mouse for space invaders Pin
Ruben X Ashley David23-May-13 7:45
Ruben X Ashley David23-May-13 7:45 
QuestionRe: Set Color of Pen and Brush Pin
ASPnoob22-May-13 21:06
ASPnoob22-May-13 21:06 
AnswerRe: Set Color of Pen and Pen Pin
Bernhard Hiller22-May-13 21:17
Bernhard Hiller22-May-13 21:17 
GeneralRe: Set Color of Pen and Brush Pin
ASPnoob22-May-13 21:34
ASPnoob22-May-13 21:34 
AnswerRe: Set Color of Pen and Pen Pin
DaveyM6922-May-13 21:34
professionalDaveyM6922-May-13 21:34 
Have a look at the FromArgb[^] method of the Color struct, you can set it to anywhere in the 32bit ARGB range. So, you set the Color and pass that to the Pen...
Edit:
C#
using(Pen pen = new Pen(Color.FromArgb(0)))
{
    //
}

replacing the zero with the value you want
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Set Color of Pen and Brush Pin
ASPnoob22-May-13 21:44
ASPnoob22-May-13 21:44 

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.