예제 #1
0
 protected void btnsub_Click(object sender, EventArgs e)
 {
     lblresult.Text = ws.Sub(Convert.ToInt16(txtbox1.Text), Convert.ToInt16(txtbox2.Text)).ToString();
 }
 protected void btnSub_Click(object sender, EventArgs e)
 {
     lblResult.Text = calc.Sub(Convert.ToInt16(txtBoxA.Text), Convert.ToInt16(txtBoxB.Text)).ToString();
 }