public void DisplayTracker() { if (useRoi && !tracker.IsEmpty) { Graphics g = m_pView.GetGraphics(); g.DrawRectangle(new Pen(Color.Gainsboro, 2), tracker); m_pView.ReleaseGraphics(g); } }