private void LoadToList()
 {
     for (int i = 0; i < FCoords.Count(); i++)
     {
         FigureList.SelectedIndexChanged += FigureList_SelectedIndexChanged;
         FigureList.Items.Add(i);
         FigureList.SelectedIndexChanged -= FigureList_SelectedIndexChanged;
     }
     if (coords.Count != 0)
     {
         FigureList.SelectedIndexChanged += FigureList_SelectedIndexChanged;
         FigureList.SetSelected(0, true);
         FigureList.SelectedIndexChanged -= FigureList_SelectedIndexChanged;
     }
 }