SHARE
TWEET

Untitled

a guest Jan 28th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void parseBtn_Click(object sender, EventArgs e)
  2.         {
  3.             //this creates a variable that will hold the equation as a string
  4.             string equation;
  5.             try
  6.             {
  7.  
  8.                 equation = equationTxt.Text;
  9.                 if (equation != "")
  10.                 {
  11.  
  12.                 }
  13.                 else
  14.                 {
  15.                     MessageBox.Show("Please enter a valid equation");
  16.                 }
  17.  
  18.             }
  19.             catch
  20.             {
  21.                 MessageBox.Show("Please enter a valid equation");
  22.             }
  23.  
  24.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top