// -------------------------------------------------------------------------------------------------
        // Event handler. Called by dataGridViewSoftware for cell click events
        //
        // \param   sender  Source of the event.
        // \param   e       Data grid view cell event information.
        // -------------------------------------------------------------------------------------------------
        private void dataGridViewSoftware_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            if (!breakpointData[e.RowIndex].used)
            {
                return;
            }

            if (e.ColumnIndex == dataGridView1.Columns["Delete"].Index)
            {
                Program.serialport.RemoveBreakpoint(null, breakpointData[e.RowIndex].nextAddress.GetAddr(), breakpointData[e.RowIndex].nextAddress.GetBank());
                Update();
            }

            //goto address
            if (e.ColumnIndex <= dataGridView1.Columns["BPAddr"].Index)
            {
                TraceFile.FocusAddr(breakpointData[e.RowIndex].nextAddress.GetAddr(), breakpointData[e.RowIndex].nextAddress.GetBank());
                Update();
            }
        }