예제 #1
0
        // adds a decimal

        /*private void buttonDecimal_Click(object sender, EventArgs e)
         * {
         *  functions.AddDecimal();
         *  display.Text = functions.entry;
         *  buttonEquals.Focus();
         * }*/

        // negates entry
        private void buttonNegate_Click(object sender, EventArgs e)
        {
            functions.Negate();
            display.Text = functions.entry;
            buttonEquals.Focus();
        }