Exemplo n.º 1
0
        private void btnNewRole_Click(object sender, EventArgs e)
        {
            RoleEditorForm editor = Bootstrapper.Resolve <RoleEditorForm>();

            editor.ShowDialog(this);

            btnSearch.PerformClick();
        }
Exemplo n.º 2
0
        private void cmsEditData_Click(object sender, EventArgs e)
        {
            if (_selectedRole != null)
            {
                RoleEditorForm editor = Bootstrapper.Resolve <RoleEditorForm>();
                editor.SelectedRole = _selectedRole;
                editor.ShowDialog(this);

                btnSearch.PerformClick();
            }
        }