private void Refresh_Click(object sender, RoutedEventArgs e) { AgendaServiceSoapClient client = new AgendaServiceSoapClient(); client.GetEventCompleted += new EventHandler<GetEventCompletedEventArgs>(client_GetEventCompleted); var request = new GetEventRequest(new GetEventRequestBody(App.Event.Email, App.Event.Password)); client.GetEventAsync(request); }
public void Attend() { AgendaServiceSoapClient client = new AgendaServiceSoapClient(); client.AttendCompleted += new EventHandler<AttendCompletedEventArgs>(client_AttendCompleted); var request = new AttendRequest(new AttendRequestBody(App.Event.Email, App.Event.Password, Session.Id)); client.AttendAsync(request); }
public void Login() { AgendaServiceSoapClient client = new AgendaServiceSoapClient(); client.GetAgendaItemsCompleted += new EventHandler<GetAgendaItemsCompletedEventArgs>(client_GetAgendaItemsCompleted); var request = new GetAgendaItemsRequest(new GetAgendaItemsRequestBody(Email, Password)); client.GetAgendaItemsAsync(request); }
public void Submit() { AgendaServiceSoapClient client = new AgendaServiceSoapClient(); client.UpdateRatingCompleted += new EventHandler<UpdateRatingCompletedEventArgs>(client_UpdateRatingCompleted); var ai = new CodeCamp.WP7.AgendaServiceRef.AgendaItem(); ai.Comment = this.Comment; ai.Rating = this.Rating; ai.SessionId = this.item.SessionId; var request = new UpdateRatingRequest( new UpdateRatingRequestBody(App.Event.Email, App.Event.Password, ai)); client.UpdateRatingAsync(request); }