private void btnCancel_Click(object sender, EventArgs e) { m_Error = false; m_LastOperator = MultipleOperandsOperation.NoOp; m_LastResult = "0"; m_ClearDisplayOnEntry = true; btnCancelEntry.PerformClick(); }
private void btnXOR_Click(object sender, EventArgs e) { if (m_Error) { return; } m_LastOperator = MultipleOperandsOperation.XOR; m_LastResult = lblDisplay.Text; m_ClearDisplayOnEntry = true; }
private void btnMod_Click(object sender, EventArgs e) { m_LastOperator = MultipleOperandsOperation.Mod; m_LastResult = lblDisplay.Text; m_ClearDisplayOnEntry = true; }
private void btnXOR_Click(object sender, EventArgs e) { if (m_Error) return; m_LastOperator = MultipleOperandsOperation.XOR; m_LastResult = lblDisplay.Text; m_ClearDisplayOnEntry = true; }
private void btnSubtract_Click(object sender, EventArgs e) { m_LastOperator = MultipleOperandsOperation.Subtract; m_LastResult = lblDisplay.Text; m_ClearDisplayOnEntry = true; }