Example #1
0
        }//end reset button

        public void btnNext_Click(object sender, EventArgs e)
        {
            WeatherFormTwo wf2 = new WeatherFormTwo();
            WeatherFormOne wf1 = new WeatherFormOne();

            wf1.Hide();
            wf2.Show();
        }//end next page button
Example #2
0
        }//end method

        public void clearInput()
        {
            WeatherFormOne wf1 = new WeatherFormOne();

            wf1.txtCelsiusOutput.Text         = "";
            wf1.txtCelsiusToFahrenheit.Text   = "";
            wf1.txtCelsiusToKelvin.Text       = "";
            wf1.txtFaherheitWindChill.Text    = "";
            wf1.txtFahrenheitOutput.Text      = "";
            wf1.txtFahrenheitToCelsius.Text   = "";
            wf1.txtFahrenheitToKelvin.Text    = "";
            wf1.txtHeatIndex.Text             = "";
            wf1.txtKelvinOutput.Text          = "";
            wf1.txtWindChillOutput.Text       = "";
            wf1.txtWindSpeed.Text             = "";
            wf1.txtCelsiusToKelvinOutput.Text = "";
        } //end void method