Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     CalculatorSoapClient client = new CalculatorSoapClient();
     lblResult.Text = "Du fyller 1000 dagar igen den " +client.NextThousandDays(DateTime.Parse(textBox1.Text)).ToString();
 }
Ejemplo n.º 2
0
 protected void CalculateButton_Click(object sender, EventArgs e)
 {
     Calc2Nums.CalculatorSoapClient calc = new CalculatorSoapClient();
     SumLbl.Text = calc.Calc(int.Parse(Num1Tbx.Text), int.Parse(Num2Tbx.Text)).ToString();
 }