示例#1
0
 public virtual void FinishedEvent(TopFiveInfo kw, string msg)
 {
     if (OnTopFiveSearchEndEvent != null)
     {
         TopFiveEventArgs e = new TopFiveEventArgs(kw, msg);
         OnTopFiveSearchEndEvent(this, e);
     }
 }
示例#2
0
 void query_OnTopFiveSearchEndEvent(object sender, TopFiveEventArgs e)
 {
     TopFiveInfo item = e.Item;
     lastTopFiveInfo = e.Item;
     if (dataGridView.InvokeRequired)
     {
         UpdateDataGridView uActive = LoadItemToDataView;
         this.BeginInvoke(uActive, new object[] { item });
     }
     else
     {
         LoadItemToDataView(item);
     }
 }