Пример #1
0
 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);
     }
 }
Пример #2
0
 public Principal(Funcionalidades fun, string rol)
 {
     this.fun = fun;
     this.rol = rol;
     InitializeComponent();
 }
Пример #3
0
        private void button1_Click(object sender, EventArgs e) // Dar rol de alta
        {
            Funcionalidades form = new Funcionalidades(0, 0, "");

            form.Show();
        }
Пример #4
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            Funcionalidades form = new Funcionalidades(0, 0, "");

            form.Show();
        }