Пример #1
0
 /// <summary>a region has been selected or modified</summary>
 /// <param name="sender">the list control</param>
 /// <param name="e">the list item</param>
 private void ctlRegions_SelectionChanged(object sender, RegionInfoList.RegionInfoListEventArgs e)
 {
     selectedRegionInfo = e.Item.RegionInfo;
     ReDrawImages(true);
 }
Пример #2
0
 private void ctlRegions_Delete(object sender, RegionInfoList.RegionInfoListEventArgs e)
 {
     drawnRegions.Remove(e.Item.RegionInfo);
     ReDrawImages(true);
 }