예제 #1
0
        public RollOutViewModel(CurrentFinancialProductDto dto)
        {
            if (IsInDesignMode)
            {
                return;
            }

            CurrentFinancialProduct = dto;
            CommunicateManager.Invoke <IFinancialService>(p =>
            {
                ExpectProfit = p.GetExpectProfit(dto.TradeID.ToString(CultureInfo.InvariantCulture));
            }, UIManager.ShowErr);
        }
예제 #2
0
 private bool CanExecuteOpenProductsInfoByAccountCommand(CurrentFinancialProductDto product)
 {
     return(true);
 }
예제 #3
0
 private void ExecuteOpenProductsInfoByAccountCommand(CurrentFinancialProductDto product)
 {
     LocalUIManager.ShowFinancialProductInfo(product.ProductID);
 }