Skip to content

Commit

Permalink
Fixed critical "required forms" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xangelix committed Dec 12, 2017
1 parent f46e495 commit b799759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCR to SQL/OCR to SQL/Form2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public Form2()

private void button1_Click(object sender, EventArgs e)
{
if ((textBox1.Text != "" && textBox2.Text != "" && textBox3.Text != "" && textBox4.Text != "" && textBox5.Text != "" && textBox6.Text != "" && textBox7.Text != "") && (radioButton1.Checked || radioButton2.Checked || radioButton3.Checked || radioButton4.Checked || radioButton5.Checked || radioButton6.Checked))
if ((textBox1.Text != "" && textBox2.Text != "" && textBox3.Text != "" && textBox4.Text != "" && textBox5.Text != "" && textBox6.Text != "") && ((radioButton1.Checked || radioButton2.Checked || radioButton3.Checked || radioButton4.Checked || radioButton5.Checked) || (radioButton6.Checked && textBox7.Text != "")))
{
//Database Creation
System.Windows.Forms.Form f = System.Windows.Forms.Application.OpenForms["Form1"];
Expand Down

0 comments on commit b799759

Please sign in to comment.