Exemplo n.º 1
0
        /// <summary>
        /// Set in what format the P&L is displayed
        /// </summary>
        private void plDisplayCombo_SelectedIndexChanged(object sender, EventArgs e)
        {
            // reset the calculation type
            m_DisplayType = (PLDisplay)System.Enum.Parse(typeof(PLDisplay), (string)cboPLDisplay.SelectedItem);

            // re-publish the P&L statistics
            PublishProfitLossStatistics();
        }
        /// <summary>
        /// Set in what format the P&L is displayed
        /// </summary>
        private void plDisplayCombo_SelectedIndexChanged(object sender, EventArgs e)
        {
            // reset the calculation type
            m_DisplayType = (PLDisplay)System.Enum.Parse(typeof(PLDisplay), (string)cboPLDisplay.SelectedItem);

            // re-publish the P&L statistics
            PublishProfitLossStatistics();
        }