private void PollButton_Click(object sender, EventArgs e) { Button btn = (Button)sender; int option = (int)btn.Tag; LOLMessageClient service = new LOLMessageClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLMessageEndpoint); service.PollingStepResponseCompleted += new EventHandler<PollingStepResponseCompletedEventArgs>(service_PollingStepResponseCompleted); service.PollingStepResponseAsync(MessagePlaybackUtil.messageSteps [co].StepID, AndroidData.CurrentUser.AccountID, option, new Guid(AndroidData.ServiceAuthToken)); }
void topright_Click(object sender, EventArgs e) { LOLMessageClient service = new LOLMessageClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLMessageEndpoint); service.PollingStepResponseCompleted += new EventHandler<PollingStepResponseCompletedEventArgs>(service_PollingStepResponseCompleted); service.PollingStepResponseAsync(stepID, AndroidData.CurrentUser.AccountID, 2, new Guid(AndroidData.ServiceAuthToken)); }