예제 #1
0
        private void RaiseNewPortfolio(Portfolio portfolio)
        {
            NewPortfolio.SafeInvoke(portfolio);

            var multiEvt = NewPortfolios;

            if (multiEvt == null)
            {
                return;
            }

            multiEvt.SafeInvoke(new[] { portfolio });
        }
예제 #2
0
 internal void OnAddPortfolio(int row, int rowCount, string name, string exchange, SmartPortfolioStatus status)
 {
     NewPortfolio.SafeInvoke(row, rowCount, name, exchange, status);
 }
예제 #3
0
 private void NewPortfolioHandler(Portfolio portfolio)
 {
     AddGuiAction(() => NewPortfolio.SafeInvoke(portfolio));
 }