Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
QuestionCan someone please tell me why the eventlog part of this doesn't work? Pin
CCodeNewbie20-Oct-11 11:54
CCodeNewbie20-Oct-11 11:54 
QuestionRe: Can someone please tell me why the eventlog part of this doesn't work? Pin
Luc Pattyn20-Oct-11 13:55
sitebuilderLuc Pattyn20-Oct-11 13:55 
AnswerRe: Can someone please tell me why the eventlog part of this doesn't work? Pin
CCodeNewbie20-Oct-11 21:51
CCodeNewbie20-Oct-11 21:51 
GeneralRe: Can someone please tell me why the eventlog part of this doesn't work? Pin
Luc Pattyn21-Oct-11 1:59
sitebuilderLuc Pattyn21-Oct-11 1:59 
AnswerRe: Can someone please tell me why the eventlog part of this doesn't work? Pin
BobJanova20-Oct-11 22:30
BobJanova20-Oct-11 22:30 
AnswerRe: Can someone please tell me why the eventlog part of this doesn't work? Pin
phil.o21-Oct-11 0:30
professionalphil.o21-Oct-11 0:30 
AnswerRe: Can someone please tell me why the eventlog part of this doesn't work? - Solved Pin
CCodeNewbie22-Oct-11 9:49
CCodeNewbie22-Oct-11 9:49 
QuestionI am having some basic compile issues defining a BorderBrush. Pin
Xarzu20-Oct-11 7:37
Xarzu20-Oct-11 7:37 
I am having some basic compile issues defining a BorderBrush.

http://msdn.microsoft.com/en-us/library/system.windows.controls.border.borderbrush.aspx
states that you define a borderbrush like this:

myBorder1 = new Border();
myBorder1.BorderBrush = Brushes.SlateBlue;


but in my code, when I try
border1.BorderBrush = Brushes.SlateBlue;
I get
Error 1 The name 'Brushes' does not exist in the current context
and I have included the namespace
System.Windows.Controls
as a "using" statement at the top of the file
as well as a Reference to the project.
What am I missing?
AnswerRe: I am having some basic compile issues defining a BorderBrush. Pin
Manfred Rudolf Bihy20-Oct-11 7:52
professionalManfred Rudolf Bihy20-Oct-11 7:52 
GeneralRe: I am having some basic compile issues defining a BorderBrush. Pin
Xarzu20-Oct-11 12:15
Xarzu20-Oct-11 12:15 
AnswerRe: I am having some basic compile issues defining a BorderBrush. Pin
Alisaunder20-Oct-11 18:34
Alisaunder20-Oct-11 18:34 
AnswerRe: I am having some basic compile issues defining a BorderBrush. Pin
BobJanova20-Oct-11 22:27
BobJanova20-Oct-11 22:27 
QuestionEmbedded Forms? Panels? Other? Pin
tim.walter20-Oct-11 3:33
tim.walter20-Oct-11 3:33 
AnswerRe: Embedded Forms? Panels? Other? Pin
Wayne Gaylard20-Oct-11 4:12
professionalWayne Gaylard20-Oct-11 4:12 
GeneralRe: Embedded Forms? Panels? Other? Pin
tim.walter20-Oct-11 4:20
tim.walter20-Oct-11 4:20 
GeneralRe: Embedded Forms? Panels? Other? Pin
Wayne Gaylard20-Oct-11 4:27
professionalWayne Gaylard20-Oct-11 4:27 
GeneralRe: Embedded Forms? Panels? Other? Pin
tim.walter20-Oct-11 4:30
tim.walter20-Oct-11 4:30 
GeneralRe: Embedded Forms? Panels? Other? Pin
BobJanova20-Oct-11 4:46
BobJanova20-Oct-11 4:46 
AnswerRe: Embedded Forms? Panels? Other? Pin
PIEBALDconsult20-Oct-11 4:21
mvePIEBALDconsult20-Oct-11 4:21 
Questionusing bitwise operators on ushort Pin
__John_20-Oct-11 2:37
__John_20-Oct-11 2:37 
AnswerRe: using bitwise operators on ushort Pin
BobJanova20-Oct-11 3:09
BobJanova20-Oct-11 3:09 
AnswerRe: using bitwise operators on ushort Pin
Richard MacCutchan20-Oct-11 3:25
mveRichard MacCutchan20-Oct-11 3:25 
GeneralRe: using bitwise operators on ushort Pin
__John_20-Oct-11 3:44
__John_20-Oct-11 3:44 
GeneralRe: using bitwise operators on ushort Pin
Richard MacCutchan20-Oct-11 4:11
mveRichard MacCutchan20-Oct-11 4:11 
QuestionHow to generate the area of the irregular polygon Pin
sivakumarmr1019-Oct-11 21:10
sivakumarmr1019-Oct-11 21:10 

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.