Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
QuestionTrouble understanding private vs public instance variables Pin
Lachdahnan716-Sep-08 16:02
Lachdahnan716-Sep-08 16:02 
AnswerRe: Trouble understanding private vs public instance variables Pin
Steve Echols16-Sep-08 19:17
Steve Echols16-Sep-08 19:17 
AnswerRe: Trouble understanding private vs public instance variables Pin
c242317-Sep-08 0:04
c242317-Sep-08 0:04 
Questionsample code using combo box database in mysql.. Pin
cutedrew16-Sep-08 14:16
cutedrew16-Sep-08 14:16 
QuestionC#, importing .CSV file to datatable Pin
mdwhite7616-Sep-08 11:17
mdwhite7616-Sep-08 11:17 
AnswerRe: C#, importing .CSV file to datatable Pin
MarkB77716-Sep-08 11:30
MarkB77716-Sep-08 11:30 
GeneralRe: C#, importing .CSV file to datatable Pin
mdwhite7616-Sep-08 12:03
mdwhite7616-Sep-08 12:03 
GeneralRe: C#, importing .CSV file to datatable Pin
MarkB77716-Sep-08 12:33
MarkB77716-Sep-08 12:33 
AnswerRe: C#, importing .CSV file to datatable Pin
egenis16-Sep-08 20:13
egenis16-Sep-08 20:13 
QuestionHosting Process In My Form? Article? Pin
Abydosgater16-Sep-08 10:26
Abydosgater16-Sep-08 10:26 
AnswerRe: Hosting Process In My Form? Article? Pin
Giorgi Dalakishvili16-Sep-08 10:31
mentorGiorgi Dalakishvili16-Sep-08 10:31 
GeneralRe: Hosting Process In My Form? Article? Pin
Abydosgater16-Sep-08 10:34
Abydosgater16-Sep-08 10:34 
GeneralRe: Hosting Process In My Form? Article? Pin
Giorgi Dalakishvili16-Sep-08 10:37
mentorGiorgi Dalakishvili16-Sep-08 10:37 
GeneralRe: Hosting Process In My Form? Article? Pin
Abydosgater16-Sep-08 12:06
Abydosgater16-Sep-08 12:06 
QuestionExport Datagridview to Excel or Word Pin
Atis16-Sep-08 10:04
Atis16-Sep-08 10:04 
AnswerRe: Export Datagridview to Excel or Word Pin
Giorgi Dalakishvili16-Sep-08 10:33
mentorGiorgi Dalakishvili16-Sep-08 10:33 
QuestionImagelist to file or- enable adding an image to the list Pin
ArGiLa16-Sep-08 9:50
ArGiLa16-Sep-08 9:50 
QuestionHelp creating DataTable filter Pin
Richard Blythe16-Sep-08 8:37
Richard Blythe16-Sep-08 8:37 
AnswerRe: Help creating DataTable filter Pin
Steve Echols16-Sep-08 19:25
Steve Echols16-Sep-08 19:25 
QuestionProblem With Windows Forms In Full Screen Pin
Morrizle16-Sep-08 7:47
Morrizle16-Sep-08 7:47 
Questionhow can i change (app.config) configuration in runtime Pin
ahmedhassan9616-Sep-08 6:28
ahmedhassan9616-Sep-08 6:28 
AnswerRe: how can i change (app.config) configuration in runtime Pin
Giorgi Dalakishvili16-Sep-08 6:59
mentorGiorgi Dalakishvili16-Sep-08 6:59 
AnswerRe: how can i change (app.config) configuration in runtime Pin
Mark Salsbery16-Sep-08 8:41
Mark Salsbery16-Sep-08 8:41 
QuestionC# web service callback method called multiple times Pin
Chazzysb16-Sep-08 5:35
Chazzysb16-Sep-08 5:35 
Hi,

.Net 2 VS2005

I have a button that triggers a web service... something like...

ServiceMethods.Method1 += new Services.Method1CompletedEventHandler(Method1Completed);
ServiceMethods.Method1Async(<parameters>);

and the callback method gets called fine...

private void Method1Completed(object sender, Services.Method1CompletedEventArgs e)
{

}

The problem is that the first time the button is pressed which calls the web service the call back method is called once, the second time the button is pressed the callback method is called twice consecutavely, and the third time it is called 3 times and so on...

Has anyone seen this behaviour before - i only want the call back method to be called once.

Many thanks,
Chas
AnswerRe: C# web service callback method called multiple times Pin
Simon P Stevens16-Sep-08 5:42
Simon P Stevens16-Sep-08 5:42 

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.