コード例 #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
        }
コード例 #2
0
        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);
        }