/// <remarks/>
 public void Favorite_ProgramListDeleteAsync(FavoriteFolderUpdateRequest request, object userState) {
     if ((this.Favorite_ProgramListDeleteOperationCompleted == null)) {
         this.Favorite_ProgramListDeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFavorite_ProgramListDeleteOperationCompleted);
     }
     this.InvokeAsync("Favorite_ProgramListDelete", new object[] {
                 request}, this.Favorite_ProgramListDeleteOperationCompleted, userState);
 }
 /// <remarks/>
 public void Favorite_ProgramListDeleteAsync(FavoriteFolderUpdateRequest request) {
     this.Favorite_ProgramListDeleteAsync(request, null);
 }
 public WebServiceResponse Favorite_ProgramListDelete(FavoriteFolderUpdateRequest request) {
     object[] results = this.Invoke("Favorite_ProgramListDelete", new object[] {
                 request});
     return ((WebServiceResponse)(results[0]));
 }
 /// <remarks/>
 public void Favorite_StationListAddAsync(FavoriteFolderUpdateRequest request) {
     this.Favorite_StationListAddAsync(request, null);
 }
 public WebServiceResponse Favorite_StationListAdd(FavoriteFolderUpdateRequest request) {
     object[] results = this.Invoke("Favorite_StationListAdd", new object[] {
                 request});
     return ((WebServiceResponse)(results[0]));
 }
Esempio n. 6
0
 private void button8_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         try
         {
             var req = new FavoriteFolderUpdateRequest();
             var i = 0;
             int.TryParse(((RadioTimeOutline) listView1.SelectedItems[0].Tag).StationId, out i);
             req.ItemIds = new int[] {i};
             req.Identification = new Identification();
             req.Identification.UserName = textBoxUser.Text;
             req.Identification.PasswordKey = RadioTimeWebServiceHelper.HashMD5(textBoxPasswd.Text);
             propertyGrid1.SelectedObject = websrv.Favorite_StationListAdd(req);
         }
         catch (SoapException ex)
         {
             MessageBox.Show(ex.Message);
         }
     }
 }