Exemplo n.º 1
0
        private void Nuevo_Button_Click(object sender, EventArgs e)
        {
            Rol           rolNuevo   = new Rol(Convert.ToInt64(tablaRoles.RowCount), "", true);
            EditorDeRoles editorForm = new EditorDeRoles(rolNuevo, false, this);

            editorForm.ShowDialog();
        }
Exemplo n.º 2
0
        private void Modificar_Button_Click(object sender, EventArgs e)
        {
            EditorDeRoles editorForm = new EditorDeRoles(rolSeleccionado, true, this);

            editorForm.ShowDialog();
        }