C# Textbox checking
Am trying to test if the content of my textbox is equal to zero, I have two textbox with the same values. I want to ensure that the user cannot continue  except one of my textbox is equal to zero. tried some means but not working. i tried this:

`double amount;
            amount = double.Parse(transactDisplay.Text.ToString());
            if (amount > 0)
            {
                MessageBox.Show("Please pay before proceding", "Money not paid",
                    MessageBoxButtons.OK, MessageBoxIcon.Stop);

            }`
but its not working . kindly assist

C# Textbox checking
===

Am trying to test if the content of my textbox is equal to zero, I have two textbox with the same values. I want to ensure that the user cannot continue  except one of my textbox is equal to zero. tried some means but not working. i tried this:

`double amount;
            amount = double.Parse(transactDisplay.Text.ToString());
            if (amount > 0)
            {
                MessageBox.Show("Please pay before proceding", "Money not paid",
                    MessageBoxButtons.OK, MessageBoxIcon.Stop);

            }`
but its not working . kindly assist
