private void brownSpotToolStripMenuItem1_Click(object sender, EventArgs e) { Form_Disease_Info fdi = new Form_Disease_Info(); fdi.label1.Text = "Brown Spot"; fdi.textBox1.Text = "Brown Spot is a fungal disease caused by Bipolaris oryzae. The basic symptom is the formation of minute spot on the leaf blade,leaft sheath,etc which later becomes cylindrical or oval dark brown or black spots."; fdi.pictureBox1.Image = AgRGB.Properties.Resources.BS1; fdi.pictureBox2.Image = AgRGB.Properties.Resources.BS2; fdi.pictureBox3.Image = AgRGB.Properties.Resources.BS4; this.Hide(); fdi.ShowDialog(); }
private void riceBlastToolStripMenuItem1_Click(object sender, EventArgs e) { Form_Disease_Info fdi = new Form_Disease_Info(); fdi.label1.Text = "Rice Blast"; fdi.textBox1.Text = "Blast is a fungal disease which is caused by the fungus called Magnaporthe oryzae. All the parts above the ground can be affected by rice blast. The basic symptom is Diamond - shaped or elliptical or spindle-shaped spots with gray or white centers and brown margins"; fdi.pictureBox1.Image = AgRGB.Properties.Resources.RB4; fdi.pictureBox2.Image = AgRGB.Properties.Resources.RB5; fdi.pictureBox3.Image = AgRGB.Properties.Resources.RB7; this.Hide(); fdi.ShowDialog(); }
private void bacterialBlightToolStripMenuItem1_Click(object sender, EventArgs e) { Form_Disease_Info fdi = new Form_Disease_Info(); fdi.label1.Text = "Bacterial Blight"; fdi.textBox1.Text = "Bacterial blight is a bacterial disease which is caused by bacterium called Xanthomonas oryzae pathovar oryzae.The basic symptom of bacterial blight is the wilting of seedlings and yellowing and drying of leaves."; fdi.pictureBox1.Image = AgRGB.Properties.Resources.BB1; fdi.pictureBox2.Image = AgRGB.Properties.Resources.BB2; fdi.pictureBox3.Image = AgRGB.Properties.Resources.BB3; this.Hide(); fdi.ShowDialog(); }