private void button1_Click(object sender, EventArgs e) { F_IDCliente Form = new F_IDCliente(); this.Hide(); F_Veri Form4 = new F_Veri(); Form4.Show(); String ID = this.textBox1.Text; if (ID.Equals("")) { MessageBox.Show("Error al digitar"); } }
private void button1_Click(object sender, EventArgs e) { String IDCliente = this.textBox1.Text; String Nombre = this.textBox2.Text; String Numero = this.textBox3.Text; String Correo = this.textBox4.Text; if (IDCliente.Equals("") || Nombre.Equals("") || Numero.Equals("") || Correo.Equals("")) { MessageBox.Show("Error al digitar"); } F_ReCliente Form = new F_ReCliente(); this.Hide(); F_Veri Form4 = new F_Veri(); Form4.Show(); }