public ActionResult Index(RegistroUser model) { if (ModelState.IsValid) { } return(View(model)); }
// GET: Registro public ActionResult Index() { ViewBag.Title = "Registro"; ViewBag.Message = "Your application description page."; RegistroUser model = new RegistroUser(); return(View(model)); }
public AltaEmpresa(ABMEmpresa empre, bool vieneDeEmpresa, RegistroUser regUser) { deEmpresa = vieneDeEmpresa; if (deEmpresa) { ante = empre; } else { reg = regUser; } InitializeComponent(); }
public AltaCliente(RegistroUser reg, bool algo, ABMCliente anterior, bool esABMCliente) { esCliente = esABMCliente; if (esABMCliente) { ant = anterior; } esRegistro = algo; if (esRegistro) { registro = reg; } InitializeComponent(); // usuario = usuarioRecibido; }
//BOTON REGISTRAR private void button3_Click(object sender, EventArgs e) { RegistroUser a = new RegistroUser(this); a.Show(); }
//boton REGISTRAR private void botonRegistrar_Click(object sender, EventArgs e) { RegistroUser reg = new RegistroUser(); reg.Show(); }