public DimensionsViewModel GetSelectionDimensions(SelectionViewModel selection)
 {
     return new DimensionsViewModel()
         {
             Height = 120,
             Width = 160,
             Iterations = Iterations,
             Left = this.Left + selection.Left*(this.Right - this.Left)/(this.Width),
             Right = this.Left + (selection.Left + selection.Width)*(this.Right - this.Left)/(this.Width),
             Top = this.Top - selection.Top*(this.Top - this.Bottom)/(this.Height),
             Bottom = this.Top - (selection.Top + selection.Height)*(this.Top - this.Bottom)/(this.Height)
         };
 }
 protected bool Equals(SelectionViewModel other)
 {
     return _Left.Equals(other._Left) && _Top.Equals(other._Top) && _Width.Equals(other._Width) && _Height.Equals(other._Height) && _Visible.Equals(other._Visible);
 }