Click here to Skip to main content
15,881,757 members
Home / Discussions / C#
   

C#

 
AnswerRe: gfhfgh Pin
Dave Kreskowiak9-Oct-12 6:00
mveDave Kreskowiak9-Oct-12 6:00 
JokeRe: gfhfgh Pin
Paul Conrad10-Oct-12 7:41
professionalPaul Conrad10-Oct-12 7:41 
AnswerRe: gfhfgh Pin
Keith Barrow9-Oct-12 6:27
professionalKeith Barrow9-Oct-12 6:27 
GeneralRe: gfhfgh Pin
OriginalGriff9-Oct-12 21:08
mveOriginalGriff9-Oct-12 21:08 
QuestionHelp With Delegates Pin
WebMaster9-Oct-12 3:00
WebMaster9-Oct-12 3:00 
AnswerRe: Help With Delegates Pin
n.podbielski9-Oct-12 3:53
n.podbielski9-Oct-12 3:53 
AnswerRe: Help With Delegates Pin
BobJanova9-Oct-12 3:53
BobJanova9-Oct-12 3:53 
AnswerRe: Help With Delegates Pin
Stefano Manni10-Oct-12 0:00
Stefano Manni10-Oct-12 0:00 
as first, delegate should be public, not private.
Then , Control is a generic type, but only your specific controls has this delegate. Then, you should make a cast.



C#
var specificControl= ViewingWindow as YourType;
if(specificControl!=null && speciicControl.NewFrameDelegate!=null )
    speciicControl.NewFrameDelegate.


Just an extra note: parameter names never should start with maiusc: maiusc is used for properties and methods
Questionhow to use subtract operation in windows form applicaion Pin
sri apple9-Oct-12 1:58
sri apple9-Oct-12 1:58 
AnswerRe: how to use subtract operation in windows form applicaion PinPopular
Pete O'Hanlon9-Oct-12 2:10
mvePete O'Hanlon9-Oct-12 2:10 
GeneralRe: how to use subtract operation in windows form applicaion PinPopular
Eddy Vluggen9-Oct-12 2:47
professionalEddy Vluggen9-Oct-12 2:47 
GeneralRe: how to use subtract operation in windows form applicaion Pin
Pete O'Hanlon9-Oct-12 3:06
mvePete O'Hanlon9-Oct-12 3:06 
GeneralRe: how to use subtract operation in windows form applicaion Pin
Shameel9-Oct-12 4:56
professionalShameel9-Oct-12 4:56 
AnswerRe: how to use subtract operation in windows form applicaion Pin
Eddy Vluggen9-Oct-12 2:46
professionalEddy Vluggen9-Oct-12 2:46 
AnswerRe: how to use subtract operation in windows form applicaion Pin
KiranKumar Roy14-Oct-12 1:47
KiranKumar Roy14-Oct-12 1:47 
QuestionDatacache Pin
nitin_ion9-Oct-12 0:25
nitin_ion9-Oct-12 0:25 
AnswerRe: Datacache Pin
Pete O'Hanlon9-Oct-12 0:40
mvePete O'Hanlon9-Oct-12 0:40 
GeneralRe: Datacache Pin
nitin_ion9-Oct-12 17:15
nitin_ion9-Oct-12 17:15 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 20:18
mvePete O'Hanlon9-Oct-12 20:18 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 22:01
mvePete O'Hanlon9-Oct-12 22:01 
GeneralRe: Datacache Pin
nitin_ion9-Oct-12 23:15
nitin_ion9-Oct-12 23:15 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 23:58
mvePete O'Hanlon9-Oct-12 23:58 
QuestionGenereate XML file from sql in C# Pin
Md. Rayhan Kabir8-Oct-12 18:17
Md. Rayhan Kabir8-Oct-12 18:17 
AnswerRe: Genereate XML file from sql in C# Pin
Sarath C8-Oct-12 22:42
Sarath C8-Oct-12 22:42 
Questionhelp in solving a problem Pin
michae1108-Oct-12 6:24
michae1108-Oct-12 6:24 

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.