コード例 #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);
 }
コード例 #3
0
 public static void OnContractChanged()
 {
     ContractChanged?.Invoke(null, null);
 }