protected void btnSub_Click(object sender, EventArgs e) { lblRes.Text = calc.Sub(Convert.ToInt16(txtA.Text), Convert.ToInt16(txtB.Text)).ToString(); }