Ejemplo n.º 1
0
 public void Detach()
 {
     propertyPresenter.Detach();
     SaveTable();
     ForestryModel.dates           = ForestryViewer.SaveDates();
     ForestryModel.heights         = ForestryViewer.SaveHeights();
     ForestryModel.NDemands        = ForestryViewer.SaveNDemands();
     ForestryModel.CanopyWidths    = ForestryViewer.SaveCanopyWidths();
     ForestryModel.TreeLeafAreas   = ForestryViewer.SaveTreeLeafAreas();
     ForestryViewer.OnCellEndEdit -= OnCellEndEdit;
 }