Пример #1
0
 private void MyConstructor()
 {
     _controller = AlaskaPak.Controller;
     _controller.LayersChanged += Controller_LayersChanged;
     _selectableLayers = _controller.GetSelectableLayers();
     Enabled = MapHasSelectableLayer;
 }
Пример #2
0
 private void MyConstructor()
 {
     _controller = AlaskaPak.Controller;
     _controller.LayersChanged += Controller_LayersChanged;
     _data = new FormData(_controller.GetPointLayers());
     Enabled = MapHasPointFeatureLayer;
 }
Пример #3
0
 //In a real singleton pattern, the constructor would be private.
 //However FindExtension() needs to create the instance, so we rely
 //on the good behavior of FindExtension, and my classes.
 public AlaskaPak()
 {
     _singleton = this;
 }
Пример #4
0
 private void MyConstructor()
 {
     _controller = AlaskaPak.Controller;
     _controller.LayersChanged += Controller_LayersChanged;
     _rasterLayers = _controller.GetRasterLayers();
     Enabled = MapHasTwoOrMoreRasterLayers;
 }