// calculates the percentage of the previous number (preEntry) mostly for // the purpose of adding and subtracting percents private void buttonPercent_Click(object sender, EventArgs e) { functions.Percent(); display.Text = functions.Entry; buttonEquals.Focus(); }