Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data is not stored to data source path mentioned in solution explorer Pin
Richard Andrew x6419-Nov-13 19:41
professionalRichard Andrew x6419-Nov-13 19:41 
GeneralRe: Data is not stored to data source path mentioned in solution explorer Pin
emma.sun.sts19-Nov-13 20:18
emma.sun.sts19-Nov-13 20:18 
RantProblem Solution to working code that stops working Pin
RBKpro19-Nov-13 3:39
RBKpro19-Nov-13 3:39 
GeneralRe: Problem Solution to working code that stops working Pin
Kornfeld Eliyahu Peter19-Nov-13 3:52
professionalKornfeld Eliyahu Peter19-Nov-13 3:52 
GeneralRe: Problem Solution to working code that stops working Pin
Dave Kreskowiak19-Nov-13 4:19
mveDave Kreskowiak19-Nov-13 4:19 
GeneralRe: Problem Solution to working code that stops working Pin
_Maxxx_19-Nov-13 11:52
professional_Maxxx_19-Nov-13 11:52 
GeneralRe: Problem Solution to working code that stops working Pin
Mycroft Holmes19-Nov-13 13:46
professionalMycroft Holmes19-Nov-13 13:46 
GeneralRe: Problem Solution to working code that stops working Pin
Matty2219-Nov-13 15:20
Matty2219-Nov-13 15:20 
First thing.
Those signatures are totally identical. So I don't know what you're complaining about

public void foo(Color x);

is identical to public void foo(System.Drawing.Color x)

If you are importing the System.Drawing namespace that is. I think java has namespaces too.


Second thing.

When it wasn't firing, did you check that you are actually subscribing/wiring up xrInvAllegations_BeforePrint method to an event?

I strongly suspect what you probably did was accidentally not subscribe to the event. Then you probably used the visual studio IDE to create a 'new' event via using the forms designer. The forms designer probably subscribed to the event for you, and hence xrInvAllegations_BeforePrint now gets called correctly. Which fixed your problem (In a stupid round about way)

On the non firing version. I'd go check you actually have code somewhere that looks like someClass.SomeEvent += xrInvAllegations_BeforePrint;

If you don't, it's pretty obvious why it's not getting fired :P Functions and methods don't magically get called unless you tell something you want them to be called.
JokeRe: Problem Solution to working code that stops working Pin
Richard Andrew x6419-Nov-13 17:42
professionalRichard Andrew x6419-Nov-13 17:42 
GeneralRe: Problem Solution to working code that stops working Pin
Matty2223-Nov-13 5:03
Matty2223-Nov-13 5:03 
GeneralRe: Problem Solution to working code that stops working Pin
RBKpro22-Nov-13 11:04
RBKpro22-Nov-13 11:04 
GeneralRe: Problem Solution to working code that stops working Pin
Matty2223-Nov-13 4:57
Matty2223-Nov-13 4:57 
Questionwindows app's Pin
Member 1041118019-Nov-13 0:04
Member 1041118019-Nov-13 0:04 
AnswerRe: windows app's Pin
Eddy Vluggen19-Nov-13 0:33
professionalEddy Vluggen19-Nov-13 0:33 
AnswerRe: windows app's Pin
Pete O'Hanlon19-Nov-13 0:35
mvePete O'Hanlon19-Nov-13 0:35 
AnswerRe: windows app's Pin
Chris Quinn19-Nov-13 0:38
Chris Quinn19-Nov-13 0:38 
AnswerRe: windows app's Pin
BillWoodruff19-Nov-13 6:32
professionalBillWoodruff19-Nov-13 6:32 
AnswerRe: windows app's Pin
Abhinav S19-Nov-13 16:30
Abhinav S19-Nov-13 16:30 
QuestionAI Pin
Member 1036314518-Nov-13 23:40
Member 1036314518-Nov-13 23:40 
QuestionRe: AI Pin
Richard MacCutchan19-Nov-13 0:01
mveRichard MacCutchan19-Nov-13 0:01 
AnswerRe: AI Pin
BillWoodruff19-Nov-13 6:34
professionalBillWoodruff19-Nov-13 6:34 
GeneralRe: AI Pin
Mycroft Holmes19-Nov-13 13:40
professionalMycroft Holmes19-Nov-13 13:40 
Questionwinform to wpf Pin
Member 1026351918-Nov-13 22:42
Member 1026351918-Nov-13 22:42 
AnswerRe: winform to wpf Pin
Abhinav S18-Nov-13 22:44
Abhinav S18-Nov-13 22:44 
QuestionRe: winform to wpf Pin
Eddy Vluggen19-Nov-13 0:33
professionalEddy Vluggen19-Nov-13 0:33 

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.