Example #1
0
        private void Population_Variation_Button_Click(object sender, RoutedEventArgs e)
        {
            try { _mainPage.SetMainText(Variance(true).ToString()); }
            catch { _mainPage.initCalcError(); }

            // reset the equals key focus when we change view
            CalcHelpers.equalsKeyFocus(_mainPage.currentView.GetEqualsKey());
        }