I have a program that adds a series of "blips" to a graph:
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);
How do I have a button clear all of the "blips" that have been created with this code?
Is there a way to change a blip's background color when its name is equal to a certain
callsign? Each blip is associated with a selection in a
ListBox, and I would like to change the blip's color when the user selects it.