Exemplo n.º 1
0
        private void SplashFormTimer_Tick_1(object sender, EventArgs e)
        {
            BMI_CALCULATOR bmiCalculator = new BMI_CALCULATOR();

            bmiCalculator.Show();
            this.Hide();
            SplashFormTimer.Enabled = false;//it is used to turn timer off
        }
        private void Reset_Click(object sender, EventArgs e)
        {
            //NameTextBox.Text = "";
            //AgeTextBox.Text = "";
            //HeightTextBox.Text = "";
            //WeightTextBox.Text = "";
            // ResultextBox.Text = "";
            // RemarkTextBox.Text = "";
            BMI_CALCULATOR NewForm = new BMI_CALCULATOR();

            NewForm.Show();
            this.Dispose(false);
        }