private void BT_XOA_Click(object sender, EventArgs e) { TB_SOA.Clear(); TB_SOB.Clear(); TB_KQT.Clear(); SOA = 0; SOB = 0; KQT = 0; LB_PT.Text = "NONE"; TB_SOA.Focus(); }
private void BT_KETQUATINH_Click(object sender, EventArgs e) { if (TB_KQT != null || KQT != 0) { SOTAM = int.Parse(TB_KQT.Text); TB_SOA.Clear(); TB_SOB.Clear(); TB_KQT.Clear(); TB_SOA.Text = SOTAM.ToString(); SOA = SOTAM; SOB = 0; KQT = 0; SOTAM = 0; TB_SOB.Focus(); } }