示例#1
0
 /// <summary>
 /// Use this to optinally add the layers to this Person Form.
 /// </summary>
 /// <param name="layers"></param>
 public void AddLayers(List <Layer> layers)
 {
     LayerComboBox.BeginUpdate();
     foreach (Layer layer in layers)
     {
         LayerComboBox.Items.Add(LayerComboBox.Items.Count + ": " + layer.Name);
     }
     LayerComboBox.EndUpdate();
 }