Esempio n. 1
0
        /**************************************************************************/

        /* Reset the view to its initial setting
         * *************************************************************************/
        private void resetButton_Click(object sender, System.EventArgs e)
        {
            XTrackBar.Value  = 50;
            YTrackBar.Value  = 50;
            ZoomUpDown.Value = 100;

            hWndControl.resetGUIInitValues(XTrackBar.Value,
                                           (YTrackBar.Maximum - YTrackBar.Value));
            hWndControl.resetWindow();
            hWndControl.repaint();
        }