private void button2_Click(object sender, EventArgs e) { if (eText.Text.Equals("") || pText.Text.Equals("")) { linkLabel2.Text = "Required to Fill All The Field !!!"; linkLabel1.Hide(); pBuild.ClearContent(); pBuild.AppendText("Required to Fill All The Field"); sSynth.Speak(pBuild); } else { pBuild.ClearContent(); pBuild.AppendText("Access Granted"); sSynth.Speak(pBuild); EmpProfile em = new EmpProfile(this); em.Show(); this.Hide(); } }
private void backButton_Click(object sender, EventArgs e) { ep.Show(); this.Hide(); }