Esempio n. 1
0
 public void EhView_Changed(int from, int to)
 {
     try
     {
         if (to != int.MaxValue)
         {
             _doc = ContiguousNonNegativeIntegerRange.NewFromStartAndLast(from, to);
         }
         else
         {
             _doc = ContiguousNonNegativeIntegerRange.NewFromStartToInfinity(from);
         }
     }
     catch (Exception ex)
     {
         Current.Gui.ErrorMessageBox(ex.Message);
     }
 }
Esempio n. 2
0
 public PlottingRangeController(ContiguousNonNegativeIntegerRange doc)
 {
     _originalDoc = doc;
     _doc         = doc;
 }
Esempio n. 3
0
 public bool Apply(bool disposeController)
 {
     _originalDoc = _doc;
     return(true);
 }