private void showResult(object sender, RoutedEventArgs e)
        {
            if (weightData.Text != "" && heightData.Text != "")
            {
                double weight;
                double height;

                weight = Double.Parse(weightData.Text);
                height = Double.Parse(heightData.Text);

                BmiCalc calc = new BmiCalc(weight, height);

                Frame.Navigate(typeof(InfoPage), calc);
            }
        }
        private void showResult(object sender, RoutedEventArgs e)
        {
            if(weightData.Text != "" && heightData.Text != "")
            {
                double weight;
                double height;

                weight = Double.Parse(weightData.Text);
                height = Double.Parse(heightData.Text);

                BmiCalc calc = new BmiCalc(weight, height);

                Frame.Navigate(typeof(InfoPage), calc);
            }
        }