private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DialogResult result;

            //Step 1: Creates a new form
            OptionsForm optionsForm = new OptionsForm();

            optionsForm.PreviousForm = this;

            optionsForm.CalculatorLayout = this.CalculatorFormLayout;

            //Step 2: Show the about form with showDialog(a modal method to display the form)
            result = optionsForm.ShowDialog();

            Debug.WriteLine(result.ToString());
        }
        private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Create a Dialog Result container;
            DialogResult result;

            // Step 1. Create a new Form - Options Form
            OptionsForm optionsForm = new OptionsForm();

            // Step 2. set a reference to the "PreviousForm" property of the Options Form to this form
            optionsForm.PreviousForm = this;

            optionsForm.CalculatorLayout = this.CalculatorFormLayout;

            // Step 3. show the Options Form with ShowDialog (a modal method to display the form)
            result = optionsForm.ShowDialog();

            Debug.WriteLine(result.ToString());
        }