Пример #1
0
 public void ScrollIntoView(SysCodeModel stock)
 {
     if (stock == null || (_mainVM.SelectItemViewModel != null && string.Equals(_mainVM.SelectItemViewModel.ContractCode, stock.SystemName)))
     {
         return;
     }
     if (!TradeQuotesViewModel.GetInstance(null).IsInternationalCheck)
     {
         TradeQuotesViewModel.GetInstance(null).InternationalCheckType = 1;
         TradeQuotesViewModel.GetInstance(null).IsInternationalCheck   = true;
     }
     ContractChanged?.Invoke(stock, EventArgs.Empty);
 }
Пример #2
0
 public void FireContractChanged(object sender, EventArgs eventArgs)
 {
     ContractChanged?.Invoke(sender, eventArgs);
 }
 public static void OnContractChanged()
 {
     ContractChanged?.Invoke(null, null);
 }