Ejemplo n.º 1
0
 /// <remarks/>
 public void Tuner_TuneAsync(TuneRequest request, object userState) {
     if ((this.Tuner_TuneOperationCompleted == null)) {
         this.Tuner_TuneOperationCompleted = new System.Threading.SendOrPostCallback(this.OnTuner_TuneOperationCompleted);
     }
     this.InvokeAsync("Tuner_Tune", new object[] {
                 request}, this.Tuner_TuneOperationCompleted, userState);
 }
Ejemplo n.º 2
0
 public TuneResponse Tuner_Tune(TuneRequest request) {
     object[] results = this.Invoke("Tuner_Tune", new object[] {
                 request});
     return ((TuneResponse)(results[0]));
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void Tuner_TuneAsync(TuneRequest request) {
     this.Tuner_TuneAsync(request, null);
 }
Ejemplo n.º 4
0
 // Tuner_Tune example
 private void button9_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         var req = new TuneRequest();
         //int i = 0;
         req.StationId = ((RadioTimeOutline) listView1.SelectedItems[0].Tag).StationIdAsInt;
         req.Identification = new Identification();
         req.Identification.UserName = textBoxUser.Text;
         req.Identification.PasswordKey = RadioTimeWebServiceHelper.HashMD5(textBoxPasswd.Text);
         propertyGrid1.SelectedObject = websrv.Tuner_Tune(req);
         MessageBox.Show("Test");
     }
 }