Exemple #1
0
        public StockTransactionInfo GetDescriptor()
        {
            StockTransactionInfo Temp = new StockTransactionInfo();

            Temp.Name   = sName;
            Temp.Symbol = sStockSymbol;
            Temp.Price  = dPrice.ToString();
            Temp.Shares = dShares.ToString();
            Temp.date   = dtDate.ToString("MM/dd/yyyy hh:mm:ss.fff");
            Temp.Sold   = bSold.ToString();
            return(Temp);
        }
Exemple #2
0
        public StockTransactionInfo GetDescriptor()
        {
            StockTransactionInfo Temp = new StockTransactionInfo();

            Temp.Name = sName;
            Temp.Symbol = sStockSymbol;
            Temp.Price = dPrice.ToString();
            Temp.Shares = dShares.ToString();
            Temp.date = dtDate.ToString("MM/dd/yyyy hh:mm:ss.fff");
            Temp.Sold = bSold.ToString();
            return Temp;
        }