private void ImageContainer_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     m_PanStart  = e.GetPosition(Border);
     m_PanOrigin = new Point(PanX, PanY);
     ImageContainer.CaptureMouse();
 }