Пример #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();
 }