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(); } }
public Email(EmpProfile ep) { this.ep = ep; InitializeComponent(); }
public CarEntry(EmpProfile ep) { this.ep = ep; InitializeComponent(); }
public MyProfile(EmpProfile ep) { this.ep = ep; InitializeComponent(); }
public BrandName(EmpProfile ep) { this.ep = ep; InitializeComponent(); }