Esempio n. 1
0
 private void SheifSourceDebug_Load(object sender, EventArgs e)
 {
     sheifourceinfo = new TCG.SheifService.SheifSourceInfo();
     if (!string.IsNullOrEmpty(this.Resourceid))
     {
         sheifourceinfo = this.sheif.GetSheifSourceInfoById(this.Resourceid);
         if (sheifourceinfo != null)
         {
             this.SetSheifSource();
         }
     }
     else
     {
         this.tblisttopicdatarole.Text = "$1,SheifUrl\r\n$2,vcTitle";
         this.tbtopicdatarole.Text = "$1,vcTitle\r\n$2,vcContent";
     }
 }
Esempio n. 2
0
 /// <remarks/>
 public void UpdateSheifSourceAsync(SheifSourceInfo source, object userState) {
     if ((this.UpdateSheifSourceOperationCompleted == null)) {
         this.UpdateSheifSourceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSheifSourceOperationCompleted);
     }
     this.InvokeAsync("UpdateSheifSource", new object[] {
                 source}, this.UpdateSheifSourceOperationCompleted, userState);
 }
Esempio n. 3
0
 public int UpdateSheifSource(SheifSourceInfo source) {
     object[] results = this.Invoke("UpdateSheifSource", new object[] {
                 source});
     return ((int)(results[0]));
 }
Esempio n. 4
0
 /// <remarks/>
 public void UpdateSheifSourceAsync(SheifSourceInfo source) {
     this.UpdateSheifSourceAsync(source, null);
 }
Esempio n. 5
0
 /// <remarks/>
 public void AddSheifSourceAsync(SheifSourceInfo source) {
     this.AddSheifSourceAsync(source, null);
 }