Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            List<TelemetryLap> laps = new List<TelemetryLap>();
            foreach (var item in this.dataGridView1.SelectedRows)
            {
                DataGridViewRow row = (DataGridViewRow)item;
                laps.Add(telemetryLapManager.Laps[row.Index]);
            }

            if (laps.Count == 0)
                return;

            GraphOptions GraphOptions = new GraphOptions(laps);
            GraphOptions.Show();
        }
Пример #2
0
 private void genericToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GraphOptions go = new GraphOptions(manager);
     go.Show();
 }