protected void toCelcius_Click(object sender, EventArgs e) { TempConvReference.TempConverterSoapClient myClient = new TempConvReference.TempConverterSoapClient(); cel.Text = myClient.toCelcius(Convert.ToDouble(fah.Text)).ToString(); }
protected void toFahrenheit_Click(object sender, EventArgs e) { TempConvReference.TempConverterSoapClient myClient = new TempConvReference.TempConverterSoapClient(); fah.Text = myClient.toFarnheit(Convert.ToDouble(cel.Text)).ToString(); }