public void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (textBox1.Text.Trim() != string.Empty && textBox2.Text.Trim() != string.Empty && label4.Text.Trim() != string.Empty) { home h = new home(); h.ShowDialog(); } else { ss.Speak("please fill the entries"); MessageBox.Show("please fill the entries"); } }