Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Finding Info about a dll using Reflection Pin
Pete O'Hanlon3-May-07 3:00
mvePete O'Hanlon3-May-07 3:00 
GeneralRe: Finding Info about a dll using Reflection Pin
Vikram A Punathambekar2-May-07 22:35
Vikram A Punathambekar2-May-07 22:35 
AnswerRe: Finding Info about a dll using Reflection Pin
AFSEKI7-May-07 5:38
AFSEKI7-May-07 5:38 
QuestionConditional Directives Pin
Dewald2-May-07 21:49
Dewald2-May-07 21:49 
When using Microsoft Visual Studio .NET, are there symbols defined by default with which I can determine which .NET framework is being used for the compilation?

I'm writing a custom control that inherits System.Windows.Forms.PictureBox. I'd like to override the OnMouseHover event handler but obviously this would not compile when I use the control in a .NET Compact Framework sollution.

So I was hoping to embrace the override with the #if compiler directive - something like this:

#if FULLFRAMEWORK<br />
        protected override void OnMouseHover(EventArgs e)<br />
        {<br />
            base.OnMouseHover(e);<br />
            // Do all my stuff here<br />
        }<br />
#endif


However, there is obviously no such symbol as FULLFRAMEWORK and I would prefer not to have to define it in every one of my projects that use this control. Is there a symbol that is defined by default that I could use for this purpose?
AnswerRe: Conditional Directives Pin
Luc Pattyn3-May-07 1:16
sitebuilderLuc Pattyn3-May-07 1:16 
Questionhow to parse the file into xml Pin
DON3452-May-07 21:03
DON3452-May-07 21:03 
AnswerRe: how to parse the file into xml Pin
Sandeep Akhare2-May-07 21:27
Sandeep Akhare2-May-07 21:27 
GeneralRe: how to parse the file into xml Pin
DON3452-May-07 21:30
DON3452-May-07 21:30 
GeneralRe: how to parse the file into xml Pin
Sandeep Akhare2-May-07 21:35
Sandeep Akhare2-May-07 21:35 
GeneralRe: how to parse the file into xml Pin
DON3452-May-07 21:44
DON3452-May-07 21:44 
GeneralRe: how to parse the file into xml Pin
Sandeep Akhare2-May-07 21:51
Sandeep Akhare2-May-07 21:51 
GeneralRe: how to parse the file into xml Pin
Sandeep Akhare2-May-07 21:55
Sandeep Akhare2-May-07 21:55 
GeneralRe: how to parse the file into xml Pin
DON3452-May-07 22:29
DON3452-May-07 22:29 
AnswerRe: how to parse the file into xml Pin
Stefan Troschuetz2-May-07 21:41
Stefan Troschuetz2-May-07 21:41 
QuestionUrgent Role Based Menu Pin
coolestCoder2-May-07 20:49
coolestCoder2-May-07 20:49 
AnswerRe: Urgent Role Based Menu Pin
Pete O'Hanlon2-May-07 22:29
mvePete O'Hanlon2-May-07 22:29 
QuestionICloneable Collection Property Pin
Kenneth.Cheng2-May-07 20:24
Kenneth.Cheng2-May-07 20:24 
AnswerRe: ICloneable Collection Property Pin
Kenneth.Cheng3-May-07 17:25
Kenneth.Cheng3-May-07 17:25 
AnswerRe: ICloneable Collection Property Pin
AFSEKI7-May-07 5:45
AFSEKI7-May-07 5:45 
QuestionOLEDB vs SQLClient Pin
Sujit Mandal2-May-07 20:08
Sujit Mandal2-May-07 20:08 
AnswerRe: OLEDB vs SQLClient Pin
PIEBALDconsult2-May-07 20:16
mvePIEBALDconsult2-May-07 20:16 
GeneralRe: OLEDB vs SQLClient Pin
Sujit Mandal2-May-07 23:36
Sujit Mandal2-May-07 23:36 
QuestionSelect checkbox from checkbox list through code. Pin
Sushant Duggal2-May-07 20:05
Sushant Duggal2-May-07 20:05 
AnswerRe: Select checkbox from checkbox list through code. [modified] Pin
PIEBALDconsult2-May-07 20:20
mvePIEBALDconsult2-May-07 20:20 
AnswerRe: Select checkbox from checkbox list through code. [modified] Pin
PIEBALDconsult2-May-07 20:27
mvePIEBALDconsult2-May-07 20:27 

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.