_imageViewer = new AutomationImageViewer();
_imageViewer.KeyDown += new KeyEventHandler(_imageViewer_KeyDown);
_imageViewer.MouseDown += new MouseEventHandler(_imageViewer_MouseDown);
_imageViewer.MouseMove += new MouseEventHandler(_imageViewer_MouseMove);
_imageViewer.MouseUp += new MouseEventHandler(_imageViewer_MouseUp);