Exemplo n.º 1
0
        void OK_Click(object sender, EventArgs e)
        {
            //Validate the input
            bool incorrectValue = false;
            PopulateAxisValues(ref incorrectValue);

            if (!incorrectValue) //If all values are within reasonable bounds
            {
                //Modify the axes
                MyEvents.OnAxesChangedByUser(localHorizontalAxis, localVerticalAxis, localNormalisationType);
            }
        }