Ejemplo n.º 1
0
        //
        #region events

        /*************************************************************************
         * Eventhandles to reset the window to the initial view dimensions, as well
         * as clearing the graphics stack from all iconic objects added - display
         * will be black then.
         * /**************************************************************************/
        private void ResetButton_Click(object sender, EventArgs e)
        {
            scrollBarY.Value = 50;
            scrollBarX.Value = 50;
            ZoomUpDown.Value = 100;
            //
            hWndControl.resetGUIInitValues(scrollBarX.Value, scrollBarY.Value);
            hWndControl.resetWindow();
            hWndControl.repaint();
        }