I have a program that adds a series of "blips" to a graph. How do I have a button clear all of the "blips" that have been created with this code?
PictureBox blip = new PictureBox();
blip.Location = new Point(blipHours, blipAltitude);
blip.Size = new Size(6, 6);
blip.BackColor = System.Drawing.Color.Lime;
blip.Text = "";
blip.Name = callsign;
this.Controls.Add(blip);
this.Controls.SetChildIndex(blip, 0);
The other part of my question: See that I have named each blip with "callsign." Is there a way to change a blip's background color when it's name is equal to a certain callsign ? Each blip is associated with a selection in a listbox, and I would like have it change the blips color when that user selects it.