private void pictureBox4_Click(object sender, EventArgs e) { //cargaDatos(); start = new Pantalla_Principal(); start.Show(); this.Hide(); }
private void txtPassword_KeyPress(object sender, KeyPressEventArgs e) { start = new Pantalla_Principal(); if ((int)e.KeyChar == (int)Keys.Enter) { cargaDatos(); } }
private void btnAceptar_Click(object sender, EventArgs e) { Pantalla_Principal obj = new Pantalla_Principal(); revisar(); MessageBox.Show("sentencia:\n " + sentencia); obj.recibeParametro(sentencia); this.Close(); }