/**************************************************************************/ /* Adjust the view using GUI components for moving along the x and y * direction and for changing the zoom of the image displayed * *************************************************************************/ private void XTrackBar_Scroll(object sender, System.EventArgs e) { hWndControl.moveXByGUIHandle(XTrackBar.Value); }