示例#1
0
 private void Instance_OnQuoteTick(object sender, QHEvents.QuoteEventArgs e)
 {
     if (this.InvokeRequired)
     {
         Invoke(new Action(() =>
         {
             SetQuote(e.quote);
         }));
     }
     else
     {
         SetQuote(e.quote);
     }
 }
示例#2
0
 private void Instance_OnQuoteTick(object sender, QHEvents.QuoteEventArgs e)
 {
     mLatestQuote = e.quote;
 }
示例#3
0
 private void Instance_OnQuoteTick(object sender, QHEvents.QuoteEventArgs e)
 {
     Invalidate();
 }