private void button9_Click(object sender, EventArgs e) // Ver funcionalidades del Rol { try{ Funcionalidades form = new Funcionalidades(1, getRolId(), getRolNombre()); form.Show(); } catch (Exception a) { MessageBox.Show(a.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public Principal(Funcionalidades fun, string rol) { this.fun = fun; this.rol = rol; InitializeComponent(); }
private void button1_Click(object sender, EventArgs e) // Dar rol de alta { Funcionalidades form = new Funcionalidades(0, 0, ""); form.Show(); }
private void button1_Click_1(object sender, EventArgs e) { Funcionalidades form = new Funcionalidades(0, 0, ""); form.Show(); }