Esempio n. 1
0
        /// <summary>
        /// Deletes all lines drawn by the user
        /// </summary>
        private void btnLinesDeleteAll_Click(object sender, EventArgs e)
        {
            UserlineModel model = new UserlineModel(stock);

            model.deleteAllUserlines();
            refreshChartAsync(stock.symbol);
            pointNr   = 1;
            lastPoint = null;
        }
Esempio n. 2
0
        /// <summary>
        /// Deletes all trend lines
        /// </summary>
        private void deleteLinesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.AppStarting;
            UserlineModel model = new UserlineModel(stock);

            model.deleteAllUserlines();
            refreshChartAsync(stock.symbol);
            pointNr   = 1;
            lastPoint = null;
            resetAttributes();
        }