public void btn_Click(object sender, EventArgs e)
        {
            Button addnewGroup = (Button)sender;
            int tag = Convert.ToInt16(addnewGroup.Tag);
            frmRoleAdd frmGroupAdd = new frmRoleAdd(tag);
            if (frmGroupAdd.ShowDialog() == DialogResult.OK)
            {
                flpPermission.Controls.Clear();
                addUcPermission(tag);
                addButton(tag);

            }
        }
Beispiel #2
0
        public void btn_Click(object sender, EventArgs e)
        {
            Button     addnewGroup = (Button)sender;
            int        tag         = Convert.ToInt16(addnewGroup.Tag);
            frmRoleAdd frmGroupAdd = new frmRoleAdd(tag);

            if (frmGroupAdd.ShowDialog() == DialogResult.OK)
            {
                flpPermission.Controls.Clear();
                addUcPermission(tag);
                addButton(tag);
            }
        }