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); }
public void FireContractChanged(object sender, EventArgs eventArgs) { ContractChanged?.Invoke(sender, eventArgs); }
public static void OnContractChanged() { ContractChanged?.Invoke(null, null); }